On Tuesday, September 23, 2003, at 15:33, you wrote: >> Not being Kyle Hasselbacher, I'll tell you how *I* do it. :) >> >> macro SPAM_DELIVER deliver=~/dave/Maildir/.spam/ >> # spam to the spam folder >> headers 'X-Spam-Level: \*\*\*\*\*' SPAM_DELIVER >> headers 'Subject: \*\*\*SPAM\*\*\*' SPAM_DELIVER
> Thanks for the input. Unfortunately, the above doesn't check the spam level > *value*, so that wouldn't work for me. I think you'll find it does although rounded up/down to the nearest integer. You can use successive headers checks to check a range of spam values. Something like (untested, not sure of regex): # drop all spam with a level 10+ headers 'X-Spam-Level: \*\*\*\*\*\*\*\*\*\*.*' drop # hold all spam above level 5, below 10 (header rule above deals # with level 10 and above remember) headers 'X-Spam-Level: \*\*\*\*\*.*' hold # confirm all spam above level 4, below 5 (header rules above deal # with levels 5 and above remember) headers 'X-Spam-Level: \*\*\*\*.*' confirm # let anything else through from * ok HTH Marcus -- Marcus Williams -- http://www.quintic.co.uk Quintic Ltd, 39 Newnham Road, Cambridge, UK _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
