18.11.2023 17:32, Matus UHLAR -
fantomas via Postfix-users пишет:
On 18.11.23 07:30, Alexander Kolesnikov via Postfix-users wrote:
192.168.250.35:27 inet n - n - - smtpd -o syslog_name=postfix/$service_name -o smtpd_delay_reject=no -o smtpd_sender_restrictions=pcre:/etc/postfix/senders_cgp.pcre,reject_non_fqdn_sender,reject
telnet 192.168.250.35 27
Trying 192.168.250.35...
Connected to hak.vdk.ru.
Escape character is '^]'.
220 hak.vdk.ru ESMTP Postfix
mail from: w.w
250 2.1.0 Ok
rset
250 2.0.0 Ok
mail from: w@w
554 5.7.1 <w@w>: Sender address rejected: Access denied
I'm sorry, but I haven't fixed the problem. What do I need to do so
that the postfix does not accept messages with an incomplete sender
address (without the domain part)?
I guess you are trying to connect from 192.168.250.35 which is considered local: http://www.postfix.org/postconf.5.html#local_header_rewrite_clients
so the append_at_myorigin applies.
I have configured in main.cf
local_header_rewrite_clients = inline:{ 192.168.250.25=ok }
inet_interfaces = 127.0.0.1
and connected with a telnet from the address 192.168.250.14. And
the postfix still accepts messages from the sender without the
domain part.
Did I set up local_header_rewrite_clients and inet_interfaces correctly?
Regards, Alexander
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org