Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD?
Ottavio Caruso
ottavio2006-usenet2012 at yahoo.com
Tue Jan 12 14:13:58 UTC 2021
Hi,
For educational purposes [1], I have to answer the question: "Configure
Sendmail [...] to use a relay for outgoing mail.
It has be sendmail and not a substitute smtp client such as ssmtp or
similar.
According to [2], it seems I have to edit sendmail.cf; however.
according to an older post on this list [3], one would have to run
"make" in /etc/mail and then edit the generated file, presumably
`hostname`.mc.
On IRC (freenode/#freebsd), I have been told that I can edit any .mc
files, then run "make" and that will generate an .cf file. For example
freebsd.mc >> freebsd.cf.
So, I am basically confused and I wonder if there is a canonical way to
do that on FreeBSD.
Thanks.
[1]
https://wiki.lpi.org/wiki/BSD_Specialist_Objectives_V1.0#713.5_Mail_Transfer_Agents_.28MTA.29_Basics_.28weight:_1.29
[2] https://www.freebsd.org/doc/handbook/outgoing-only.html
[3]
https://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035329.html
--
Ottavio Caruso
More information about the freebsd-questions
mailing list