John W Mickevich schrieb:

Hi all,

I have what is probably a simple question. I know I have seen instructions on this before, but cannot locate them and was hoping someone could point me in the right direction.

I am using spamassassin with sendmail and am using .procmailrc to direct my incoming email to be sent to spamassassin for scoring.

What I want to do is move email tagged as spam to a specific linux folder, but I want it to be based upon the spamassassin score – not just the fact that spamassassin tagged it as spam.

I am sure I need a .procmailrc entry, but I don’t know what it would be.

Any assistance would be greatly appreciated.

Thanks!

John W Mickevich

Computer Management Technologies

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>



Hi , to the List


u can use with procmail $VAR a treshhold

VERBOSE=ON
# setting the level
#trash
TLVL="-10"
#quarantine
QLVL="-4"
#maybe spam MLVL="-2"
SL="0"

# counting stars

:0
* 1^1 ()^X-Spam-Level:[$WS]\/[*]
{ } SL = "$="

# with this you sort the mail in MBOX files

:0
* $ $SL^0 ^^^^
* $ $TLVL^0 ^^^^
/dev/null

:0
* $ $SL^0 ^^^^
* $ QLVL^0 ^^^^
/var/mail/quarantine

:0
* $ $SL^0 ^^^^
* $ MLVL^0 ^^^^
/var/mail/maybespam

#the rest let pass


Matthias








Reply via email to