logo Overview of Internet Mail

This overview explains the basic components of the internet e-mail system
E-mail Standards
Agents for Moving Messages
Storing Messages
Security Issues

E-mail Standards

The vast majority of e-mail consists of simple character data formatted according to the Internet Engineering Task Force (IETF)
RFC 822 standard and transmitted via the Simple Mail Transfer Protocol (SMTP) described in RFC 821. The character stream containing the message also contains the addressing data and the routing history of each message.

The major extensions to e-mail enabled it to contain more of the world's alphabets, encapsulate attachments, and permit multimedia files to be transmitted. Collectively, these are known as the MIME standards and are described in RFCs 2045-2049. Keep in mind that MIME encodes the arbitrary data as a sequence of ordinary characters using schemes such as Base64.

The SMTP design, which harkens from a simpler era, makes each message a self-contained morsel, but it's also the reason why spammers can be so successful. As the proposed update to SMTP explains in RFC 2821:

   Various protocol extensions and configuration options that provide
   authentication at the transport level (e.g., from an SMTP client to
   an SMTP server) improve somewhat on the traditional situation
   described above.  However, unless they are accompanied by careful
   handoffs of responsibility in a carefully-designed trust environment,
   they remain inherently weaker than end-to-end mechanisms which use
   digitally signed messages rather than depending on the integrity of
   the transport system.
Essentially, it isn't possible to stop junkmail without filtering given the present design.

Furthermore the MIME standards provide the basic mechanism whereby arbitrary binary data can be transmitted and malicious authors have been able to deceive some mail clients into decoding and executing programs which has made e-mail the main transmission vector for viruses.

However, the bottom line is that messages are simple flat character data and most of the mail system can be manipulated with ordinary editors and tools.


Mail Agents

The Internet Mail Model defines three logical agents which operate within the system and and a fourth type is now widespread:

Storing Messages

Collections of messages are stored in folders which fall into three major families:

Security Issues

There are several major areas of security with respect to mail traffic and they are linked in that we need encryption to safeguard authentication. Security of mail folders themselves is dependent on the file system and not considered here.


Last update: June 24, 2002 09:50:38 AM
© 1994-2013 Stanford Computer Graphics Laboratory