Cross-posting from the MD list. People are seeing the dying of spamd/spamc. I'm wondering if this issue isn't bad enough that we should mark the rc1 as do not download?

Also, not sure if this is related to bug 6176...

Regards,
KAM
----- Original Message ----- From: "David F. Skoll" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 30, 2009 10:16 AM
Subject: Re: [Mimedefang] SpamAssassin 3.3.0-rc1


Jason Bertoch wrote:

Has anyone tried SA 3.3.0-rc1 yet?

Yes, and it worked for us.  However, we specifically set a user_dir.
SA 3.3.0-rc1 dies if it can't create the user state directory
(See Mail::SpamAssassin->get_and_create_userstate_dir())

As a workaround until we fix MIMEDefang, you need to create your
own $SASpamTester in your filter, supplying an appropriate userstate_dir:

# Put this somewhere in your filter....

use vars qw($SASpamTester);

$SASpamTester = Mail::SpamAssassin::new({
      local_tests_only => 1, # or 0 depending on what you want
      dont_copy_prefs  => 1,
      userprefs_filename => '/etc/mail/sa-mimedefang.cf', # or whatever
      user_dir => '/some/path});

The directory '/some/path' will be used as the "home" directory for
SpamAssassin's purposes; it must be readable/writable/searchable by
the "defang" user.  A good choice might be /var/spool/MIMEDefang.

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Reply via email to