I was trying to use the /etc/postfix/access file to block email from certain domains, but it didn't seem to be working. I found that the main.cf configuration file needs the following line added:
smtpd_sender_restrictions=check_sender_access hash:/etc/postfix/access
Restart postfix. Now any changes to the access file will be recognized (after running the postmap hash utility as documented in the access file comments).
•
[13,549 views]

