An email server is composed of many interlocking componants that must work in perfect harmony. To speak intellegently about these componants we must use the same language. Therefore, the following is a review of Email componant terms:
Mail Delivery Agent (MDA): Software that accepts incoming e-mail messages and distributes them to recipients' individual mailboxes (if the destination account is on the local machine), or forwards back to an SMTP server (if the destination is on a remote server). In many places also refered to as a 'Local Delivery Agent (LDA)'.Mail Transfer Agent (MTA): Software that transfers electronic mail messages from one computer to another, typically by SMTP. Also called a mail transport agent, mail server, or a mail exchange server in the context of the Domain Name System.Mailbox Server (MBS): Software used to access mailboxes on a mailstore from an MUA.Mail User Agent (MUA): Software used to read and send e-mail.Mail Submission Agent (MSA): Software which receives electronic mail messages from a mail user agent (MUA) and contacts an mail transfer agent (MTA) for delivery of the mail. This is a method of seperating the submition componant from the MTA to combat spam. Refer to RFC 2476 for official details. Submission Agents use port 587.[MUA] [MUA] | ^ V(MX) | [MTA] -> [MDA] -> [Mail Store] -> [MBS] | ^ V | [Filter]
In the above the following might be used:
Authentication and Encryption are separated in mail systems. For instance, in the case of an MTA SASL (Secure Authentication and Security Layer) is used for SMTP authentication (SMTP AUTH) but TLS (the successor to SSL) is used for encryption based on PKI certificates. In the case of IMAP authentication is built in but TLS is still used encrypt the session.
Cyrus SASL is the most common SASL implementation and plugins into a number of backend authentication repositories such as LDAP, SQL, or even IMAP.
* 25/tcp: SMTP * 109/tcp: POP2 * 110/tcp: POP3 * 143/tcp: IMAPv4 * 465/tcp: SMTP-SSL * 587/tcp & 587/udp: Submission * 993/tcp: IMAP-SSL
In a clean configuration:
LSD — might not linked to the correct page????