Re: Method of setting score for a custom rule to be the required_score ?

2018-06-28 Thread Bill Cole
On 27 Jun 2018, at 22:17, J Doe wrote: I went back to “man Mail::SpamAssassin::Conf” and can see mention of the shortcircuit plugin . . . is there more documentation (perhaps in another man or perldoc), where the shortcircuit keyword is mentioned ? perldoc

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-28 Thread Daniele Duca
On 28/06/2018 04:17, J Doe wrote: I went back to “man Mail::SpamAssassin::Conf” and can see mention of the shortcircuit plugin . . . is there more documentation (perhaps in another man or perldoc), where the shortcircuit keyword is mentioned ? I'd say a good starting point would be

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-27 Thread J Doe
> On Jun 27, 2018, at 6:20 AM, Daniele Duca wrote: > Hi, > > I'd say that a better solution would be to use shortcircuit: > body __BODY_TEST1 . . . > body __BODY_TEST2 . . . > meta CUSTOM_RULE1(__BODY_TEST1 && __BODY_TEST2) > shortcircuit CUSTOM_RULE1 spam > > At least that saves

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-27 Thread Daniele Duca
On 27/06/2018 02:15, J Doe wrote: Hi John, Ok, good to know. Is it possible with the SA grammar to have variables ?  I was thinking I’d have something like the following in my: /etc/spamassassin/local.cf     POISON_PILL = 100 Hi, I'd say that a better solution would be to use

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-26 Thread John Hardin
On Tue, 26 Jun 2018, J Doe wrote: On Jun 26, 2018, at 12:13 AM, John Hardin mailto:jhar...@impsec.org>> wrote: My thinking here is that if this rule ever passes, it should not add a small value to the score but push the score up to the value that required_score is set to. This way, if the

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-26 Thread J Doe
> On Jun 26, 2018, at 12:13 AM, John Hardin > wrote: > >> Hello, >> >> I was wondering if it is possible to assign a score to a custom rule that >> will evaluate to the value that required_score is set to. >> >> My thinking here is that if this rule ever passes, it

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-25 Thread John Hardin
On Mon, 25 Jun 2018, J Doe wrote: Hello, I was wondering if it is possible to assign a score to a custom rule that will evaluate to the value that required_score is set to. My thinking here is that if this rule ever passes, it should not add a small value to the score but push the score up

Method of setting score for a custom rule to be the required_score ?

2018-06-25 Thread J Doe
Hello, I was wondering if it is possible to assign a score to a custom rule that will evaluate to the value that required_score is set to. My thinking here is that if this rule ever passes, it should not add a small value to the score but push the score up to the value that required_score is