Byteplant Forum

Home » CleanMail Support » CleanMail SpamAssassin Filter » two digit spam score
two digit spam score [message #407] Tue, 07 November 2006 22:54
Kpauley
Messages: 7
Registered: February 2006
Junior Member
When I am tagging messages as SPAM and having the SPAM score added to the subject line using _SCORE_ the number that is inserted it x.xx format. I would like to force a xx.xx format so it can be sorted easier in the mail client

As it stands now, a score of 2.4 would be mixed in with a score of 20.5.

Ken
Re: two digit spam score [message #408 is a reply to message #407] Wed, 08 November 2006 10:54 Go to previous message
support
Messages: 905
Registered: April 2004
Senior Member
> When I am tagging messages as SPAM and having the SPAM score
> added to the subject line using _SCORE_ the number that is
> inserted it x.xx format. I would like to force a xx.xx format
> so it can be sorted easier in the mail client
>
> As it stands now, a score of 2.4 would be mixed in with a score
> of 20.5.

Please read the SpamAssassin documentation, in this case
http://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html:

_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.



Post Edited (11-08-06 10:55)


Customer Support
Byteplant GmbH
Previous Topic: AWL-Score Korrektur Probleme
Next Topic: German Spam
Goto Forum:
  


Current Time: Sat Dec 20 12:29:03 CET 2014