Date: Wed, 25 May 2016 11:40:57 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-ports@freebsd.org Subject: Re: mail/ssmtp: mailer.conf instruction in handbook differs from pkg-message Message-ID: <4dc4b9ce-0cc9-ea88-0339-3eecb0a1f2af@gjunka.com> In-Reply-To: <20160525125702.21cee03d@mephala.kappastar.com> References: <20160525125702.21cee03d@mephala.kappastar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
/usr/libexec is for the sendmail that is in the base. If you installed from ports then this is what works for me: sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail hoststat /usr/local/sbin/sendmail purgestat /usr/local/sbin/sendmail Grzegorz On 25/05/2016 10:57, Marko Cupać wrote: > Hi, > > I have recently changed MTA on some hosts to mail/ssmtp, following > instruction from handbook: > > [https://www.freebsd.org/doc/handbook/mail-changingmta.html] > > Handbook instructs to put the following lines in mailer.conf: > > 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 > > However, pkg-message of mail/ssmtp gives different instruction: > > ssmtp-2.64_1: > Always: > sSMTP has been installed successfully. > > To replace sendmail with ssmtp type "make replace" or change > your /etc/mail/mailer.conf to: > > sendmail /usr/local/sbin/ssmtp > send-mail /usr/local/sbin/ssmtp > mailq /usr/local/sbin/ssmtp > newaliases /usr/local/sbin/ssmtp > hoststat /usr/bin/true > purgestat /usr/bin/true > > Are they both correct, or one of them needs to be updated? > > Regards,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4dc4b9ce-0cc9-ea88-0339-3eecb0a1f2af>