Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 15:27:10 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD?
Message-ID:  <20135884-9845-f562-f06d-978057eb6ce8@netfence.it>
In-Reply-To: <rtkafk$mp8$1@ciao.gmane.io>
References:  <rtkafk$mp8$1@ciao.gmane.io>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/12/21 3:07 PM, Ottavio Caruso via freebsd-questions wrote:

> According to [2], it seems I have to edit sendmail.cf;

Where does that page say this?
I don't see any reference to sendmail.cf there.
Anyway, manually editing cf files was the way to go (and go mad :) a 
long time ago.
Now you edit ".mc"s and generate ".cf"s from those.




> 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.

The first time you issue "cd /etc/mail ; make", it will generate 
{hostname}.cf, {hostname}.mc, {hostname}.submit.cf and {hostname}.submit.mc.
You can then edit the two .mc files and issue "cd /etc/mail ; make install".

  bye
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20135884-9845-f562-f06d-978057eb6ce8>