Date: Tue, 12 Jan 2021 14:07:48 +0000 From: Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> To: freebsd-questions@freebsd.org Subject: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Message-ID: <rtkafk$mp8$1@ciao.gmane.io>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rtkafk$mp8$1>