[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spamassassin dumps core with latest current.



On Tuesday, July 30, 2002, at 05:14 , Han wrote:
> I guess that that is not an option, but being patient and suffering  the
> spam is. I'll keep an eye on possible  solutions.  Thanks  for  pointing
> this out to me.

This seems to "fix" it.  Don't ask me why.  It's been a while since I 
hacked Perl, and I seems to don't remember the difference between "use" 
and "require".

--- /usr/local/bin/spamd.orig Tue Jul 30 20:31:54 2002
+++ /usr/local/bin/spamd        Tue Jul 30 20:29:31 2002
@@ -13,7 +13,7 @@
  use strict;
  use Socket;
  use Carp;
-use Mail::SpamAssassin;
+require Mail::SpamAssassin;
  use Mail::SpamAssassin::NoMailAudit;
  use Sys::Syslog qw(:DEFAULT setlogsock);
  use POSIX qw(setsid);

Ciao,
	...David

--
// david lebel <lebel@{lebel.org,nobiaze.com,openbsd.org}> //
// http://www.lebel.org/           http://www.nobiaze.com/ //
// pgp: 3633 6999 D47E 73ED 099F  4341 08A4 8E48 EF56 61D1 //