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 Regards, Alexander P.S. sorry for the top quoting, I can't configure the browser to send a response from the outlook.com site ________________________________________ От: Ansgar Wiechers via Postfix-users <[email protected]> Отправлено: 17 ноября 2023 г. 16:16 Кому: [email protected] Тема: [pfx] Re: check sender trouble On 2023-11-17 Колесников Александр via Postfix-users wrote: > Thank you very much for the clarification. I added in main.cf options > > append_at_myorigin=no > append_dot_mydomain=no AFAIK those are for outbound mails, not for inbound. > but it didn't help. How to configure postfix so that it does not > accept messages from addresses without a domain part? The restriction reject_non_fqdn_sender should already take care of that. However, in your test you're connecting from localhost, which is by default in $mynetworks and thus whitelisted. Try connecting from outside $mynetworks and you should see a response like 504 5.5.2 <w.w>: Sender address rejected: need fully-qualified address Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected] _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
