Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-24 Thread Matthew Seaman
On Fri, Jan 23, 2004 at 07:13:02PM -0600, Thomas T. Veldhouse wrote:

 Why perl 5.8?  My 5.2 machine is running postfix, perl 5.6.1 and amavisd-new
 without any trouble at all.

perl-5.8.2 is the official stable and recommended version of perl by
the perl developers.  Actually, I tell a lie -- it's perl-5.8.3 now,
but that hasn't hit the ports tree yet.

I'm not sure why the ports are arranged such that lang/perl5 gives you
an older version of perl, and lang/perl5.8 gives you the latest --
rather than having lang/perl5.6 and lang/perl5.  Probably historical
reasons, although I think there is still an issue in perl-5.8.x to do
with using the system malloc vs. the malloc built into perl which can
sometimes (but not always) lead to performance troubles or memory
leaks (depending which one you choose), which is why perl-5.6.1 is
preferred by some.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-24 Thread Charles Swiger
On Jan 23, 2004, at 8:13 PM, Thomas T. Veldhouse wrote:
Why perl 5.8?  My 5.2 machine is running postfix, perl 5.6.1 and 
amavisd-new
without any trouble at all.
I don't believe that there is anything wrong with perl-5.6.x.

For that matter, I don't feel religious opposition to using the stock 
perl as shipped with FreeBSD 4.x, but even earlier versions of 
SpamAssassin recommended using 5.6 or later.  SA has a bunch of 
dependencies on various perl modules (HTML and MIME-handling stuff, 
mostly), and 5.8 obviously comes with a more recent version of such.

There is some dichotomy between upgrading Perl stuff via CPAN versus 
via the ports, which is why it might be reasonable for individuals to 
decide whether they want to follow the Perl archive directly or wait 
for the ports to be tested and updates committed.

--
-Chuck
PS: I don't have the port version of perl installed on most of my 
FreeBSD systems, but I do have 5.8 installed on everything which is 
running SpamAssassin.  Aside from an issue circa SA-2.6.1_2? or so 
where the Subject: header rewriting stopped working until the port was 
upgraded again (I think someone else mentioned this, too), SA+perl-5.8 
has been working well.  YMMV.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-23 Thread Charles Swiger
On Jan 23, 2004, at 1:07 PM, Michael Whitley wrote:
I have read through the archives and seen that newer versions of 
Spamassassin have fits with freebsd because of an outdated perl 
version. I noticed that there is a SpamAssassin 2.6 port out for 
freeBSD 4.9 but was wondering if anyone has had success with 
installing it on a 4.8 system?
FreeBSD 4.8 should be recent enough that you can use a modern ports 
tree without the CONFLICTS feature causing problems, so use CVSUP to 
update your ports tree to the current version.  From there, install 
/usr/ports/lang/perl5.8, and then run use.perl port.

That should give you the latest version of Perl, from which you can 
then install the p5-Mail-SpamAssassin port (or spamass-milter, or 
amavisd, or whatever).  You can also try installing the software via 
perl -MCPAN -e shell \;, and do an install Mail::SpamAssassin, but 
the ports mechanism is better tested.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-23 Thread Jack L. Stone
At 12:07 PM 1.23.2004 -0600, Michael Whitley wrote:
I have read through the archives and seen that newer versions of
Spamassassin have fits with freebsd because of an outdated perl version. I
noticed that there is a SpamAssassin 2.6 port out for freeBSD 4.9 but was
wondering if anyone has had success with installing it on a 4.8 system?

Michael
___

Yes, I'm running FBSD-4.8p14  I've recently updated SA-2.6x all the way to
the current SA-2.63.

Indeed, I had a 2-day fight with a break in a perl function that I finally
found that dealt with one of the learning DBs (Bayes). Specifically, the
locks on the DB became flaky. That suddenly occurred in 2.61_1. Thinking
more updates would cure it, no dice.

The log jam was causing a 30x jump (less than 1 sec to 30+) in the time to
process a message, and breaking the scans letting spam in.

After cleaning out the DB, all settled down again and messages are
processed in less than a sec again -- only an occasional spam slips in --
but Bayes DB needs to rebuild to be useful again too.

I've been told by one of the developers that SA-3.0 will require perl5.6.1.

BTW, this is the very first time I've experience any sort of (noticeable)
problem with SA and I've been using the program since SA-2.43. A great
filtering tool in spite of the recent problem which wasn't fatal.

Hope this helps.

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-23 Thread Lowell Gilbert
Michael Whitley [EMAIL PROTECTED] writes:

 I have read through the archives and seen that newer versions of
 Spamassassin have fits with freebsd because of an outdated perl
 version. I noticed that there is a SpamAssassin 2.6 port out for
 freeBSD 4.9 but was wondering if anyone has had success with
 installing it on a 4.8 system?

I reported (within the last few days) such a problem with the port
against -STABLE, but it was fixed within hours.  4.8 uses the same
perl as 4.9 (5.005_03), so it's vastly unlikely you'll have any
problem with 4.8.  Of course, 4.8 isn't officially supported by the
latest ports, but I don't think you should have any problems.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-23 Thread Jack L. Stone
At 02:04 PM 1.23.2004 -0500, Charles Swiger wrote:
On Jan 23, 2004, at 1:07 PM, Michael Whitley wrote:
 I have read through the archives and seen that newer versions of 
 Spamassassin have fits with freebsd because of an outdated perl 
 version. I noticed that there is a SpamAssassin 2.6 port out for 
 freeBSD 4.9 but was wondering if anyone has had success with 
 installing it on a 4.8 system?

FreeBSD 4.8 should be recent enough that you can use a modern ports 
tree without the CONFLICTS feature causing problems, so use CVSUP to 
update your ports tree to the current version.  From there, install 
/usr/ports/lang/perl5.8, and then run use.perl port.

That should give you the latest version of Perl, from which you can 
then install the p5-Mail-SpamAssassin port (or spamass-milter, or 
amavisd, or whatever).  You can also try installing the software via 
perl -MCPAN -e shell \;, and do an install Mail::SpamAssassin, but 
the ports mechanism is better tested.

-- 
-Chuck


For SA-2.6x, perl5.003 is fine. But as of yesterday, the developer advised
me that when SA-3.0 is released, perl5.6.1 is required and recommended --
see my earlier post.

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-23 Thread Thomas T. Veldhouse
Charles Swiger wrote:
 FreeBSD 4.8 should be recent enough that you can use a modern ports
 tree without the CONFLICTS feature causing problems, so use CVSUP to
 update your ports tree to the current version.  From there, install
 /usr/ports/lang/perl5.8, and then run use.perl port.

 That should give you the latest version of Perl, from which you can
 then install the p5-Mail-SpamAssassin port (or spamass-milter, or
 amavisd, or whatever).  You can also try installing the software via
 perl -MCPAN -e shell \;, and do an install Mail::SpamAssassin, but
 the ports mechanism is better tested.

Why perl 5.8?  My 5.2 machine is running postfix, perl 5.6.1 and amavisd-new
without any trouble at all.

Tom Veldhouse


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]