Date: Tue, 5 Nov 2024 13:42:15 -0500 From: "Paul M. Foster" <paulf@quillandmouse.com> To: Paul Procacci <pprocacci@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Name resolution in FreeBSD/Postfix Message-ID: <e20685c6-b3d6-4450-b16e-5977b4382b3a@quillandmouse.com> In-Reply-To: <CAFbbPuhnuoEucbzMJhfmUCFYfZSTXse8dUOJvYxvSEPaX67xyg@mail.gmail.com> References: <30b4b3ca-1872-480a-93bb-f0c85908515f@quillandmouse.com> <CAFbbPuhnuoEucbzMJhfmUCFYfZSTXse8dUOJvYxvSEPaX67xyg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/5/24 12:08, Paul Procacci wrote: > On Tue, Nov 5, 2024 at 12:02 PM Paul M. Foster <paulf@quillandmouse.com> wrote: >> Folks: >> >> Trying to configure Postfix to route local mail (internet is later). >> During a telnet conversation with Postfix to send it mail for a local >> user, it chokes on paulf@localhost recipient, with a 451 4.3.0 error. >> This is my user, and it's in the /etc/passwd file. So I don't understand >> why it doesn't understand the recipient email address. And yes, >> localhost is 127.0.0.1 in the /etc/hosts file. >> >> Can anyone enlighten me? >> >> Paul >> >> ou should probably include your config. >> My guess is postfix needs to be told explicitly that localhost is a >> domain it's servicing yet hasn't been told that. >> >> ~Paul 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 === Paul -- Paul M. Foster Personal Blog: http://noferblatz.com Company Site: http://quillandmouse.com Software Projects: https://gitlab.com/paulmfoster
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e20685c6-b3d6-4450-b16e-5977b4382b3a>