Chapter 28. Electronic Mail

Original work by Bill Lloyd.
Rewritten by Jim Mock.
Table of Contents
28.1. Synopsis
28.2. Mail Components
28.3. Sendmail Configuration Files
28.4. Changing the Mail Transfer Agent
28.5. Troubleshooting
28.6. Advanced Topics
28.7. Setting Up to Send Only
28.8. Using Mail with a Dialup Connection
28.9. SMTP Authentication
28.10. Mail User Agents
28.11. Using fetchmail
28.12. Using procmail

28.1. Synopsis

Electronic Mail, better known as email, is one of the most widely used forms of communication today. This chapter provides a basic introduction to running a mail server on FreeBSD, as well as an introduction to sending and receiving email using FreeBSD. For more complete coverage of this subject, refer to the books listed in Appendix B, Bibliography.

After reading this chapter, you will know:

  • Which software components are involved in sending and receiving electronic mail.

  • Where basic sendmail configuration files are located in FreeBSD.

  • The difference between remote and local mailboxes.

  • How to block spammers from illegally using a mail server as a relay.

  • How to install and configure an alternate Mail Transfer Agent, replacing sendmail.

  • How to troubleshoot common mail server problems.

  • How to set up the system to send mail only.

  • How to use mail with a dialup connection.

  • How to configure SMTP authentication for added security.

  • How to install and use a Mail User Agent, such as mutt, to send and receive email.

  • How to download mail from a remote POP or IMAP server.

  • How to automatically apply filters and rules to incoming email.

Before reading this chapter, you should:

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <[email protected]>.
Send questions about this document to <[email protected]>.