Re: Name resolution in FreeBSD/Postfix

From: Paul M. Foster <paulf_at_quillandmouse.com>
Date: Wed, 06 Nov 2024 16:10:36 UTC
On 11/5/24 14:25, Odhiambo Washington wrote:
>
>     Contents of /usr/local/etc/mail/mailer.conf:
>
>     ===
>     sendmail /usr/local/sbin/sendmail
>     send-mail /usr/local/sbin/sendmail
>     mailq /usr/local/sbin/sendmail
>     newaliases /usr/local/sbin/sendmail
>
>
> That should be the end of mailer.conf!
>
>
>     myhostname = banzai
>     mydomain = mars.lan
>     mydestination = $myhostname, localhost.$mydomain, localhost
>     inet_interfaces = $myhostname, localhost
>     mynetworks_style = hosts
>     default_transport = error: outside mail is not deliverable
>
>
> Postfix reads /usr/local/etc/postfix/main.conf and other files in that 
> directory. You should read more about Postfix.
> I doubt it cares about mailer.conf.
> Those config params up there should me in main.conf for them to make 
> sense to Postfix.
>
Yes, I've found that out. The text at the end of installing postfix only 
mentioned mailer.conf, so I assumed that was the main config. A little 
more research, and I found that postfix uses /usr/local/etc/postfix for 
its configs, not /usr/local/etc/mail.

Paul


-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster