Page 1 of 1

Error/Warning performing Mailscanner Lint

Posted: 04 Mar 2022 18:18
by nicolatiana
Executing Mailscannel lint (test) I get these tuo error/warning:
config: SpamAssassin failed to parse line, "/usr/share/GeoIP/GeoLite2-Country.mmdb" is not valid for "uri_country_db_path", skipping: uri_country_db_path /usr/share/GeoIP/GeoLite2-Country.mmd
internal error, python traceback seen in response: Traceback (most recent call last): File "/bin/pyzor", line 24, in \n import pyzor.digest\nImportError: No module named pyzor.digest at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Pyzor.pm line 308.
Is it something relevant/dangerous ?

Nicola

My EFA 4.0.4 -9 Centos 7 config:
MailWatch Versione: 1.2.18
Operating System Version: CentOS Linux 7 (Core)
Postfix Versione: 3.5.9
MailScanner Versione: 5.4.4
ClamAV Versione: 0.103.5
SpamAssassin Versione: 3.4.6
PHP Versione: 7.4.28
MySQL Versione: 10.2.30-MariaDB
GeoIP Database Versione: Nessun database scaricato

Re: Error/Warning performing Mailscanner Lint

Posted: 05 Mar 2022 07:20
by Aryfir
Hi,

Just to make sure......have you entered the correct MaxMind GeoLite2 License Key on MailWatch settings?

regards
Ary Firman

Re: Error/Warning performing Mailscanner Lint

Posted: 16 Mar 2022 13:53
by nicolatiana
Excuse me for so late replay.

Non I've not installed a GeoLite Key.

Nicola

Update 22/03/2022: I enlisted to Maxmind, created key (<3.1.1) and installed it

Re: Error/Warning performing Mailscanner Lint

Posted: 01 Apr 2022 06:51
by markov
What about the second error:

internal error, python traceback seen in response: Traceback (most recent call last): File "/bin/pyzor", line 24, in \n import pyzor.digest\nImportError: No module named pyzor.digest at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Pyzor.pm line 308.

I got this too ...

Re: Error/Warning performing Mailscanner Lint

Posted: 01 Apr 2022 09:21
by freyuh
Is the pyzor package installed?
yum list | grep pyzor

Ulrich.

Re: Error/Warning performing Mailscanner Lint

Posted: 04 Jul 2022 17:55
by shawniverson
Edit /usr/bin/pyzor and replace the following at the top:

Code: Select all

#!/usr/bin/python -Wignore::DeprecationWarning

Code: Select all

#!/usr/bin/python3 -Wignore::DeprecationWarning