If you can see this check that

Main Page

Basic Sendmail Administration


Sendmail configuration

User:
Password:
This tutorial takes you through the basics of sendmail and mail configutation.

Question 1: Setup sendmail scenario

Click the button below to set up the sendmail scenario.

Tests - not attempted
/etc/mail is ok UNTESTED
/etc/mail files exist UNTESTED
Add iain UNTESTED

Question 2: Aliases

Add an alias so that all email going to local user jim will instead go to local user frank.

Tests - not attempted
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 - not attempted
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 - not attempted
Alias text inserted UNTESTED
Alias db valid UNTESTED

Question 3: virtual hosts

Arrange sendmail so that if mail arrives for jim@null.com, it gets sent to the local user frank.

Tests - not attempted
Entry found UNTESTED

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

Tests - not attempted
Old Entry found UNTESTED
New Entry found 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.

Tests - not attempted
Frank sends ok UNTESTED
Adam sends ok 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.

Tests - not attempted
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 - not attempted
spf ok UNTESTED


Linux tutorials: intro1 intro2 wildcard permission pipe vi essential admin net SELinux1 SELinux2 fwall DNS diag Apache1 Apache2 Mail
Caine 6.0: Essentials | Basic | Search | SysIntro | 5a | 5b | 5c | 6 | 7a | 7b | 8a | 8b | WebBrowserA | WebBrowserB | Registry | Browser
Digital Investigation: Editing | Email | Logs | Strength
Kali: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7a | 8a | 8b | 9 | 10 |
Useful: Quiz | Forums | Privacy Policy | Terms and Conditions
Site Links:XMLZoo ActiveSQL ProgZoo SQLZoo

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