Difference between revisions of "Procmail Filtering"

From XMission Wiki
Jump to: navigation, search
(new page)
(No difference)

Revision as of 15:21, 28 July 2007

# Delete messages with scores high enough to be marked as spam. 
:0
* X-Spam-Flag: Yes
/dev/null

# Sort spam with SpamAssassin scores greater than or equal to 5
:0:
* ^X-Spam-Level: \*\*\*\*\**
spamassassin

# Delete spam with the SpamAssassin Spam-Status header at anything over 5
:0
* ^X-Spam-Status: .*, score=([5-9]\.|[0-9][0-9])
/dev/null

Needs a check on any systax that may have been broken during search and replace