Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2024 20:46:50 -0700
From:      Bob Proulx <bob@proulx.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Name resolution in FreeBSD/Postfix
Message-ID:  <20241105204320325210482@bob.proulx.com>
In-Reply-To: <e20685c6-b3d6-4450-b16e-5977b4382b3a@quillandmouse.com>
References:  <30b4b3ca-1872-480a-93bb-f0c85908515f@quillandmouse.com> <CAFbbPuhnuoEucbzMJhfmUCFYfZSTXse8dUOJvYxvSEPaX67xyg@mail.gmail.com> <e20685c6-b3d6-4450-b16e-5977b4382b3a@quillandmouse.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241105204320325210482>