On 3/28/2024 6:39 AM, Samuel Goodies via Postfix-users wrote:
Ok, I got it installed and running, but any mail from the server to
be relayed gets this error.
--> DATA
<-- 530 5.7.0 Authentication required
--> QUIT
So far I've chosen Internet Site as my Debian configuration when the package
installed.
I added my main domain name, though this postfix box will pass mail for several
other domains as well.
I edited /etc/postfix/main.cf
Under mynetworks I added my firewalled mail server's IP address of 4.4.4.4 (the
real one though, not that)
mynetworks = 127.0.0.0/8 4.4.4.4 [::ffff:127.0.0.0]/104 [::1]/128
Then I restarted with systemctl restart postfix
Finally, I added it as my smarthost, but the error above occurs. I thought that
adding my server's IP to the mynetworks line would authenticate, but I think I
misunderstood.
Can someone point me to where I messed up?
Thanks!
My best guess from the bits you've provided is you're sending to
port 465 or 587 on your smarthost, and those ports require AUTH.
If that's the right guess, the solution is to add permit_mynetworks
to the master.cf entry for whichever service you're trying to use.
But really we're still just guessing because you have still not
adequately described what you're doing, what you've changed, what
the error is, and where the error occurs.
If you're tired of guesses from random list members who are trying
to help, please see
http://www.postfix.org/DEBUG_README.html#mail
-- Noel Jones
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org