Re: prevent to set a score for a non existend rule

2008-06-25 Thread Justin Mason
Theo Van Dinter writes: > On Tue, Jun 24, 2008 at 09:44:40PM +0100, Matt Hampton wrote: > > if defined JM_SOUGHT_3 > >score JM_SOUGHT_3 1.5 > > endif > > Has anyone thought to ask JM to make sure that 3 rules are always generated, > even if the third one is empty ala: > > meta JM_SOUGHT_3 0

Re: prevent to set a score for a non existend rule

2008-06-24 Thread John Hardin
On Tue, 24 Jun 2008, Theo Van Dinter wrote: Has anyone thought to ask JM to make sure that 3 rules are always generated, even if the third one is empty ala: meta JM_SOUGHT_3 0 thereby skipping all of the kluging suggestions to work around it? No. Kludging is fun. -- John Hardin KA7OHZ

Re: prevent to set a score for a non existend rule

2008-06-24 Thread Theo Van Dinter
On Tue, Jun 24, 2008 at 09:44:40PM +0100, Matt Hampton wrote: > if defined JM_SOUGHT_3 >score JM_SOUGHT_3 1.5 > endif Has anyone thought to ask JM to make sure that 3 rules are always generated, even if the third one is empty ala: meta JM_SOUGHT_3 0 thereby skipping all of the kluging sugges

Re: prevent to set a score for a non existend rule

2008-06-24 Thread Matt Hampton
John Hardin wrote: On Mon, 23 Jun 2008, Stefan Jakobs wrote: But now I get a lint warning: # spamassassin --lint [12533] warn: config: warning: score set for non-existent rule JM_SOUGHT_3 Would be worth considering extending the conditional section of the parser to cope with this? if de

Re: prevent to set a score for a non existend rule

2008-06-24 Thread Stefan Jakobs
On Tuesday 24 June 2008 02:33, Benny Pedersen wrote: > On Tue, June 24, 2008 01:10, Stefan Jakobs wrote: > > I'm guess this doesn't work: > > > > amavis[31206]: (31206-01) SPAM-TAG, <[EMAIL PROTECTED]> -> [EMAIL > > PROTECTED]>, Yes, > > score=7.88 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-

Re: prevent to set a score for a non existend rule

2008-06-23 Thread Benny Pedersen
On Tue, June 24, 2008 01:10, Stefan Jakobs wrote: > I'm guess this doesn't work: > amavis[31206]: (31206-01) SPAM-TAG, <[EMAIL PROTECTED]> -> [EMAIL > PROTECTED]>, Yes, > score=7.88 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, > BAYES_50=0.001, HTML_MESSAGE=0.001, JM_SOUGHT_3=4, JM_SOU

Re: prevent to set a score for a non existend rule

2008-06-23 Thread John Hardin
On Tue, 24 Jun 2008, Stefan Jakobs wrote: On Monday 23 June 2008 18:13, Benny Pedersen wrote: On Mon, June 23, 2008 14:33, Stefan Jakobs wrote: /etc/mail/spamassassin/sought_rules.cf with this content: score JM_SOUGHT_1 2.2 meta JM_SOUGHT_1_ADJ (JM_SOUGHT_1) score JM_SOUGHT_1_A

Re: prevent to set a score for a non existend rule

2008-06-23 Thread Stefan Jakobs
On Monday 23 June 2008 18:13, Benny Pedersen wrote: > On Mon, June 23, 2008 14:33, Stefan Jakobs wrote: > > /etc/mail/spamassassin/sought_rules.cf with this content: > > score JM_SOUGHT_1 2.2 > > meta JM_SOUGHT_1_ADJ (JM_SOUGHT_1) > score JM_SOUGHT_1_ADJ -0.1 > > > score JM_SOUGHT_2

Re: prevent to set a score for a non existend rule

2008-06-23 Thread Benny Pedersen
On Mon, June 23, 2008 14:33, Stefan Jakobs wrote: > /etc/mail/spamassassin/sought_rules.cf with this content: > score JM_SOUGHT_1 2.2 meta JM_SOUGHT_!_ADJ (JM_SOUGHT_1) score JM_SOUGHT_!_ADJ -0.1 > score JM_SOUGHT_2 2.2 meta JM_SOUGHT_2_ADJ (JM_SOUGHT_2) score JM_SOUGHT

Re: prevent to set a score for a non existend rule

2008-06-23 Thread John Hardin
On Mon, 23 Jun 2008, Stefan Jakobs wrote: But now I get a lint warning: # spamassassin --lint [12533] warn: config: warning: score set for non-existent rule JM_SOUGHT_3 The problem is that the sought ruleset has sometimes three rules and sometimes only two rules. But I don't like to change my c

prevent to set a score for a non existend rule

2008-06-23 Thread Stefan Jakobs
Hello list, I'm using JM's sought ruleset, but the default score is in my opinion to high. That's why I have the following file: /etc/mail/spamassassin/sought_rules.cf with this content: score JM_SOUGHT_1 2.2 score JM_SOUGHT_2 2.2 score JM_SOUGHT_3