spamassassin --lint

Bugs in eFa 5
Post Reply
tesme33
Posts: 80
Joined: 22 Mar 2015 10:57
Location: Germany/Munich area

spamassassin --lint

Post by tesme33 »

Hi
i realized that i get the error below when i manually mark messages as SPAM in the web gui.

Code: Select all

SA Learn netset: illegal IP address given (patricia trie): 'macmini.xxx.de/128': invalid key at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm line 183., , netset: illegal IP address given (patricia trie): 'xxx.de/128': invalid key at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm line 183., , netset: illegal IP address given: 'xxx.de', netset: illegal IP address given (patricia trie): 'home.xxx.de/128': invalid key at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm line 183., , netset: illegal IP address given: 'home.xxx.de', Learned tokens from 1 message(s) (1 message(s) examined)
now checking this

Code: Select all

[root@derb ~]# spamassassin -V
SpamAssassin version 4.0.1
  running on Perl version 5.32.1
[root@derb ~]# spamassassin --lint
Jan  2 08:47:09.827 [1804993] warn: netset: illegal IP address given (patricia trie): 'macmini.xxx.de/128': invalid key at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm line 183.
Jan  2 08:47:09.829 [1804993] warn: netset: illegal IP address given (patricia trie): 'xxx.de/128': invalid key at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm line 183.
Jan  2 08:47:09.832 [1804993] warn: netset: illegal IP address given: 'xxx.de'
Jan  2 08:47:09.832 [1804993] warn: netset: illegal IP address given (patricia trie): 'home.xxx.de/128': invalid key at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm line 183.
Jan  2 08:47:09.834 [1804993] warn: netset: illegal IP address given: 'home.xxx.de'

As i was only using eFa-Configure i would like to ask if somebody could tell where to correct ?

Code: Select all

--------------------------------------------------------------
---        Welcome to the eFa Configuration program        ---
---               https://www.efa-project.org              ---
--------------------------------------------------------------


Description:
All mail domains for which this system accepts mail need an destination server.
Below is the list of current smtp mail domains on this system.

  1) home.xxx.de            macmini.xxx.de
  2) xxx.de                 macmini.xxx.de
  3) xxxtest.de             macmini.xxx.de

n) Add new mail domain

e) Return to main menu
Thx
tesme33
Posts: 80
Joined: 22 Mar 2015 10:57
Location: Germany/Munich area

Re: spamassassin --lint

Post by tesme33 »

Hi
the issue was in

/etc/mail/spamassassin/local.cf

were the trusted network needs to be an IP not a FQDN.

My fault.

Yours
Post Reply