You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by jdow <jd...@earthlink.net> on 2004/12/12 04:40:06 UTC

3.0.1 header rewrite

Is it possible to have a version the _SCORE_ parameter that prints out
numbers in the old "09.66" style with the leading zero? This is a handy
feature in a mailer that can sort by email by subject. If the spam is
all marked "*****SPAM***** " followed by the four (or 5) digits of
spam value the sorting is automatic. It makes it easier to scan spams
with values below about 10 to 15 for the rare ham that makes it through.
The 3, 4, or more digits approach does not sort by value correctly.

{^_^}


Re: 3.0.1 header rewrite

Posted by Matt Kettler <mk...@comcast.net>.
At 07:40 PM 12/11/2004 -0800, jdow wrote:
>Is it possible to have a version the _SCORE_ parameter that prints out
>numbers in the old "09.66" style with the leading zero? This is a handy
>feature in a mailer that can sort by email by subject. If the spam is
>all marked "*****SPAM***** " followed by the four (or 5) digits of
>spam value the sorting is automatic. It makes it easier to scan spams
>with values below about 10 to 15 for the rare ham that makes it through.
>The 3, 4, or more digits approach does not sort by value correctly.

In SA 3.0.x you can.. From the man Mail::SpamAssassin::Conf manpage:


  _SCORE(PAD)_      message score, if PAD is included and is either spaces or
                    zeroes, then pad scores with that many spaces or zeroes
                    (default, none)  ie: _SCORE(0)_ makes 2.4 become 02.4,
                    _SCORE(00)_ is 002.4.  12.3 would be 12.3 and 012.3
                    respectively.