Re: Disable awl when some other rule hit

2014-04-07 Thread Nuno Fernandes
Nevertheless i think the following one liner would do the trick (have to test it though): --- Mail/SpamAssassin/Plugin/AWL.pm.orig2014-03-24 11:31:18.0 + +++ Mail/SpamAssassin/Plugin/AWL.pm 2014-03-24 11:31:20.0 + @@ -437,6 +437,7 @@ # or if the

Re: Disable awl when some other rule hit

2014-04-07 Thread Kevin A. McGrail
On 4/7/2014 5:08 AM, Nuno Fernandes wrote: Nevertheless i think the following one liner would do the trick (have to test it though): --- Mail/SpamAssassin/Plugin/AWL.pm.orig2014-03-24 11:31:18.0 + +++ Mail/SpamAssassin/Plugin/AWL.pm 2014-03-24 11:31:20.0 + @@

Re: Disable awl when some other rule hit

2014-04-07 Thread Nuno Fernandes
On Monday 07 April 2014 08:00:38 Kevin A. McGrail wrote: Please move this patch to a bug for SA. Add more comments and some documentation for the feature and I don't see why we couldn't patch for you. However, also realize that I'm looking heavily at things like TxRep to replace AWL which is

Re: Disable awl when some other rule hit

2014-03-31 Thread Nuno Fernandes
On Sunday 30 March 2014 13:52:43 Ivo Truxa wrote: Nuno Fernandes-2 wrote Yes.. you are correct. The result is not added to the AWL database but i'm ok with that. Personally I think it makes no sense using AWL when you do not let it work, Oh.. but it works. Only in some scenarios i would

Re: Disable awl when some other rule hit

2014-03-31 Thread RW
On Sun, 30 Mar 2014 13:52:43 -0700 (PDT) Ivo Truxa wrote: You could also write a rule based on the concerned tag values, in combination with the AWL value, so that it does the same trick without the need to hack the code. Something in a way similar to this one: meta AWL_FIX

Re: Disable awl when some other rule hit

2014-03-31 Thread Ivo Truxa
, preferably it should be done in the way suggested in my previous post, which lets AWL recording the score while not returning any value. -- View this message in context: http://spamassassin.1065346.n5.nabble.com/Disable-awl-when-some-other-rule-hit-tp108598p108687.html Sent from the SpamAssassin

Re: Disable awl when some other rule hit

2014-03-31 Thread Ivo Truxa
is a float value different than 0, and the meta rule works fine - I tested it prior posting. -- View this message in context: http://spamassassin.1065346.n5.nabble.com/Disable-awl-when-some-other-rule-hit-tp108598p108688.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Disable awl when some other rule hit

2014-03-31 Thread Ivo Truxa
: http://spamassassin.1065346.n5.nabble.com/Disable-awl-when-some-other-rule-hit-tp108598p108689.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Disable awl when some other rule hit

2014-03-30 Thread Ivo Truxa
through settings and rules, than hacking the code. -- View this message in context: http://spamassassin.1065346.n5.nabble.com/Disable-awl-when-some-other-rule-hit-tp108598p108678.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Disable awl when some other rule hit

2014-03-27 Thread Nuno Fernandes
On Tuesday 25 March 2014 16:18:42 Ivo Truxa wrote: Looks OK, but the problem is that the new score won't be added to the AWL database. So for example if AWL tells the average score is 1.0, your RBL tells it ought to be 10.0, AWL would normally reflect it, the average score for the given

Re: Disable awl when some other rule hit

2014-03-25 Thread Ivo Truxa
reputation will be adjusted accordingly (much stronger than just by adding the new score to the total). -- View this message in context: http://spamassassin.1065346.n5.nabble.com/Disable-awl-when-some-other-rule-hit-tp108598p108644.html Sent from the SpamAssassin - Users mailing list archive

Re: Disable awl when some other rule hit

2014-03-24 Thread Nuno Fernandes
On Thursday 20 March 2014 07:50:50 Matt Kettler wrote: Does this do it? score AWL 0 meta LOCAL_SCORE_AWL AWL!URIBL_DBL_SPAM score LOCAL_SCORE_AWL-10 where -10 is whatever score AWL usually has (I forget) AWL has a variable score, so you can't negate it by a

Re: Disable awl when some other rule hit

2014-03-24 Thread Tom Hendrikx
On 03/24/2014 12:14 PM, Nuno Fernandes wrote: On Thursday 20 March 2014 07:50:50 Matt Kettler wrote: Does this do it? score AWL 0 meta LOCAL_SCORE_AWL AWL!URIBL_DBL_SPAM score LOCAL_SCORE_AWL-10 where -10 is whatever score AWL usually has (I forget) AWL has a variable

Re: Disable awl when some other rule hit

2014-03-24 Thread Nuno Fernandes
On Monday 24 March 2014 12:18:05 Tom Hendrikx wrote: On 03/24/2014 12:14 PM, Nuno Fernandes wrote: On Thursday 20 March 2014 07:50:50 Matt Kettler wrote: Does this do it? score AWL 0 meta LOCAL_SCORE_AWL AWL!URIBL_DBL_SPAM score LOCAL_SCORE_AWL-10 where -10 is

Re: Disable awl when some other rule hit

2014-03-20 Thread Matt Kettler
On 3/19/2014 1:44 PM, Joseph Brennan wrote: --On March 19, 2014 9:58:29 -0400 Kevin A. McGrail kmcgr...@pccc.com wrote: On 3/19/2014 5:14 AM, Nuno Fernandes wrote: Hello, Is it possible to disable awl (or at least score it 0.001) when a special rule hit like: if URIBL_DBL_SPAM

Disable awl when some other rule hit

2014-03-19 Thread Nuno Fernandes
Hello, Is it possible to disable awl (or at least score it 0.001) when a special rule hit like: if URIBL_DBL_SPAM score AWL 0 endif Is there any other way to achieve this goal? Thanks, Nuno Fernandes

Re: Disable awl when some other rule hit

2014-03-19 Thread Kevin A. McGrail
On 3/19/2014 5:14 AM, Nuno Fernandes wrote: Hello, Is it possible to disable awl (or at least score it 0.001) when a special rule hit like: if URIBL_DBL_SPAM score AWL 0 endif Is there any other way to achieve this goal? I can't think of anyway to do it without adding functionality to

Re: Disable awl when some other rule hit

2014-03-19 Thread Joseph Brennan
--On March 19, 2014 9:58:29 -0400 Kevin A. McGrail kmcgr...@pccc.com wrote: On 3/19/2014 5:14 AM, Nuno Fernandes wrote: Hello, Is it possible to disable awl (or at least score it 0.001) when a special rule hit like: if URIBL_DBL_SPAM score AWL 0 endif Is there any other way to