Package: spamassassin
Version: 3.0.3-1
Followup-For: Bug #300698
Unless I add the following to /etc/spamassassin/local.cf
dcc_dccifd_path /var/lib/dcc/dccifd
(or other cf) the socket is not found, not used. (and may I say that
the name of the option is confusing given that "PATH" is used in the
man page to refer to the dir in which a file lies, not to the file).
Here's a strace without the config option:
% strace -f spamassassin -t < /tmp/spamex5 | & grep -i dcc
read(8, ärm/) {\n dbg (\"DCCifd check"..., 4096) = 4096
read(8, "{body} of $self->{conf}->{dcc_bo"..., 4096) = 4096
stat("/usr/local/bin/dccproc", 0x503140) = -1 ENOENT (No such file or
directory)
stat("/bin/dccproc", 0x503140) = -1 ENOENT (No such file or
directory)
stat("/usr/bin/dccproc", {st_mode=S_IFREG|S_ISUID|0755, st_size=530728,
...}) = 0
stat("/usr/bin/dccproc", {st_mode=S_IFREG|S_ISUID|0755, st_size=530728,
...}) = 0
stat("/usr/bin/dccproc", {st_mode=S_IFREG|S_ISUID|0755, st_size=530728,
...}) = 0
[pid 26671] execve("/usr/bin/dccproc", ["/usr/bin/dccproc", "-H", "-R"], [/*
54 vars */]) = 0
[pid 26671] chdir("/var/lib/dcc") = 0
[pid 26671] open("/var/lib/dcc/map", O_RDWR) = -1 EACCES (Permission denied)
[pid 26671] write(2, öpen(/var/lib/dcc/map): Permissi"..., 41 <unfinished
...>
[pid 26661] <... read resumed> öpen(/var/lib/dcc/map): Permissi"..., 4096) =
41
[pid 26671] sendto(3, "<19>May 3 12:41:14 dccproc[2667"..., 77, 0, NULL, 0)
= 77
and here's one with the option in place:
% strace -f spamassassin -t < /tmp/spamex5 | & grep -i dcc
read(8, ärm/) {\n dbg (\"DCCifd check"..., 4096) = 4096
read(8, "{body} of $self->{conf}->{dcc_bo"..., 4096) = 4096
stat("/var/lib/dcc/dccifd", {st_mode=S_IFSOCK|0666, st_size=0, ...}) = 0
(fin)
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.15.5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages spamassassin depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii libdigest-sha1-perl 2.10-1 NIST SHA-1 message digest algorith
ii libhtml-parser-perl 3.45-2 A collection of modules that parse
ii perl [libstorable-perl] 5.8.4-8 Larry Wall's Practical Extraction
ii spamc 3.0.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