Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2016 12:57:02 +0200
From:      Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs>
To:        freebsd-ports@FreeBSD.org
Subject:   mail/ssmtp: mailer.conf instruction in handbook differs from pkg-message
Message-ID:  <20160525125702.21cee03d@mephala.kappastar.com>

next in thread | raw e-mail | index | archive | help
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=20
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,
--=20
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupa=C4=87
https://www.mimar.rs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160525125702.21cee03d>