Hi,

I thought I understood how to block a specific domain from being able
to send mail to users on my server, but I must be doing something
wrong. In main.cf I have:

check_sender_access hash:/etc/postfix/sender_access,
check_client_access hash:/etc/postfix/client_access

among others, in the smtpd_recipient_restrictions section. In
client_access I have the domains that should be allowed:

mail.mydomain.com OK

In sender_access I have a list that should be blocked:

.domain1.com REJECT
.domain2.com REJECT

I've regenerated the postmap and reloaded postfix, but the mail still
comes through. What am I missing?

Maybe I don't understand the difference between check_client_access
and check_sender_access.

Thanks,
Alex

Reply via email to