Configuring Basic E-mail Services with Sendmail

FreeBSD comes with Sendmail installed and already configured to serve basic e-mail 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.

You can decide to replace Sendmail with another MTA, such as Postfix or Qmail; we'll ...

Get FreeBSD® Unleashed 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.