View Single Post
  #2  
Old 12th May 2005, 18:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Here's a small introduction on Postfix header (and body) checks:
http://www.postfix.org/header_checks.5.html

Basically you have to do something like this:
Code:
postconf -e 'header_checks = regexp:/etc/postfix/header_checks'
Now create the file /etc/postfix/header_checks and put something like this into it:
Code:
/^X-Spam-Level: \*{15,}.*/      DISCARD
DISCARD will delete all messages with a spam score of 15 and above. You can choose another action than DISCARD, they are listed in the link I posted at the beginning.

Finally, restart Postfix:
Code:
/etc/init.d/postfix restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote