Internet Email Protocols: A Developer's Guide

(Each chapter concludes with a Summary.) List of Figures. List of Tables. Preface. Acknowledgments. 1. Overview. The View from 10,000 Feet. Mail Transfer Agents. Mail Delivery Agents. Mail User Agents. The Standards. The Standards Process. Augmented Backus-Naur Form. A Brief History of Internet Email. 2. Mail Messages. The Message. The Body. The Header. Inside Fields. Whitespace. Atoms. Comments. Quoting. Field Folding. Case Sensitivity. Backspaces. Standard Fields. Originator Fields. Receiver Fields. Reference Fields. Trace Fields. Resent Fields. Other Fields. Extension Fields. Nonstandard Fields. Some Examples. A Simple Message. Redistributing. Forwarding. Replying. Email Addresses. Mailboxes. Group Lists. Received Fields. Field Elements. Comments. Machine Parsing. Diagnosing Problems. Date-Time Fields. 3. Mail Transport. Interface Model. Commands and Replies. SMTP Sessions. Protocol States. Standard Commands. Quit. Help. Noop. Verify. Expand. Hello. Mail From. Recipient. Data. Reset. Send. Send or Mail. Send and Mail. Turnaround. Local Extension Commands. Mail Transactions. Mailing. Relaying. Forwarding. Operational Considerations. Protocol Nonconformance. Reliability and Responsibility. Queuing. Sending. Receiving. Timeouts. Bounces. Loop Detection. Security. Message Submission. SMTP Extensions. Message Size Declaration. Command Pipelining. 8-bit MIME Transport. Remote Message Queue Starting. Enhanced Status Codes. Delivery Status Notifications. LMTP. 4. MIME. Predecessors to MIME. Overview of MIME. MIME Headers. MIME-Version. Content-Type. Content-Transfer-Encoding. Content-ID. Content-Description. Content-Disposition. Content-MD5. Content-Language. MIME Extension Fields. MIME Media Types. Text. Image, Audio, and Video. Application. Message. Multipart. Other Media Types. Message Header Extensions. Charsets. Encoding. Using Encoding. Mailcap Files. General Syntax. Fields. Flags. 5. POP. Interface Model. Commands and Replies. Protocol States. Standard Commands. User. Password. APOP. Quit. No Operation. Status. List. Retrieve. Top. Delete. Reset. Unique-ID Listing. Example POP Dialogs. Basic Dialog. Maildrop Summary. Keeping Recent Messages on the Server. POP Extensions. Extended Service Offerings. POP3 Extension Mechanism. 6. IMAP. Interface Model. Protocol States. Commands and Responses. Status Responses. Server Data. Command Continuation Request Responses. More on Multiple Pending Commands. Data Objects. NIL. Atoms. Quoted Strings. Literals. Parenthesized Lists. Mailbox Names. Internal Date. Size. Message Numbers. Unique Identifiers. Message Flags. Envelope Structure. Body Structure. Standard Commands. Capability. Noop. Logout. Login. Authenticate. List. Create. Delete. Rename. Status. Select. Examine. Close. Subscribe. Unsubscribe. Lsub. Copy. Append. Check. Search. Fetch. Store. Expunge. UID. Experimental Commands. Example IMAP Dialogs. Replacing POP. Folder Summary. IMAP Extensions. Nonsynchronizing Literals. Idle. Namespace. Access Control Lists. 7. Filtering. A Model for Filtering. Available Inputs. Condition Matching. Filter Actions. Filtering in Mail Agents. MTA Filtering. MDA Filtering. MUA Filtering. Basic Filtering. Simple Personal Filtering. Vacation. Email Robots. Unsolicited Email. Relaying. Known Offenders. Originator and Recipient Fields. Field Contents. Telltale Fields. Header Errors. Message Bodies. Opt-Out Lists. Whitelists. Prevention. Advanced Filtering. Scoring. Collaborative Filtering. Dynamic Email Addresses. 8. Mailing List Processing. Precursors to Mailing Lists. Personal Address Lists. Group Lists. MTA Alias Lists. Basic List Processing. Exploders. Advanced List Processing. Bounce Handling. Administrative Commands. Digests. Archives. Distributed List Processors. 9. Security. Security Issues. Eavesdropping. Impersonation. Denial of Service Attacks. System Integrity. Core Security Technologies. Pseudo-Random Number Generation. Cryptographic Hash Functions. Symmetric Encryption. Asymmetric Encryption. ElGamal. Security Services. CRAM. OTP. Kerberos. GSS-API. OpenPGP. Security Frameworks. TLS. SASL. Protocol Security Extensions. IMAP Extensions. POP Extensions. SMTP Extensions. MIME Security. Security Multiparts. PGP. S/MIME. Anonymous Remailers. Appendices. A - Example Folder Formats. B - UNIX Folder Locking. C - Programming Languages. D - IMSP. E - ACAP. F - LDAP. Acronyms. Index. 0201432889T04062001