Package: spamassassin
Version: 3.2.3-1
Severity: normal
Tags: patch
I run spamc/spamd in a virtual user setting. I have the --create-prefs setting
set, and it works for the non-virtual users, but not for my virtual users.
I run a second spamd daemon with these options:
OPTIONS="--port=784 --create-prefs --max-children 12 --nouser-config
--helper-home-dir
--virtual-config-dir=/home/vmail/mail/%d/%l/.spamassassin --username=vmail"
I had to add this line to get the default preferences created.
~>diff /usr/sbin/spamd /usr/local/sbin/spamd-virtual
2122c2122
< info("spamd: using default config for $username: $prefsfile");
---
> # info("spamd: using default config for $username: $prefsfile");
2124a2125,2128
> # jondaley: for some reason, configuration files
> # aren't created for virtual users"
> create_default_cf_if_needed($prefsfile, $username, $userdir );
>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.6LimeDaley (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL
set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages spamassassin depends on:
ii libarchive-tar-perl 1.36-1 Archive::Tar - manipulate tar file
ii libdigest-sha1-perl 2.11-2 NIST SHA-1 message digest algorith
ii libhtml-parser-perl 3.56-1 A collection of modules that parse
ii libio-zlib-perl 1.04-1 IO:: style interface to Compress::
ii libnet-dns-perl 0.60-1 Perform DNS queries from a Perl sc
ii libsocket6-perl 0.19-1 Perl extensions for IPv6
ii libsys-hostname-long-perl 1.4-1 Figure out the long (fully-qualifi
ii libwww-perl 5.805-1 WWW client/server library for Perl
ii perl 5.8.8-12 Larry Wall's Practical Extraction
Versions of packages spamassassin recommends:
ii gcc 4:4.2.1-6 The GNU C compiler
ii gnupg 1.4.6-2 GNU privacy guard - a free PGP rep
ii libc6-dev 2.7-3 GNU C Library: Development Librari
pn libmail-spf-query-perl <none> (no description available)
pn libsys-syslog-perl <none> (no description available)
ii make 3.81-3 The GNU version of the "make" util
ii re2c 0.12.1-1 tool for generating fast C-based r
ii spamc 3.2.3-1 Client for SpamAssassin spam filte
-- debconf information:
spamassassin/upgrade/2.40:
spamassassin/upgrade/2.40w:
spamassassin/upgrade/cancel: Continue
spamassassin/upgrade/2.42m: No
spamassassin/upgrade/2.42u: No
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]