On 2023-11-17 Колесников Александр wrote: > I added in main.cf options > > local_header_rewrite_clients= > mynetworks= > > master.cf > 192.168.250.35:27 inet n - n - - smtpd > > instead of 127.0.0.1:27 > > and I'm trying to connect from another host. It didn't help
"It didn't help" is not a valid problem description. Please remove the two lines you added to main.cf and reload the Postfix configuration. Then re-try the telnet connection from the other host. Double-check that the IP address of that other host is not within the range(s) listed by `postconf mynetworks`. If a localpart-only sender address still is accepted: show the output of `postconf -n` and `postconf -M` as well as the transcript of the `telnet` dialog. Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org