Procmail Filtering: Difference between revisions

From XMission Wiki
Jump to navigation Jump to search
Mfrazier (talk | contribs)
mNo edit summary
Cyeates (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{archived}}
<pre>
<pre>
# Delete messages with scores high enough to be marked as spam.  
# Delete messages with scores high enough to be marked as spam.  
Line 17: Line 16:
</pre>
</pre>


[[Category:Spam]]


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




{{footer}}
[[Category:XMission Email Archives|Procmail Filtering]]
[[Category:XMission Email Archives|Procmail Filtering]]

Latest revision as of 10:11, 12 May 2009

# 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