I'm running Postfix 2.11 and I'm having some issues with the
check_sender_access parameter. Currently my configuration for sender
restrictions is the following:
smtpd_sender_restrictions =
permit_mynetworks
check_sender_access hash:/etc/postfix/valid_senders
reject_unknown_sender_domain
reject_sender_login_mismatch
reject_unauth_pipelining
reject_non_fqdn_sender
permit
The /etc/postfix/valid_senders file has this content:
[email protected] REJECT
usuarios.atresplayer.com REJECT This domain doesn't wish to
receive more e-mails from you.
Evidently, it has been 'postmapped'. The fact is that currently any mail
sent from *@usuarios.atresplayer.com is being allowed. Relevant headers
from incoming mails are the following:
From: "ATRESMEDIA NEWS"
<[email protected]>
x-sender: <[email protected]>
I have made some other tests (for example, REJECTing my complete gmail
address) and the e-mail gets correctly rejected in that case. What could
be reason why that domain is not being rejected with the mentioned
configuration?
Thanks.