SA Bugzilla – Bug 4551
spamc does not pass through spamd's error code
Last modified: 2022-03-06 16:40:46 UTC
My patch for bug 4546 involves having spamd respond with EX_UNAVAILABLE. Unfortunately, spamc does not properly parse this error, and instead returns EX_IOERR (I believe because it does not get the output it is looking for and spamd closes the connection.) spamc should parse the error, exit with the correct error message and error code. Right now, no message is output.
Subject: Re: New: spamc does not pass through spamd's error code when TELLing The code for check and tell is virtually identical. I suspect this bug report is too specific and it is a generic problem for spamc and not limited to the tell call. Michael
I've verified that spamc -x returns 74 instead of 69 when sent an EX_UNAVAILABLE also.
Closing ancient stale bug.