Thanks for all the replies.

1) I've removed

use_pyzor 1
pyzor_path /usr/bin/pyzor

from local.cf (The issue occurred even if commented anyway).

2) I do have

v310.pre:# Pyzor - perform Pyzor message checks.
v310.pre:loadplugin Mail::SpamAssassin::Plugin::Pyzor (Which, I think, is where 
the error originates)

3) The check

pyzor check < 
/home/vpopmail/domains/xxx.com/usr/Maildir/.1-learned/cur/1618952484.M171574P20444V000000000000FD04I0000000010E5CC23_0.server.xxx.com,S=38290:2,
public.pyzor.org:24441  (200, 'OK')   0 0

Successful

4) This check errors...

echo "test" | spamassassin -D pyzor 2>&1 | less

Apr 22 06:35:30.576 [23089] dbg: pyzor: network tests on, attempting Pyzor
Apr 22 06:35:33.388 [23089] dbg: pyzor: pyzor is available: /usr/bin/pyzor
Apr 22 06:35:33.389 [23089] dbg: pyzor: opening pipe: /usr/bin/pyzor check < 
/tmp/.spamassassin23089PekOCctmp
Apr 22 06:35:33.440 [23089] dbg: pyzor: [23097] finished: exit 1
Apr 22 06:35:33.441 [23089] dbg: pyzor: check failed: no response
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
        pet110ii.whitehorsetc.com
X-Spam-Flag: YES
X-Spam-Level: *******
X-Spam-Status: Yes, score=8.0 required=5.0 tests=EMPTY_MESSAGE,MISSING_DATE,
        
MISSING_FROM,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,
        NO_RECEIVED,NO_RELAYS autolearn=no autolearn_force=no version=3.4.0
X-Spam-Report:
        * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
        *  1.0 MISSING_HEADERS Missing To: header
        *  0.5 MISSING_MID Missing Message-Id: header
        *  1.8 MISSING_SUBJECT Missing Subject: header
        *  2.3 EMPTY_MESSAGE Message appears to have no textual parts and no
        *      Subject: text
        *  1.0 MISSING_FROM Missing From: header
        * -0.0 NO_RECEIVED Informational: message has no Received headers
        *  1.4 MISSING_DATE Missing Date: header
        *  0.0 NO_HEADERS_MESSAGE Message appears to be missing most RFC-822
        *      headers
test
Subject: ***SPAM***[sa]
X-Spam-Prev-Subject: (nonexistent)


Still the error (pyzor: check failed: internal error, python traceback seen in 
response)  and not sure why. I've never noticed it until recently.


Eric

On 4/21/2021 9:24 AM, Henrik K wrote:
On Wed, Apr 21, 2021 at 09:00:28AM -0600, Eric Broch wrote:
Does anyone one have a solution to this:

spamd[xxxx]: pyzor: check failed: internal error, python traceback seen in
response

I have this in my local.cf

#pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor

Perusing the internet it seems this has been around for a while. Is there a
simple fix?
Has it ever worked?  Did you run pyzor discover?

https://cwiki.apache.org/confluence/display/SPAMASSASSIN/UsingPyzor

Only SA 3.4.6 will log the full traceback to investigate..

Reply via email to