View Single Post
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,749 Times in 2,579 Posts

Here's a small introduction on Postfix header (and body) checks:

Basically you have to do something like this:
postconf -e 'header_checks = regexp:/etc/postfix/header_checks'
Now create the file /etc/postfix/header_checks and put something like this into it:
/^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:
/etc/init.d/postfix restart
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


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