Dnia 28.03.2024 o godz. 06:39:47 Samuel Goodies via Postfix-users pisze:
> 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? 

The message says "authentication required", so it is possible that you set
up the sending server to connect to your Postfix smarthost on a port that
requires authentication (probably one of the submission ports, 465 or 587).
There's no point at all in having the submission services enabled on the
smarthost, as there is no authentication backend that can be used and no
mail users who can authenticate. So you should set your sending server to
send mail normally via port 25.

If your sending server already sends mail to port 25, it is possible that
you unnecessarily require authentication somewhere in smtpd_*_restrictions
settings before you process permit_mynetworks, so please post these parameters.
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to