What is sendmail?
What is the name of processing method that sendmail uses?
Describe the processing method of sendmail.
What do aliases do?
They link recipient envelope address to a local user or action.
Where is the aliases found? And what is the syntax used for programs, files and users?
In a folder called /etc/aliases.
The normal syntax is as follows:
UserName :
What is the issue with the aliases file and how is this overcome? What command must be run to make changes work?
The issue with the file is that it can become very large and therefore traversing using linear search will take up a lot of time (order N)
Instead a hashed version can be created alongside original plain text version. Any changes that are made to plain text must have command ‘newaliases’ run to commit them to hashed version.
How can a user that is not root have an alias file and what is the danger of using one and how do you overcome this danger?
Where are the config files for ‘sendmail’ found and describe its contents?
/etc/mail
Describe structure of sendmail.mc file.
What is masquerading and why is it an issue? Also what command is used to implement it?
What is relaying and the issue associated with it? Where is the file for relaying stored?
What is virtual hosting (receiving) and what is the issue with it? Also what is the command used for this process as well as the file location?
What is virtual hosting (sending) and what is the issue with it? Also where is the file for this stored and the command used to implement it?
How can you fight spam and how does this process work?
Use an SPF (Security Policy Framework)
MTA does a DNS look-up on source email address looking for a TXT record.
If it finds one starting with v=spf1, then additional checks are carried out.
If checks are not satisfied then action after ~ or - is carried out.
The ‘a’ indicates that if there is an ‘A’ record for the domain that can be accepted as well.
In aliases where would you direct emails for a user who is no longer apart of the organisation? (Delete emails using alias)
In the aliases file you would put /dev/null.