Hi list,

Using spamc in fast mode (spamc -c) but sometimes spamc returns 0/0 
status (score/threshold) if there was an error

Like 'man spamc' says:

"-c Just check if the message is spam or not.  Set process exitcode to 1 
if message is spam, 0 if not spam or
processing failure occurs.  Will print score/threshold to stdout (as 
ints) or 0/0 if there was an error."

Currently, qmails-canner  this programmed to delivery all messages in 
this case.

How can  I can prevent this, because sometimes spamd deamon is running 
normally, tcp port is open and working  and no errors are reports in log 
files, however spamc returns some unexpected error e exit with status 
0/0 (qmail-scanner gives the result as being  ?/?)

If was an error with  antivirus, for example,  the messages remains in 
queue and don't delivery to users (like qq temporary errors),  but with 
spamd all spams are ignored...

If spamc fails, how can I  *not* delivery messagens (requeue or some 
like this) or  even though sends alert to admin or restart spamd daemon??





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to