How a mail server works
I had originally written this tutorial for xmodulo.com Email service is one of the most often used services globally. Today almost everyone has at least one email account. Although clicking on the email send button and delivery of an email message appear seamless, a lot of events take place behind the scenes to make sure that the email reaches its final destination. The functionality of a mail server can be divided broadly into two processes: sending and receiving emails. The following two protocols oversee these processes. Sending email: Simple Mail Transfer Protocol (SMTP) Receiving email: Post Office Protocol (POP) / Internet Message Access Protocol (IMAP) Terminology The following terminology is important in understanding the operation of a mail server. Mail User Agent (MUA): The MUA is a component which interacts with end users directly. Examples of MUA are Thunderbird, MS Outlook, Zimbra Desktop. Web mail interfaces like Gmail and Yahoo! are also M...