i am having issue blocking a particular email address via postfix 2.10.
I am using the following:
cat /etc/postfix/sender_access firstname.lastname@example.org 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.