RE: Upgrading to SpamAssassin 3.3

2010-03-18 Thread Kaleb Hosie
I have figured it out. I downloaded the source for an old version of NetAddr:IP 
from:
http://search.cpan.org/~luismunoz/NetAddr-IP-4.007/IP.pm#INSTALLATION

After compiling that code, it worked.

I have one issue with Spamassassin right now though. I use a program called 
SpamAssassin Quarantine that holds onto the message if SA detects it as SPAM. 
If I release the message, the original message is in an attachement instead of 
the original message being sent to their inbox. Is there a way to change that 
back?


-Original Message-
From: R P Herrold [mailto:herr...@owlriver.com]
Sent: Wednesday, March 17, 2010 1:42 PM
To: Kaleb Hosie
Cc: users@spamassassin.apache.org
Subject: RE: Upgrading to SpamAssassin 3.3

On Wed, 17 Mar 2010, Kaleb Hosie wrote:

> I do have a test VM so I thought I would go ahead and try out 3.3.0 for now. 
> I ran into a bit of an issue with the NetAddr::IP module. I've installed it 
> but when I try to install the built RPM file it gives me this error:
>
> error: Failed dependencies:
>perl(NetAddr::IP) >= 4.000 is needed by
> perl-Mail-SpamAssassin-3.3.0-1.i386
>
> [r...@mailgate i386]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
> 4.027
>
> I've searched google and it seems that I'm not the first to have this problem 
> but I can't seem to find a solution. Have any of you run into this problem?

I gather all dependencies for the latest and greatest.  The SPPM package for 
that comes from EPEL a bit ago and will build under CentOS 5 -- see:
ftp://ftp.owlriver.com/pub/mirror/ORC/spamassassin/

I see Red Hat bleeding have moved on:
./mirror/redhat/rawhide/SRPMS/perl-NetAddr-IP-4.027-2.fc13.src.rpm

I note this banner during the rebuild of the latter:

Versions before 3.25 recognized by default IP addresses as returned by 
inet_aton. This is no longer the default. To enable this behavior again, the 
module must be use()d as

 use NetAddr::IP ':aton';

Versions before 4.08 recognized the above syntax. This behavior is 
fundamentally broken, is DEPRECATED and WILL BE REMOVED in version 5.0 Use this 
method to create new objects from 'aton's

 $ip = new_from_aton NetAddr::IP(inet_aton('1.2.3.4'))

Checking if your kit is complete...
...
--- quote ends

I'll rebuilt under CentOS 5 to remove the SRPM md5sum incompatability, and have 
pushed that perl-NetAddr-IP-4.027-2 ou.  The later version will appear on my 
mirror tomorrow in that same directory.

-- Russ herrold


RE: Upgrading to SpamAssassin 3.3

2010-03-18 Thread Kaleb Hosie
I restored my VM back to it's original snapshot and installed the module you 
uploaded to your website but it's giving me problems. Here's what I get:


[r...@mailgate ~]# rpm -ivh ./perl-NetAddr-IP-4.004-2.el5.src.rpm
warning: ./perl-NetAddr-IP-4.004-2.el5.src.rpm: Header V3 DSA signature: NOKEY, 

 key ID 217521f6
   1:perl-NetAddr-IPwarning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
### [100%]

[r...@mailgate ~]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
Can't locate NetAddr/IP.pm in @INC (@INC contains: 
/usr/lib/perl5/site_perl/5.8.   
  8/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_per  
   l 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor  

   _perl/5.8.8 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.8/i386-linux-thread-mu   
  lti 
/usr/lib/perl5/5.8.8 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.


Am I doing something wrong?

-Original Message-
From: R P Herrold [mailto:herr...@owlriver.com]
Sent: Wednesday, March 17, 2010 1:42 PM
To: Kaleb Hosie
Cc: users@spamassassin.apache.org
Subject: RE: Upgrading to SpamAssassin 3.3

On Wed, 17 Mar 2010, Kaleb Hosie wrote:

> I do have a test VM so I thought I would go ahead and try out 3.3.0 for now. 
> I ran into a bit of an issue with the NetAddr::IP module. I've installed it 
> but when I try to install the built RPM file it gives me this error:
>
> error: Failed dependencies:
>perl(NetAddr::IP) >= 4.000 is needed by
> perl-Mail-SpamAssassin-3.3.0-1.i386
>
> [r...@mailgate i386]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
> 4.027
>
> I've searched google and it seems that I'm not the first to have this problem 
> but I can't seem to find a solution. Have any of you run into this problem?

I gather all dependencies for the latest and greatest.  The SPPM package for 
that comes from EPEL a bit ago and will build under CentOS 5 -- see:
ftp://ftp.owlriver.com/pub/mirror/ORC/spamassassin/

I see Red Hat bleeding have moved on:
./mirror/redhat/rawhide/SRPMS/perl-NetAddr-IP-4.027-2.fc13.src.rpm

I note this banner during the rebuild of the latter:

Versions before 3.25 recognized by default IP addresses as returned by 
inet_aton. This is no longer the default. To enable this behavior again, the 
module must be use()d as

 use NetAddr::IP ':aton';

Versions before 4.08 recognized the above syntax. This behavior is 
fundamentally broken, is DEPRECATED and WILL BE REMOVED in version 5.0 Use this 
method to create new objects from 'aton's

 $ip = new_from_aton NetAddr::IP(inet_aton('1.2.3.4'))

Checking if your kit is complete...
...
--- quote ends

I'll rebuilt under CentOS 5 to remove the SRPM md5sum incompatability, and have 
pushed that perl-NetAddr-IP-4.027-2 ou.  The later version will appear on my 
mirror tomorrow in that same directory.

-- Russ herrold


RE: Upgrading to SpamAssassin 3.3

2010-03-17 Thread R P Herrold

On Wed, 17 Mar 2010, Kaleb Hosie wrote:


I do have a test VM so I thought I would go ahead and try out 3.3.0 for now. I 
ran into a bit of an issue with the NetAddr::IP module. I've installed it but 
when I try to install the built RPM file it gives me this error:

error: Failed dependencies:
   perl(NetAddr::IP) >= 4.000 is needed by 
perl-Mail-SpamAssassin-3.3.0-1.i386

[r...@mailgate i386]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
4.027

I've searched google and it seems that I'm not the first to have this problem 
but I can't seem to find a solution. Have any of you run into this problem?


I gather all dependencies for the latest and greatest.  The 
SPPM package for that comes from EPEL a bit ago and will build 
under CentOS 5 -- see:

ftp://ftp.owlriver.com/pub/mirror/ORC/spamassassin/

I see Red Hat bleeding have moved on:
./mirror/redhat/rawhide/SRPMS/perl-NetAddr-IP-4.027-2.fc13.src.rpm

I note this banner during the rebuild of the latter:

Versions before 3.25 recognized by default IP addresses as 
returned by inet_aton. This is no longer the default. To 
enable this behavior again, the module must be use()d as


use NetAddr::IP ':aton';

Versions before 4.08 recognized the above syntax. This 
behavior is fundamentally broken, is DEPRECATED and WILL BE 
REMOVED in version 5.0 Use this method to create new objects 
from 'aton's


$ip = new_from_aton NetAddr::IP(inet_aton('1.2.3.4'))

Checking if your kit is complete...
...
--- quote ends

I'll rebuilt under CentOS 5 to remove the SRPM md5sum 
incompatability, and have pushed that perl-NetAddr-IP-4.027-2 
ou.  The later version will appear on my mirror tomorrow in 
that same directory.


-- Russ herrold


RE: Upgrading to SpamAssassin 3.3

2010-03-17 Thread Randal, Phil
How did you install it?  From CPAN or via (for example) rpmforge?

What does

   rpm -qa | grep NetAddr

tell you?

BTW, one other thing necessary with a 3.3.x install is an immediate
sa-update to get the rules, which are no longer included in the SA
tarball.

Cheers,

Phil
--
Phil Randal | Networks Engineer
NHS Herefordshire & Herefordshire Council  | Deputy Chief Executive's
Office | I.C.T. Services Division
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
Tel: 01432 260160
email: pran...@herefordshire.gov.uk

Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.

-Original Message-
From: Kaleb Hosie [mailto:kho...@spectraaluminum.com] 
Sent: 17 March 2010 16:26
To: users@spamassassin.apache.org
Subject: RE: Upgrading to SpamAssassin 3.3

I do have a test VM so I thought I would go ahead and try out 3.3.0 for
now. I ran into a bit of an issue with the NetAddr::IP module. I've
installed it but when I try to install the built RPM file it gives me
this error:

error: Failed dependencies:
perl(NetAddr::IP) >= 4.000 is needed by
perl-Mail-SpamAssassin-3.3.0-1.i386

[r...@mailgate i386]# perl -le 'use NetAddr::IP; print
NetAddr::IP->VERSION'
 4.027

I've searched google and it seems that I'm not the first to have this
problem but I can't seem to find a solution. Have any of you run into
this problem?

Thanks


-Original Message-
From: Randal, Phil [mailto:pran...@herefordshire.gov.uk]
Sent: Wednesday, March 17, 2010 11:46 AM
To: Kaleb Hosie; users@spamassassin.apache.org
Subject: RE: Upgrading to SpamAssassin 3.3

3.3.0 works fine on CentOS 5.4, but 3.3.1 is due out imminently (in the
next week or two), so I'd hold back for that.

Read the release notes carefully and ensure that 3.3.x's prerequisites
are installed.

If you have a test VM you can install on, use it.  I tested on a CentOS
5.4 VM on my home PC :-)

Updating was plain sailing for me.

Cheers,

Phil

--
Phil Randal | Networks Engineer
NHS Herefordshire & Herefordshire Council  | Deputy Chief Executive's
Office | I.C.T. Services Division Thorn Office Centre, Rotherwas,
Hereford, HR2 6JT
Tel: 01432 260160
email: pran...@herefordshire.gov.uk

Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.

-Original Message-
From: Kaleb Hosie [mailto:kho...@spectraaluminum.com]
Sent: 17 March 2010 15:36
To: users@spamassassin.apache.org
Subject: Upgrading to SpamAssassin 3.3

Hello,
I'm running SA 3.2.5 on CentOS 5.4 and I've noticed that a newer major
release has been released. The server is currently in production so I'm
a bit leery to upgrade.

Do you feel that it is worth the upgrade to 3.3? Is there anything I
should know before I go ahead and upgrade?

Thanks for your help
Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Herefordshire Council.
You should be aware that Herefordshire Council monitors its email service.
This e-mail and any attached files are confidential and intended solely for the 
use of the addressee. This communication may contain material protected by law 
from being passed on. If you are not the intended recipient and have received 
this e-mail in error, you are advised that any use, dissemination, forwarding, 
printing or copying of this e-mail is strictly prohibited. If you have received 
this e-mail in error please contact the sender immediately and destroy all 
copies of it.


RE: Upgrading to SpamAssassin 3.3

2010-03-17 Thread Kaleb Hosie
I do have a test VM so I thought I would go ahead and try out 3.3.0 for now. I 
ran into a bit of an issue with the NetAddr::IP module. I've installed it but 
when I try to install the built RPM file it gives me this error:

error: Failed dependencies:
perl(NetAddr::IP) >= 4.000 is needed by 
perl-Mail-SpamAssassin-3.3.0-1.i386

[r...@mailgate i386]# perl -le 'use NetAddr::IP; print NetAddr::IP->VERSION'
 4.027

I've searched google and it seems that I'm not the first to have this problem 
but I can't seem to find a solution. Have any of you run into this problem?

Thanks


-Original Message-
From: Randal, Phil [mailto:pran...@herefordshire.gov.uk]
Sent: Wednesday, March 17, 2010 11:46 AM
To: Kaleb Hosie; users@spamassassin.apache.org
Subject: RE: Upgrading to SpamAssassin 3.3

3.3.0 works fine on CentOS 5.4, but 3.3.1 is due out imminently (in the next 
week or two), so I'd hold back for that.

Read the release notes carefully and ensure that 3.3.x's prerequisites are 
installed.

If you have a test VM you can install on, use it.  I tested on a CentOS
5.4 VM on my home PC :-)

Updating was plain sailing for me.

Cheers,

Phil

--
Phil Randal | Networks Engineer
NHS Herefordshire & Herefordshire Council  | Deputy Chief Executive's Office | 
I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
Tel: 01432 260160
email: pran...@herefordshire.gov.uk

Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely for the 
use of the addressee. This communication may contain material protected by law 
from being passed on. If you are not the intended recipient and have received 
this e-mail in error, you are advised that any use, dissemination, forwarding, 
printing or copying of this e-mail is strictly prohibited. If you have received 
this e-mail in error please contact the sender immediately and destroy all 
copies of it.

-Original Message-
From: Kaleb Hosie [mailto:kho...@spectraaluminum.com]
Sent: 17 March 2010 15:36
To: users@spamassassin.apache.org
Subject: Upgrading to SpamAssassin 3.3

Hello,
I'm running SA 3.2.5 on CentOS 5.4 and I've noticed that a newer major release 
has been released. The server is currently in production so I'm a bit leery to 
upgrade.

Do you feel that it is worth the upgrade to 3.3? Is there anything I should 
know before I go ahead and upgrade?

Thanks for your help


Re: Upgrading to SpamAssassin 3.3

2010-03-17 Thread Dennis B. Hopp

On Wed, 2010-03-17 at 11:35 -0400, Kaleb Hosie wrote:
> Hello,
> I'm running SA 3.2.5 on CentOS 5.4 and I've noticed that a newer major 
> release has been released. The server is currently in production so I'm a bit 
> leery to upgrade.
> 
> Do you feel that it is worth the upgrade to 3.3? Is there anything I should 
> know before I go ahead and upgrade?
> 

I upgraded CentOS 5.4 to 3.3.0 and only ran into one issue which had
nothing to do with spamassassin.  The ugprade of spamassassin went fine
but I use it with maia-mailguard and the current stable version of
maia-mailguard does not work correctly with 3.3.0.  There is a patch in
the svn for maia that fixes the issue.

--Dennis



RE: Upgrading to SpamAssassin 3.3

2010-03-17 Thread Randal, Phil
3.3.0 works fine on CentOS 5.4, but 3.3.1 is due out imminently (in the
next week or two), so I'd hold back for that.

Read the release notes carefully and ensure that 3.3.x's prerequisites
are installed.

If you have a test VM you can install on, use it.  I tested on a CentOS
5.4 VM on my home PC :-)

Updating was plain sailing for me.

Cheers,

Phil

--
Phil Randal | Networks Engineer
NHS Herefordshire & Herefordshire Council  | Deputy Chief Executive's
Office | I.C.T. Services Division
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
Tel: 01432 260160
email: pran...@herefordshire.gov.uk

Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.

-Original Message-
From: Kaleb Hosie [mailto:kho...@spectraaluminum.com] 
Sent: 17 March 2010 15:36
To: users@spamassassin.apache.org
Subject: Upgrading to SpamAssassin 3.3

Hello,
I'm running SA 3.2.5 on CentOS 5.4 and I've noticed that a newer major
release has been released. The server is currently in production so I'm
a bit leery to upgrade.

Do you feel that it is worth the upgrade to 3.3? Is there anything I
should know before I go ahead and upgrade?

Thanks for your help
Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Herefordshire Council.
You should be aware that Herefordshire Council monitors its email service.
This e-mail and any attached files are confidential and intended solely for the 
use of the addressee. This communication may contain material protected by law 
from being passed on. If you are not the intended recipient and have received 
this e-mail in error, you are advised that any use, dissemination, forwarding, 
printing or copying of this e-mail is strictly prohibited. If you have received 
this e-mail in error please contact the sender immediately and destroy all 
copies of it.


Upgrading to SpamAssassin 3.3

2010-03-17 Thread Kaleb Hosie
Hello,
I'm running SA 3.2.5 on CentOS 5.4 and I've noticed that a newer major release 
has been released. The server is currently in production so I'm a bit leery to 
upgrade.

Do you feel that it is worth the upgrade to 3.3? Is there anything I should 
know before I go ahead and upgrade?

Thanks for your help