10.3: Enable the postfix access file

Dec 01, '03 10:27:00AM

Contributed by: Anonymous

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).

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20031124151717819