Basic Sendmail Configuration

FreeBSD comes with Sendmail installed and already configured to serve basic email needs right out of the box. All you have to do to enable Sendmail (so that it starts at boot time) is add the following line to /etc/rc.conf:

						sendmail_enable="YES"
					

Once the system is up and running, you can send a message to anyone on the Internet, and they can send one to you—provided that you have a few things set up properly. For the most part, these aren't configuration items for Sendmail itself, but for the system in general—Sendmail relies on the system to have a few guarantees in place before it will operate without a hitch.

Sendmail File Layout

There are three places in the system that concern Sendmail:

  • /etc/mail— Configuration ...

Get Sams Teach Yourself FreeBSD® in 24 Hours 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.