internal error, python traceback seen in response

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,281
Location
Maastricht
This line I nowadays find often in my /var/log/maillog file. Seems to have to do with Spamassassin.
I found on the internet that commenting this line would stop that error:
Code:
loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
However, if I do that, the plugin won't be working anymore correct? And I tested this, and it did not fix the error anyway.

This is what I've done, am using it already for many years, taken from the forum here somewhere. Installed via cpan. I was already happy I succceeded, I'm not very into cPan and nowadays even less. :)
Code:
Mail::SpamAssassin:Plugin::Rule2XSBody
Razor2::Client::Agent
Mail::SpamAssassin:Plugin::Razor2
and some other modules. After that, enable (so unmark) in v320.pre:
Code:
loadplugin Mail::SpamAssassin:Plugin::Rule2XSBody
So this has worked for a long time. I don't know exactly since when, but now I'm getting this error.

Any clue on how to fix this? Get rid of this error?
 
Last edited:

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
1,304
Location
Murfreesboro
This post ?

is the full error something like
spamd[13841]: pyzor: check failed: internal error, python traceback seen in response
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,281
Location
Maastricht
No it's not that post and port 2703 is open. I also found some posts about the pyzor check, but I did not use pyzor, only razor 2.
Installed exactly as mentioned above.

This is where it happens including the full error line:
Code:
May 27 23:42:57 server23 spamd[18148]: util: setuid: ruid=1038 euid=1038 rgid=1040 egid=1040
May 27 23:42:57 server23 spamd[561]: internal error, python traceback seen in response
May 27 23:42:58 server23 spamd[561]: spamd: clean message (-2.4/7.5) for rgeerts:1038 in 3.6 seconds, 21498 bytes.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
1,304
Location
Murfreesboro
That’s a pretty old post did you see if there is a new version on razor? Why not use the easy spam fighter? Instead of this?
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,281
Location
Maastricht
What do you mean by a new version on razor? The post I found it in might be old but is has been working fine until shortly. Using this for many years.
I do already use easy spam fighter. Next to Spamassassin which needed to be installed anyway for ESF or Blockcracking (don't remember which of those).
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
1,304
Location
Murfreesboro
This post ?

is the full error something like
spamd[13841]: pyzor: check failed: internal error, python traceback seen in response
This post seems to be about a Custom Spam setup.

Since you said you were using it I wasn't sure you had the latest versions
I do already use easy spam fighter
but if you arent using the custom setup but instead using the ESF from CustomBuild. That is good.
Sorry i got confused.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,281
Location
Maastricht
Sorry I'm getting confused now too.

This post seems to be about a Custom Spam setup.
Correct, but not the one that I'm using. I'm using another one as described in my initial post.

Since you said you were using it I wasn't sure you had the latest versions
Latest versions of what exactly?

but if you arent using the custom setup but instead using the ESF from CustomBuild. That is good.
Sorry i got confused.
No I'm using the custom setup as described in my initial post, together with ESF and blockcracking from custombuild.

I could disable that plugin in Spamassassin which enables it, but it does not let the error go away.
 

RogierMaas

Verified User
Joined
Feb 15, 2014
Messages
14
I'm getting this same error since a little while:

Code:
2020-06-05 13:39:25 1jhAh3-000746-OG <= sender@example.com H=sending.mail.server [1.2.3.4] P=esmtps X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no S=2395 DKIM=example.com id=MailProgram-07d40762-f536-4800-90dd-99d91943ecf9@example.com T="Test" from <sender@example.com> for me@mydomain.com
2020-06-05 13:39:25 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1jhAh3-000746-OG
Jun  5 13:39:25 server spamd[8807]: spamd: connection from 127.0.0.1 [127.0.0.1]:34548 to port 783, fd 5
Jun  5 13:39:25 server spamd[8807]: spamd: setuid to myuser succeeded
2020-06-05 13:39:25 cwd=/tmp 4 args: /usr/sbin/exim -oMr spam-scanned -bS
Jun  5 13:39:25 server spamd[8807]: spamd: processing message <MailProgram-07d40762-f536-4800-90dd-99d91943ecf9@example.com> for localuser:1007
Jun  5 13:39:26 server spamd[27172]: util: setuid: ruid=1007 euid=1007 rgid=1009 egid=1009
Jun  5 13:39:26 server spamd[8807]: internal error, python traceback seen in response
Jun  5 13:39:28 server spamd[8807]: spamd: clean message (-0.9/7.5) for localuser:1007 in 3.1 seconds, 2395 bytes.
Jun  5 13:39:28 server spamd[8807]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=3.1,size=2395,user=localuser,uid=1007,required_score=7.5,rhost=127.0.0.1,raddr=127.0.0.1,rport=34548,mid=<Mailbird-07d40762-f536-4800-90dd-99d91943ecf9@example.com>,autolearn=ham autolearn_force=no
2020-06-05 13:39:28 1jhAh3-00074B-R8 <= sender@example.com U=mail P=spam-scanned S=2909 id=MailProgram-07d40762-f536-4800-90dd-99d91943ecf9@example.com T="Test" from <sender@example.com> for localuser@mydomain.com
2020-06-05 13:39:28 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1jhAh3-00074B-R8
Jun  5 13:39:28 server spamd[8805]: prefork: child states: II
I have rebuilt SpamAssassin using CustomBuild 2.0 but the error won't go away. Wheelp!

EDIT: Opening outgoing TCP port 2703 gets rid of the error: spamd[8807]: internal error, python traceback seen in response but now throws me another error: no response.
It gives me no clue where it wants to connect to or what it wants to do..
 
Last edited:

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,281
Location
Maastricht
Port 2703 is voor de razar check. But I've already have this open and still have the error.

I don't have the incoming port 2703 open, only outgoing, never needed anything more before.

Very odd this.
 
Top