Re: Name resolution in FreeBSD/Postfix
- In reply to: Paul M. Foster: "Re: Name resolution in FreeBSD/Postfix"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Nov 2024 03:46:50 UTC
Paul M. Foster 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
> 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
If all of that is in /usr/local/etc/mail/mailer.conf then that's the
wrong location for those later lines. The first four are okay.
sendmail /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail
> 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
Those lines don't belong in the mailer.conf file. Those are postfix
configuration and belong in the postfix main.cf configuration file.
Bob