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 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).
    •    
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[13,376 views]  

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 http://www.securitysage.com/guides/postfix_uce.html

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 | # ]