Professional Documents
Culture Documents
w05 Mail
w05 Mail
Goals
MUA MAA
pine Get imap/pop
The MTA parses the “To:” address, and does a DNS query for a
MX record to find the remote host’s MTA.
– If contact succeeds, the MTA transfers the mail using SMTP
– If contact fails, the MTA retries for some finite period of time.
– Relay MTAs repeat this process until the message reaches
the destination MTA
• In order to control spam, ISPs are blocking outbound traffic
destined for TCP port 25 from all but a few recognised systems
• Thus if you want to use a mail server outside of the ISPs
network you need to use port 587 to communicate with it and
then have it send email to the world on your behalf.
Module Code and Module Title Title of Slides
Electronic Mail Overview – SMTP
smtp
587 MTA smtp MTA MAA
(initial) 25 (isp) imap/pop
MSA
(local)
MDA Message
MDA
(LDA) fetchmail
Spool Get
Send
MUA MAA
pine Get imap/pop
16 rulesets
15 macros
9 m4 diversions (subroutines)
• dovecot:
About 150 defaults plus (2*7) database options
Now if you check your email you will notice an email from "TheBoss"
and you'll see how easy it is to spoof an email.
For more examples using telnet, see the dovecot documentation
TestInstallation.txt
tail /var/log/maillog
• SMTP and POP3 communications
• IP address and time stamp
– Make sure no errors have been reported
• Make sure you created a mail inbox in /var/mail
• Make sure mail is being placed in user /var/mail/username
• check the mail queue