You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/07/08 18:28:47 UTC
[Bug 4470] New: Leading "0" in scores
http://bugzilla.spamassassin.org/show_bug.cgi?id=4470
Summary: Leading "0" in scores
Product: Spamassassin
Version: 3.0.4
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P1
Component: Rules
AssignedTo: dev@spamassassin.apache.org
ReportedBy: bobg@absoluteadvantage.com
If we could assign a leading "0" to the score, then we could sort the emails properly by score. Currently
if you add the score to the subject and sort the flagged emails by subject it will sort 1.9, 10.3, 11.1,
2.0, 20.1 and so forth. If we could add a leading zero then they would sort 01.9, 02.0, 10.3, 11.1, 20.2
- a proper sort.
This would allow the user to easily identify the high scores, and quicky focus on the lower ones.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Re: [Bug 4470] Leading "0" in scores
Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Jul 08, 2005 at 10:27:57AM -0700, Loren Wilton wrote:
> > _SCORE(PAD)_ message score, if PAD is included and is either
> spaces or
> > zeroes, then pad scores with that many spaces or
> zeroes
>
> There may be another bug here. I tried a few days ago using a pad of ( 00)
> and ended up with the space ignored. What I wanted was numbers to be like
> "100", " 50", " 02".
No bug there. As the documentation says, "either spaces or zeroes".
Patches accepted if you want that to read "and/or". ;)
--
Randomly Generated Tagline:
"... and on that side you have a 50kg kid, and that's a pretty good sized
kid..." - Prof. Farr
Re: [Bug 4470] Leading "0" in scores
Posted by Loren Wilton <lw...@earthlink.net>.
> _SCORE(PAD)_ message score, if PAD is included and is either
spaces or
> zeroes, then pad scores with that many spaces or
zeroes
There may be another bug here. I tried a few days ago using a pad of ( 00)
and ended up with the space ignored. What I wanted was numbers to be like
"100", " 50", " 02".
[Bug 4470] Leading "0" in scores
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4470
felicity@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From felicity@apache.org 2005-07-08 09:32 -------
If you RTM, there's a section titled "TEMPLATE TAGS" which explains how you can do this already:
_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.
In general, if you have a SA usage question, it's better to ask on the users@ list first before opening a
ticket.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.