Configuring Basic Email Services with Sendmail

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"

You can then reboot to enable the Sendmail server, or start it by typing

/etc/rc.d/sendmail start.

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

Get FreeBSD6 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.