Subject: | NetAddr::IP can't handle IPv6 addresses |
Found when using sa-learn with NetAddr::IP v4.062:
zimbra@zre-ldap002:~$ /opt/zimbra/libexec/sa-learn -p
/opt/zimbra/conf/sa/salocal.cf --dbpath
/opt/zimbra/data/amavisd/.spamassassin -L --no-sync --siteconfigpath
/opt/zimbra/conf/spamassassin --spam /tmp/q.spam
netset: cannot include 127.0.0.0/8 as it has already been included
netset: illegal network address given: '[::1]/128'
netset: illegal network address given: '[fc00:10:137:242::]/64'
netset: illegal network address given: '[fe80::%eth0]/64'
Learned tokens from 0 message(s) (0 message(s) examined)
netset uses NetAddr::IP to validate the addresses provided. This is
similar to the report in
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6681