I am trying to block our users from sending emails to specific subdomains.
So in /etc/main.cf
smtpd_recipient_restrictions =
check_recipient_access
hash:/etc/postfix/blockr
in /etc/postfix/blockr
domain.com REJECT sorry, blocked.
.domain.com REJECT sorry, blocked.
But postfix blocks only incase email are sent to domain.com , but it accepts
emails for subdomain ".domain". so why it is not working ?
How can I enforce postfix to block also the subdomain for the recipient
address ?
Thanks.
Hanna
