http://bugzilla.spamassassin.org/show_bug.cgi?id=3607
Summary: spamc doesn't have means to filter message and return
spam/nospam code
Product: Spamassassin
Version: 2.63
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: spamc/spamd
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
spamc doesn't have and option to both filter and set the
exit codes for spam/nospam.
Thus one cannot replace
if spamassassin -e < input > output
then
mv output spamdir
else
mv output hamdir
fi
with
if spamc -e < input > output
et cetera.
As well, the arg letters between spamassassin and spamc/spamd
are overlaping, so I can't just add a -e to spamc.
I propose a -C (check_also) option to spamc
which will set the exit code to 1(spam) or 0(ham)
or otherwise (-x gives 2 on telco fail).
I've coded this up on 2.63. It needs a few lines in
libspamc.h and spamc.c
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.