Add mailer.conf example for ssmtp.

Sponsored by:	iXsystems
This commit is contained in:
Dru Lavigne 2014-05-13 15:49:59 +00:00
parent 19fab8ec8f
commit 35a308a524
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44820

View file

@ -716,6 +716,20 @@ send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail</programlisting> newaliases /usr/local/sbin/sendmail</programlisting>
<para>If the installation of the <acronym>MTA</acronym> does
not automatically update
<filename>/etc/mail/mailer.conf</filename>, edit this file in
a text editor so that it points to the new binaries. This
example points to the binaries installed by
<package>mail/ssmtp</package>:</para>
<programlisting>sendmail /usr/local/sbin/ssmtp
send-mail /usr/local/sbin/ssmtp
mailq /usr/libexec/sendmail/sendmail
newaliases /usr/libexec/sendmail/sendmail
hoststat /usr/libexec/sendmail/sendmail
purgestat /usr/libexec/sendmail/sendmail</programlisting>
<para>Once everything is configured, it is recommended to reboot <para>Once everything is configured, it is recommended to reboot
the system. Rebooting provides the opportunity to ensure that the system. Rebooting provides the opportunity to ensure that
the system is correctly configured to start the new the system is correctly configured to start the new