Re: Formatting of SA score in Subject?

2016-11-29 Thread MI
$sa_spam_subject_tag = '*** Spam (_SCORE_) *** '; which produces a format like: *** Spam (5.124) *** Regrow Thicker, Longer, Stronger, Healthier Hair Thanks, but that doesn't seem to be "working". There is no padding as should be produced by "_SCORE(0)_" or "_SCORE( )_". Without

Re: Formatting of SA score in Subject?

2016-11-29 Thread Admin Beckspaced
And this one rewrites the subject literally with "[SPAM _SCORE(0)_] ...", as Jeff already said: # grep -r SCORE /etc/spamassassin/ /etc/amavis/ /etc/spamassassin/local.cf:rewrite_header subject [SPAM-t5 _SCORE(0)_]: /etc/amavis/conf.d/50-user:$sa_spam_subject_tag = '[SPAM

Re: Formatting of SA score in Subject?

2016-11-29 Thread MI
Has anyone found a solution for this? I have tried various combinations of "$sa_spam_subject_tag" in /etc/amavis/conf.d/..., and "rewrite_header Subject" in /etc/spamassassin/local.cf, but nothing works (I have restarted amavis between the tests): All these do not rewrite the subject at all:

Re: Formatting of SA score in Subject?

2016-11-03 Thread Indunil Jayasooriya
On Fri, Nov 4, 2016 at 3:18 AM, Jeff Morris wrote: > On 11/3/2016 11:15 AM, Gregory Sloop wrote: > > > > > > > > > > > > > > *D> Am 02.11.2016 um 23:58 schrieb Jeff Morris: >> When I asked before, it > was suggested that I change "_SCORE_" to >> "_SCORE(0)_", however that

Re: Formatting of SA score in Subject?

2016-11-03 Thread Damian
Am 02.11.2016 um 23:58 schrieb Jeff Morris: > > When I asked before, it was suggested that I change "_SCORE_" to > "_SCORE(0)_", however that did not work, it caused the literal string > "_SCORE(0)_" to be inserted into my subject lines, rather than the > formatted score being substituted. > > Is

Re: Formatting of SA score in Subject?

2016-11-03 Thread Jeff Morris
On 11/2/2016 8:19 PM, Indunil Jayasooriya wrote: On Thu, Nov 3, 2016 at 4:28 AM, Jeff Morris > wrote: I asked this question a few months ago, but still haven't found a solution, so thought I'd try again. I currently have

Re: Formatting of SA score in Subject?

2016-11-02 Thread Indunil Jayasooriya
On Thu, Nov 3, 2016 at 4:28 AM, Jeff Morris wrote: > > I asked this question a few months ago, but still haven't found a > solution, so thought I'd try again. > > I currently have the following line in my amavisd.conf: > > $sa_spam_subject_tag = '[SPAM: _SCORE_] '; >

Formatting of SA score in Subject?

2016-11-02 Thread Jeff Morris
I asked this question a few months ago, but still haven't found a solution, so thought I'd try again. I currently have the following line in my amavisd.conf: $sa_spam_subject_tag = '[SPAM: _SCORE_] '; This causes Amavis to cause Spamassassin to rewrite my spammy Subject headers like

Re: Formatting of SA score in Subject?

2016-09-28 Thread @lbutlr
On Wed Sep 28 2016 00:54:12 Jeff Morris said: > > On 9/18/2016 8:32 AM, @lbutlr wrote: >> On Fri Sep 16 2016 01:22:20 Jeff Morris said: >>> On 9/12/2016 4:15 PM, Jeff Morris wrote: On 9/4/2016 7:22 AM, @lbutlr wrote: Thank you! I'm

Re: Formatting of SA score in Subject?

2016-09-28 Thread Jeff Morris
On 9/18/2016 8:32 AM, @lbutlr wrote: On Fri Sep 16 2016 01:22:20 Jeff Morris said: On 9/12/2016 4:15 PM, Jeff Morris wrote: On 9/4/2016 7:22 AM, @lbutlr wrote: On 01 Sep 2016, at 13:18, Jeff Morris wrote: $sa_spam_subject_tag = sprintf(

Re: Formatting of SA score in Subject?

2016-09-21 Thread @lbutlr
On Fri Sep 16 2016 01:22:20 Jeff Morris said: > > On 9/12/2016 4:15 PM, Jeff Morris wrote: >> On 9/4/2016 7:22 AM, @lbutlr wrote: >>> On 01 Sep 2016, at 13:18, Jeff Morris wrote: $sa_spam_subject_tag = sprintf( "[SPAM: %06.3f]", _SCORE_ );

Re: Formatting of SA score in Subject?

2016-09-13 Thread Jeff Morris
On 9/4/2016 7:22 AM, @lbutlr wrote: On 01 Sep 2016, at 13:18, Jeff Morris wrote: $sa_spam_subject_tag = sprintf( "[SPAM: %06.3f]", _SCORE_ ); Or is there a better way to do what I want? Maybe there's a token like _ZSCORE_ ? :-) Close. _SCORE(PAD)_

Re: Formatting of SA score in Subject?

2016-09-04 Thread @lbutlr
On 01 Sep 2016, at 13:18, Jeff Morris wrote: > >$sa_spam_subject_tag = sprintf( "[SPAM: %06.3f]", _SCORE_ ); > > Or is there a better way to do what I want? Maybe there's a token like > _ZSCORE_ ? :-) Close. _SCORE(PAD)_ message score, if PAD is

Formatting of SA score in Subject?

2016-09-01 Thread Jeff Morris
I currently have the following line in my amavisd.conf: $sa_spam_subject_tag = '[SPAM: _SCORE_] '; I'm not sure if that's the default config or if it's something I put there years ago, I don't remember. I also don't quite grok what the _SCORE_ represents. It obviously gets substituted,