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/10/21 00:34:05 UTC
[Bug 4643] New: Please make spamc options -c and -y combine
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4643
Summary: Please make spamc options -c and -y combine
Product: Spamassassin
Version: 3.1.0
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P5
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: matthew.van.eerde@hbinc.com
I'd like to be able to make a single call to spamc and receive BOTH:
1) The message's spam score and the threshold for spam
This is currently available via spamc -c
spamc -c < sample-spam.txt
1005.2/5.0
2) The particular rules hit by this spamc call
This is currently available via spamc -y
spamc -y < sample-spam.txt
BAYES_40,DCC_CHECK,DIGEST_MULTIPLE,GTUBE,NO_RECEIVED,NO_RELAYS,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CHECK
But I'd like to get them both simultaneously... perhaps similar to
spamc -cy < sample-spam.txt
1005.2/5.0
BAYES_40,DCC_CHECK,DIGEST_MULTIPLE,GTUBE,NO_RECEIVED,NO_RELAYS,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CHECK
where the output is of the form /(\d+(?:\.\d+)?)\/(\d+(?:\.\d+)?) (\w+(?:,\w+)*)?/
with
$1 = the score of the message
$2 = the required score to be considered spam
$3 = the set of rules matched
@rules = split /,/, $3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4643] Please make spamc options -c and -y combine
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4643
matthew.van.eerde@hbinc.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From matthew.van.eerde@hbinc.com 2005-10-21 01:29 -------
Um, never mind, I can just create a custom template and use spamc -r
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.