Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Enable the postfix access file UNIX
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 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).
  • Currently 2.75 / 5
  You rated: 5 / 5 (8 votes cast)

10.3: Enable the postfix access file | 1 comments | Create New Account
Click here to return to the '10.3: Enable the postfix access file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Enable the postfix access file
Authored by: thanis on Dec 03, '03 06:35:07PM

There are a lot of other features that can be added to postfix configuration in order to reduce / prevent spam. A good site for relevant instructions is

You might also want to look up a few RHSBLs instead of using access files. Access files are by nature static, whereas an RHSBL can offer the same functionality (block mail by domain name) but as they are based on DNS zones, you'll be able to take advantage of immediate updates that are made to the zone on all your servers.

[ Reply to This | # ]