Often referred to as simply “mail server”, an e-mail server is a computer within your network that works as your virtual post office. A mail server usually consists of a storage area where where e-mail is stored for local users, a set of user definable rules which determine how the mail server should react to the destination of a specific message, a database of user accounts that the mail server recognizes and will deal with locally, and communications modules which are the components that actually handle the transfer of messages to and from other mail servers and email clients.
An email client or email pr allows a user to send and receive email by communicating with mail servers. There are many types of email clients with differing features, but they all handle email messages and mail servers in the same basic way.
When an email message is sent, the email program contacts the author’s ISP mail server to pass it the message. The mail server is normally namedmail.[isp].com or it might be named after the Send Mail Transfer Protocol, smtp.[isp].com. The mail server scans the message’s imbedded headers for addressing information. These headers are not usually visible in an email client unless the user configures the program to show the headers, but critical information is contained here.
The email message is sent along to the address, which might involve being passed through several routers. (In actuality it is divided into discreet data packets and reassembled on the receiving end.) Routers are computers that receive network data and re-route it through the shortest possible path. Assuming nothing goes wrong, the email will reach its destination within seconds or minutes of being sent.
Once the receiving mail server has the mail, it stores it in a virtual mailbox. The mail will stay here until the addressee uses his or her email client to check for new mail. When doing so, the email program contacts the receiving mail server, sometimes called a POP3 mail server (for Post Office Protocol 3) as in pop3.[isp].com, or simply mail.[isp].com. When the email program asks the mail server for mail, it checks for any messages addressed to that user. If found, the mail server transfers the messages to the client as requested. Mail servers located on public websites work in the same basic manner as ISP mail servers.
Due to large amounts of unsolicited email called spam, some mail servers are configured to block certain sets of IP addresses from which spam has been received. An IP (Internet Protocol) address is a unique numerical address, different from the “reply address” which is often faked in spam messages. Spam filters, as they are called, can operate at the level of the email server and also within an email program that offers a similar feature. Email programs can also filter mail into folders as it is received, and will normally send a command to the mail server to delete collected messages from the server once received.
Mail servers commonly also have filters that will block users from sending large amounts of duplicate mail messages to multiple addresses in another effort to curb spam. Mailing lists are the exception, and operate with different software that identifies the traffic as legitimate. To get around spam blockers on mail servers, some people attempt to install mail servers on their own computers. Many ISPs consider this a breach of contract, as often stated in the Terms Of Service agreement. Commercial mail servers also employ virus and trojan filters.