Error/Warning performing Mailscanner Lint

Bugs in eFa 4
Post Reply
nicolatiana
Posts: 11
Joined: 07 Feb 2014 16:39

Error/Warning performing Mailscanner Lint

Post 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
User avatar
Aryfir
Posts: 21
Joined: 04 Sep 2020 13:52

Re: Error/Warning performing Mailscanner Lint

Post by Aryfir »

Hi,

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

regards
Ary Firman
nicolatiana
Posts: 11
Joined: 07 Feb 2014 16:39

Re: Error/Warning performing Mailscanner Lint

Post 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
markov
Posts: 7
Joined: 12 Apr 2018 08:35

Re: Error/Warning performing Mailscanner Lint

Post 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 ...
freyuh
Posts: 62
Joined: 04 Oct 2018 11:21

Re: Error/Warning performing Mailscanner Lint

Post by freyuh »

Is the pyzor package installed?
yum list | grep pyzor

Ulrich.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Error/Warning performing Mailscanner Lint

Post 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
Post Reply