Package: mimedefang
Version: 2.57-1
Followup-For: Bug #366636

I ran into the same situation as described by Richard A Nelson, although
using mimedefang 2.57-1:

After a spamassassin rules / plugins update (with --allow-plugins) the
new filtering features were available using spamc/spamd but not via
mimedefang.

It took me a while to find out that the following patch would solve the
problem:

--- /usr/bin/mimedefang.pl.orig 2006-08-07 17:58:20.000000000 +0200
+++ /usr/bin/mimedefang.pl      2007-03-25 17:24:30.000000000 +0200
@@ -6413,7 +6413,7 @@
 sub spam_assassin_init (;$) {
     my($config) = @_;
     my $LOCAL_RULES_DIR = "/etc/spamassassin";
-    my $LOCAL_STATE_DIR = '/var/lib';
+    my $LOCAL_STATE_DIR = '/var/lib/spamassassin';

     unless ($Features{"SpamAssassin"}) {
        md_syslog('err', "$MsgID: Attempt to call SpamAssassin function, but 
SpamAssassin is not installed.");
--- end of patch

/var/lib/spamassassin is indeed the directory where sa-update stores its
data.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages mimedefang depends on:
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libdigest-sha1-perl           2.10-1     NIST SHA-1 message digest algorith
ii  libio-stringy-perl            2.110-1    Perl5 modules for IO from scalars 
ii  libmailtools-perl             1.74-0.1   Manipulate email in perl programs
ii  libmime-perl                  5.418-1    Perl5 modules for MIME-compliant m
ii  libperl5.8                    5.8.8-6.1  Shared Perl library
ii  libunix-syslog-perl           0.100-4    Perl interface to the UNIX syslog(
ii  perl [libmime-base64-perl]    5.8.8-6.1  Larry Wall's Practical Extraction 
ii  psmisc                        22.2-1     Utilities that use the proc filesy

Versions of packages mimedefang recommends:
ii  sendmail                      8.13.8-2   powerful, efficient, and scalable 
pn  tk8.3 | wish                  <none>     (no description available)

Additional version information:
ii  spamassassin     3.1.7-1          Perl-based spam filter using text analysis

-- debconf information:
  mimedefang/embedperl: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to