How To Block Spam Before It Enters The Server (Postfix)
How To Block Spam Before It Enters The Server (Postfix)Version 1.0 The last few weeks have seen a dramatic increase in spam (once again). Estimates say that spam makes now up for 80 - 90% of all emails, and many mail servers have difficulties in managing the additional load caused by the latest spam, and spam filters such as SpamAssassin do not recognize large parts of that spam as they did before. Fortunately, we can block a big amount of that spam at the MTA level, for example by using blacklists, running tests on the sender and recipient domains, etc. An additional benefit of doing this is that it lowers the load on the mail servers because the (resource-hungry) spamfilters have to look at less emails. I do not issue any guarantee that this will work for you!
1 Preliminary NoteThis is just a quick guide showing you how you can configure Postfix (2.x and 1.x) to block spam before entering the server. It's more or less self-explanatory. However, after applying this to your own mail server, you should check the mail log to make sure that no legitmate mails are blocked. You should also take a look at this guide: http://www.howtoforge.com/virtual_postfix_antispam And this category: http://www.howtoforge.com/taxonomy_menu/1/78/24 has some more great anti-spam solutions.
2 Postfix 2.xOpen /etc/postfix/main.cf and place the following lines in it (replacing the respective settings if they exist): vi /etc/postfix/main.cf
Restart Postfix afterwards: /etc/init.d/postfix restart
3 Postfix 1.xOpen /etc/postfix/main.cf and place the following lines in it (replacing the respective settings if they exist): vi /etc/postfix/main.cf
Restart Postfix afterwards: /etc/init.d/postfix restart
4 More BlacklistsYou can find more DNS & RHS blackhole lists that you can add to your Postfix configuration here: http://spamlinks.net/filter-dnsbl-lists.htm
5 Links
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial







Recent comments
1 hour 47 min ago
3 hours 27 min ago
15 hours 40 min ago
17 hours 55 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 10 hours ago
1 day 13 hours ago
2 days 17 hours ago
2 days 17 hours ago