I have changed the $myhostname string and it still says it loops back to myself. Port 25 must be forwarded for incoming mail. Postfix isn't supposed to be listening to any ports. In fact, I only have smtpd enabled, and not smtp. This is very confusing. :(
Sent with Proton Mail secure email. On Friday, May 31st, 2024 at 2:45 AM, Viktor Dukhovni via Postfix-users <postfix-users@postfix.org> wrote: > On Fri, May 31, 2024 at 12:33:34AM +0000, Mailman29 via Postfix-users wrote: > > > Yeah, so even changing the domain name on the server (Ubuntu) itself > > doesn't fix the issue. It must be ip based. Since the proxy and > > Postfix share an IP address, Postfix will always think it's looping > > back to itself. Is that correct? > > > The Postfix SMTP client checks for its own IP address, and its own > hostname in the EHLO response only when relaying to port 25, on other > ports the loop checks are suppressed. > > If you must forward via port 25, you need to ensure that the remote IP > is not listed in "inet_interfaces" and the hostname in the remote EHLO > response is not the same as $myhostname. > > -- > Viktor. > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org