Topic: Tip: Starting, Stopping and Restarting Sendmail

To manage Sendmail you should login as root or using sudo. Go to Sendmail's directory /etc/mail and run appropriate make command:

Starting Sendmail:

# cd /etc/mail
# make start

Stopping Sendmail

# cd /etc/mail
# make stop

Restarting Sendmail

# cd /etc/mail
# make restart

To get sendmail to rebuild aliases, the virtual user table and other stuff, run make on its own like so:

# cd /etc/mail
# make

After running "make" on its own, sendmail automatically reads all the files so you shouldn't need to restart sendmail yourself at this point.

Don't forget to enable Sendmail daemon in /etc/rc.conf: