https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6939

Sidney Markowitz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5144|0                           |1
        is obsolete|                            |

--- Comment #89 from Sidney Markowitz <[email protected]> ---
Created attachment 5146
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5146&action=edit
patch to make error log message more clear

After all that, the only actual problem that I see is the confusing error log.
Here is a test command that demonstrates the actual problem by using the -l
option to make the error message visible for this test:

$ echo foo | spamc -l -U "" ; echo $?
spamc: connect(AF_UNIX) to spamd  failed: Connection refused
foo
0

I've just attached a one line patch to libspamc.c that changes the result to

$ echo foo | spamc -l -U "" ; echo $?
spamc: connect(AF_UNIX) to spamd using --socket='' failed: Connection refused
foo
0

Because of the extraordinary amount of heat generated by this issue, and
because I'm kind of tired at the moment, I will give this a day or two before I
commit this patch even though we are in CTR mode now and I don't have to wait
to commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to