If you can see this check that

  • Javascript is enabled

Postfix configuration

To reset all the check buttons from a previous attempt click here

Question 1 Setup postfix scenario

Click the button below to set up the postfix scenario. This should create a user iain which is used in one of the questions.

Tests: Ready
 
Add iain UNTESTED

Question 2 Aliases

Add an alias to the mail email alias system so that all email going to local user jim will instead go to local user frank. Remember to rebuild the aliases.

Tests: Ready
 
Alias text inserted UNTESTED
Alias db valid UNTESTED

Add an alias so that all email going to local user bob will be silently deleted.

Tests: Ready
 
Alias text inserted UNTESTED
Alias db valid UNTESTED

Add an alias so that all email going to local user peter will be sent to both allan and zoe..

Tests: Ready
 
Alias text inserted UNTESTED
Alias db valid UNTESTED

Question 3 virtual hosts

Arrange postfix so that if mail arrives for jim@null.com, it gets sent to the local user frank. You need only configure the virtual file, but do remember to build the hash file.

Tests: Ready
 
Entry found UNTESTED
Entry found in hash UNTESTED

Keeping the previous rule for frank, make sure that all other email received for the null.com domain which is not jim@null.com gets delivered to local user adam.

Tests: Ready
 
Old Entry found UNTESTED
New Entry found UNTESTED
Entry found in hash UNTESTED

Continuing on from the previous rules, now create rules so that when frank SENDS emails, then appear to come from jim@null.com. Additionally, make sure that when adam sends emails, they appear to come from adam@null.com. Use the generic file. Only use local usernames without domains in the file for column 1.

Tests: Ready
 
Frank sends ok UNTESTED
Adam sends ok UNTESTED
Frank found in hash UNTESTED
Adam found in hash UNTESTED

Question 4 debug

User iain has complained that he is not receiving any email, and instead he has heard that victor and victoria are receiving his email instead. Fix this issue for iain so that only iain gets iain's email.

Tests: Ready
 
Problem fixed UNTESTED

Question 5 spf

What would be the entry needed in the DNS information to provide an spf entry so that only the ip 10.0.0.1 was allowed to send emails for the current SOA?

Make sure the rule only contains the settings as indicated above, and make sure that the rule is set with a hard fail. Use all lower case, and only put a single space character between the elements.

@TXT
Tests: Ready
 
spf ok UNTESTED

Alma 10 introPaths | BasicShell | Search
Alma 10 tutorials:intro1 | intro2 | wildcard | permission | pipe | vi | essential | admin | net | SELinux1 | SELinux2 | fwall | DNS | diag | Apache1 | Apache2 | log | Mail
Caine 10.0Essentials | Basic | Search | Acquisition | SysIntro | grep | MBR | GPT | FAT | NTFS | FRMeta | FRTools | Browser | Mock Exam
Caine 13.0Essentials | Basic | Search | Acquisition | SysIntro | grep | MBR | GPT | FAT | NTFS | FRMeta | FRTools | Browser | Registry | Mock Exam
Kali 2020-41a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7 | 8a | 8b | 9 | 10
Kali 2024-41a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7 | 8a | 8b | 9 | 10
UsefulPrivacy Policy | Terms and Conditions

Linuxzoo created by Gordon Russell.
@ Copyright 2004-2026 Edinburgh Napier University