i am having issue blocking a particular email address via postfix 2.10.
I am using the following:
cat /etc/postfix/sender_access email@example.com REJECT postmap hash:/etc/postfix/sender_access
Following config in: /etc/postfix/main.cf
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access
Also i have a relayhost configured.
But emails are not being blocked.
On RHEL6, the same configs work but RHEL7 does not work.
Appreciate assistance on it.