Chapter 12. Mail Security

This chapter will examine security issues inherent in Simple Mail Transfer Protocol (SMTP) and in sendmail, the world's most popular mail transport agent. It will also look at Qmail, a sendmail replacement that offers substantial security advantages over the traditional sendmail configuration supplied with most Linux installations.

SMTP Servers and Clients

The most widely used email transport protocol today is the Simple Mail Transfer Protocol (SMTP). Each day, SMTP is used to transfer millions of email messages to destinations around the globe.

SMTP servers work with a limited ruleset:

  1. Accept an incoming message.

  2. Check the message's addresses.

  3. If they're local addresses, store the message for retrieval.

  4. If they're remote addresses, ...

Get Maximum Linux Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.