Formatting of SA score in Subject?
Indunil Jayasooriya
indunil75 at gmail.com
Thu Nov 3 04:19:57 CET 2016
On Thu, Nov 3, 2016 at 4:28 AM, Jeff Morris <jeffm859 at 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 currently have the following line in my amavisd.conf:
>
> $sa_spam_subject_tag = '[SPAM: _SCORE_] ';
>
can You try this ?
$sa_spam_subject_tag = '[SPAM: _(0)SCORE_] ';
>
> This causes Amavis to cause Spamassassin to rewrite my spammy Subject
> headers like this:
>
> Subject: [SPAM: 8.353] Some Spammy Subject Here
>
> I'd like to tweak the score format here so it has a leading zero. i.e. I'd
> like to change the formatting from "%.3f" to "%06.3f", so my spammy Subject
> headers will instead look like this:
>
> Subject: [SPAM: 08.353] Some Spammy Subject Here
>
> 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 there any way to do this?
>
>
>
>
--
cat /etc/motd
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala
Fonts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20161103/cb44d890/attachment.html>
More information about the amavis-users
mailing list