Package: mimedefang
Version: 2.48-1
Severity: normal
In changelog.gz, a while back, it reads:
--
2004-07-15 David F. Skoll <[EMAIL PROTECTED]>
* Move /etc/mail/spamassassin/sa-mimedefang.cf to
/etc/mail/sa-mimedefang.cf *** NOTE INCOMPATIBILITY ***
--
However, if you look at /usr/bin/mimedefang.pl, it is looks for the
user_prefs file like this:
--
if (!defined($config)) {
if (-r "/etc/sa-mimedefang.cf") {
$config = "/etc/sa-mimedefang.cf";
} elsif (-r "/etc/spamassassin/sa-mimedefang.cf") {
$config = "/etc/spamassassin/sa-mimedefang.cf";
} elsif (-r "/etc/spamassassin/local.cf") {
$config = "/etc/spamassassin/local.cf";
} else {
$config = "/etc/spamassassin.cf";
}
}
--
This way, it never finds sa-mimedefang.cf.
If you change debian/rules configure command to specify
"--with-confsubdir=mail" (2 locations, one commented out) then it finds it. I
don't know if this is the best way to fix this, however.
I am a bit confused about which rules files spamassassin uses when run from
mimedefang anyway. Doesn't SpamAssassin find /etc/spamassassin/local.cf
anyway? If so, why does mimedefang.pl also specify it as userprefs_filename
(in the case where sa-mimedefang.cf is not present above)?
Is there a difference between "rules" files and "user prefs" files?
Also, the man page for Mail::SpamAssassin::Conf mentions that some items are
privileged and cannot appear in the user prefs file. I am assuming that when
mimedefang.pl calls Mail::SpamAssassin->new() with userprefs_filename =
"/etc/mail/sa-mimedefang.cf" (or whatever) that this file cannot contain
"privileged" items? Is this a problem?
Sorry if I am off track, but I have looked through mimedefang.pl and
SpamAssassin.pm, and the man pages, and it seems awfully convoluted to specify
a prefs file when running SpamAssassin under mimedefang.
-Jonathan Hankins
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mimedefang depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdigest-sha1-perl 2.10-1 NIST SHA-1 message digest algorith
ii libio-stringy-perl 2.109-3 Perl5 modules for IO from scalars
ii libmailtools-perl 1.62-1 Manipulate email in perl programs
ii libmime-perl 5.415-1 Perl5 modules for MIME-compliant m
ii libperl5.8 5.8.4-6 Shared Perl library
ii libunix-syslog-perl 0.100-4 Perl interface to the UNIX syslog(
ii perl [libmime-base64-per 5.8.4-6 Larry Wall's Practical Extraction
ii psmisc 21.5-1 Utilities that use the proc filesy
ii sendmail 8.12.11.Final-5 A powerful, efficient, and scalabl
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]