[Declude.JunkMail] Customizing filters
I'm stumpted... How can I apply a weight system to the filter list? I am trying to create a word filter that will flag out Subject: Monday's Motivation from a certain user. Yet, be okay from another user using that subject. I am just testing the word monday's in the subject. Total weight=4. It rejects because of the Filters HOLD in $default.junkmail. Good... Now i remove FILTERS HOLD, and everything passes.. How can I apply a weight system to the filter list? Thanks in advance... Eddie :) == Filter.txt SUBJECT 3 CONTAINS Monday's SUBJECT 3 CONTAINS Motivation MAILFROM5 IS [EMAIL PROTECTED] edited == Global.cfg FILTERS filter D:\IMail\Declude\filter.txt X1 0 WEIGHT10 weight xx 10 0 WEIGHT20 weight xx 20 0 CATCHALLMAILS catchallmails xx 0 0 == $default$.junkmail FILTERS HOLD WEIGHT10 HOLD WEIGHT20 HOLD == Declude log 10/16/2002 15:37:58 Q1474081900e8abf4 FILTERS:4 . Total weight = 4 10/16/2002 15:37:58 Q1474081900e8abf4 Msg failed FILTERS (Message failed FILTERS test (1)). 10/16/2002 15:37:58 Q1474081900e8abf4 Subject: monday's 10/16/2002 15:37:58 Q1474081900e8abf4 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] edited --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type unsubscribe Declude.JunkMail. The archives can be found at http://www.mail-archive.com.
Re: [Declude.JunkMail] Customizing filters
How can I apply a weight system to the filter list? That's easy -- the definition of the test (MYFILTER filter filename x 10 0) will determine the generic weight that will be added to the E-mail if the E-mail fails the test, and then each entry in the filter file (SUBJECT 5 CONTAINS Monday's Motivation) will include another weight that will get added to the E-mail. I am trying to create a word filter that will flag out Subject: Monday's Motivation from a certain user. Yet, be okay from another user using that subject. That will be a bit trickier, since there isn't any boolean logic in the filters (such as 'subject contains xyz and sender is abc'). I am just testing the word monday's in the subject. Total weight=4. It rejects because of the Filters HOLD in $default.junkmail. Good... Now i remove FILTERS HOLD, and everything passes.. How can I apply a weight system to the filter list? If you change the weight to 10, the WEIGHT10 test would fail, and the WEIGHT10 test could be set to HOLD. -Scott --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type unsubscribe Declude.JunkMail. The archives can be found at http://www.mail-archive.com.