Re: Reformatting spam score in subject?

2017-03-29 Thread Jeff Morris
or my purposes it works as above, simply eliminating the "0+" and adding my preferred formatting to the sprintf, since I want my score both left-padded and right-padded with zeros for easy sorting. Hopefully if anyone else is trying to accomplish the same this will help them out! On 3/29/2

Reformatting spam score in subject?

2017-03-29 Thread Jeff Morris
I posted about this last year but wasn't able to find a solution, so I'm revisiting it. I have amavis configured to add the spam score to the subject line of spammy messages via the following variable in amavisd.conf: $sa_spam_subject_tag = '[SPAM: _SCORE_] '; This gives me subject

Re: How can I disable Amavis bounce messages?

2016-11-03 Thread Jeff Morris
; $final_spam_destiny = D_PASS; $final_bad_header_destiny = D_PASS; So you should check that as well. Am 02.11.2016 um 23:35 schrieb Damian: $warnbannedsender Am 02.11.2016 um 22:45 schrieb Jeff Morris: I just noticed that my Amavis installation is sending out bounce messages such as the one below

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 <jeffm...@nullmodem.org <mailto:jeffm...@nullmodem.org>> wrote: I asked this question a few months ago, but still haven't found a solution, so thought I'd try again. I cu

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 Jeff Morris
On 9/18/2016 8:32 AM, @lbutlr wrote: On Fri Sep 16 2016 01:22:20 Jeff Morris <jeffm...@nullmodem.org> 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 <jeffm...@nullmodem.org> wrote: $sa_spam_subject_t

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 <jeffm...@nullmodem.org> 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.

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,