You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Sergio <se...@gmail.com> on 2011/12/11 14:16:07 UTC

error on SA learning.

Hi all,
I have run a function in my server to learn some email spams and it shows
up the following message:

Running sa-learn for spam against [/home/spam/cur]

This may take some time depending on the number of emails and the speed of
SpamAssassin:

# /usr/bin/sa-learn --spam --showdots /home/secmasn/mail/
secmas.net/soporte/.spam/cur
*netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included
netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included*
.......
Learned tokens from 7 message(s) (7 message(s) examined)

Are they errors? if so, What they mean?
*netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included
netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included*

Thanks in advance.

Sergio

Re: error on SA learning.

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
Obviously intended for the list, rather than me only.

On Sun, 2011-12-11 at 12:52 -0600, Sergio wrote:
> Thank you all, I have fixed it.
> 
> It was certainly an error in NetAddr-IP.
> 
> Sergio
> 
> 2011/12/11 Karsten Bräckelmann <gu...@rudersport.de>
> On Sun, 2011-12-11 at 07:16 -0600, Sergio wrote:
> > netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been
> included
> 
> 
> Bug 6681. Certain NetAddr-IP Perl module versions are broken, avoid
> versions 4.045 to 4.054.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: error on SA learning.

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Sun, 2011-12-11 at 07:16 -0600, Sergio wrote:
> netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included

Bug 6681. Certain NetAddr-IP Perl module versions are broken, avoid
versions 4.045 to 4.054.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: error on SA learning.

Posted by Benny Pedersen <me...@junc.org>.
On Sun, 11 Dec 2011 07:16:07 -0600, Sergio wrote:

>  netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been
> included

means that ::1/128 is listed in (internal|trusted)_networks and its 
already is as hardcoded in spamassassin

to solve it, remove it in local.cf, its not an error just a warning

Re: error on SA learning.

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
>> Are they errors? if so, What they mean?
>> *netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been 
>> included
>> netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been 
>> included*
>>
> it means that the ipv6 localhost address has already been included.
> Ignore this, these are not the droids you are looking for. 
I think this is also a bug in NetAddr-IP...

See https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6681 and

"Avoid versions 4.034 to 4.035 and 4.045 to 4.054".

Regards,
KAM


Re: error on SA learning.

Posted by Michael Scheidell <mi...@secnap.com>.
On 12/11/11 8:16 AM, Sergio wrote:
> Hi all,
> I have run a function in my server to learn some email spams and it 
> shows up the following message:
>
> Running sa-learn for spam against [/home/spam/cur]
>

> Are they errors? if so, What they mean?
> *netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been 
> included
> netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been 
> included*
>
it means that the ipv6 localhost address has already been included.
Ignore this, these are not the droids you are looking for.


-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
 >*| *SECNAP Network Security Corporation

    * Best Mobile Solutions Product of 2011
    * Best Intrusion Prevention Product
    * Hot Company Finalist 2011
    * Best Email Security Product
    * Certified SNORT Integrator

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________