[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Setting up a maybe_spam folder



At 6:01 PM -0500 2/5/04, Jim Smith wrote:
I tried to set my procmail file to sort email with a spam score up to 9 into
a maybe_spam folder and all other spam above 9 goes to the spam folder. I
tried the rule below and a few other guesses but nothing I tried worked. Can
someone give me the correct recipe to create a maybe_spam folder?
=================================
:0:
* ^X-Spam-Status: Yes, hits==\/[0-9]+
$HOME/maybe_spam

:0:
* ^X-Spam-Status: Yes
$HOME/spam
==================================

Thanks,

Jim Smith


Jim,

For this type of thing, I find it easier to just set up SA to set the X-Spam-Level header and filter using that. For example...


=================================

# Get the high scorers first
:0:
* ^X-Spam-Status: Yes
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*
$HOME/spam


# Then the low scorers
:0:
* ^X-Spam-Status: Yes
$HOME/maybe_spam

=================================

Or something to that effect.

Ric

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: