https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5104
Karsten Bräckelmann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Karsten Bräckelmann <[email protected]> 2010-11-12 20:44:42 UTC --- > I want to defer messages when spamd is unavailable, not deliver or bounce. > When using -e, none of spamc's various return code options do this: > $ echo foo | spamc -x -t 1 -U /nonexistent -e /bin/cat; echo $? > foo > 0 I am unable to reproduce this. The -x option disables the default of "safe fallback" as documented, and spamc exits with proper return codes. In fact, I am using the -x option for a long time already in procmail. $ echo | spamc -x -t 1 -p 7830; echo $? 69 Using an invalid port (the command above, equivalent to spamd not running) returns EX_UNAVAILABLE, service unavailable. Using an invalid socket (as comment 0 does) spamc returns 70, EX_SOFTWARE, internal software error instead. Additionally using the -e option does not change anything, the return codes are the very same, exactly as documented. Neither does -t timeout change the result. Assuming this issue has been fixed since. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
