Your message dated Sun, 08 May 2011 12:21:21 +0000
with message-id <[email protected]>
and subject line Bug#394443: fixed in dspam 3.9.1~rc1+git20110419.29261fb+dfsg-1
has caused the Debian Bug report #394443,
regarding dspam doesn't work when run as non-privileged users
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
394443: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394443
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dspam
Version: 3.6.8-4
Severity: important
Hello,
I am trying to get dspam to work with KMail according to this tutorial:
http://www.kde.nl/doc/kmail-dspam/
I let http://babelfish.altavista.com/babelfish/ translate it to english
for me.
Instead of compiling my own dspam I decided to use the latest debian
package.
First I fixed lots of permissions problems: Although dspam executable
is set gid like this
deepdance:~> ls -l /usr/bin/dspam
-rwxr-sr-x 1 dspam dspam 92196 2006-10-19 22:54 /usr/bin/dspam
It can't read /etc/dspam/dspam.config unless I do chmod a+r on it.
brk(0) = 0x805f000
brk(0x8080000) = 0x8080000
umask(06) = 022
open("/etc/dspam/dspam.conf", O_RDONLY) = -1 EACCES (Permission denied)
time([1161418817]) = 1161418817
It also cannot write to /var/spool/dspam unless I do chmod a+rwx on it.
I tried using the hash driver and the sqlite driver but I couldn't get
dspam to train a single message.
I did dspam_stats -H martin and fixed permissions again. Then I also
created missing directories
mkdir -p /var/spool/dspam/opt-in/local/martin.dspam
chmod -R a+rwx /var/spool/dspam/opt-in/
mkdir -p /var/spool/dspam/opt-out/local/martin.dspam
chmod -R a+rwx /var/spool/dspam/opt-out/
Then I even copied a prefs file so fix the last error in strace:
cp -a /etc/dspam/default.prefs /var/spool/dspam/data/local/martin/martin.prefs
I tried to train dspam, but it didnt work:
-----------------------------------------------------------------------
deepdance:/var/spool/dspam> dspam_train martin
/home/martin/Mail/.trash.directory/Spam/cur
/home/martin/Mail/Lichtvoll/cur
Taking Snapshot...
martin TP: 0 TN: 0 FP: 0 FN: 0 SC: 0 NC:
0
Training /home/martin/Mail/Lichtvoll/cur /
/home/martin/Mail/.trash.directory/Spam/cur corpora...
[test: nonspam] 1144529430.6436.aVaQZ:2,S result:
===== WOAH THERE =====
I was unable to parse the result. Test Broken.
-----------------------------------------------------------------------
I tried to use dspam as advised in the KMail tutorial referenced above:
martin@deepdance:~/Mail/.trash.directory/Spam/cur -> strace
/usr/bin/dspam --stdout --deliver=innocent,spam --mode=teft --class=spam
--source=error < 1161418412.32329.UkBkH:2,S
I got a long strace output that indicated no error (I will post it in an
extra mail). I also tried without strace.
Still I get:
deepdance:/var/spool/dspam> dspam_stats -H martin
martin:
TP True Positives: 0
TN True Negatives: 0
FP False Positives: 0
FN False Negatives: 0
SC Spam Corpusfed: 0
NC Nonspam Corpusfed: 0
TL Training Left: 2500
SHR Spam Hit Rate 100.00%
HSR Ham Strike Rate: 100.00%
OCA Overall Accuracy: 100.00%
Then I just gave up for now. As Mark Whitis I did not manage to find out
on how to make use of that package:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366478
One may think that it doesn't make sense to try to use dspam via KMail,
but there even is a tutorial indicating that it does work and before I deploy
it on a server I want to test it locally (replacing my KMail bogofilter setup i
which is at its end of scalability). I will now compile my own dspam
as instructed in the tutorial and look whether it works better.
Regards,
Martin
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-ck1-tp23-sws-2.2.8
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages dspam depends on:
ii adduser 3.97 Add and remove users and groups
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libdspam7 3.6.8-4 DSPAM is a scalable and statistica
ii libldap2 2.1.30-13+b1 OpenLDAP libraries
ii procmail 3.22-16 Versatile e-mail processor
Versions of packages dspam recommends:
pn clamav-daemon <none> (no description available)
ii dspam-doc 3.6.8-2.1 Documentation for dspam
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: dspam
Source-Version: 3.9.1~rc1+git20110419.29261fb+dfsg-1
We believe that the bug you reported is fixed in the latest version of
dspam, which is due to be installed in the Debian FTP archive:
dspam-dbg_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to main/d/dspam/dspam-dbg_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
dspam-doc_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
to main/d/dspam/dspam-doc_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
dspam-webfrontend_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
to main/d/dspam/dspam-webfrontend_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.debian.tar.gz
to main/d/dspam/dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.debian.tar.gz
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.dsc
to main/d/dspam/dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.dsc
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to main/d/dspam/dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
dspam_3.9.1~rc1+git20110419.29261fb+dfsg.orig.tar.gz
to main/d/dspam/dspam_3.9.1~rc1+git20110419.29261fb+dfsg.orig.tar.gz
libdspam7-dev_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to main/d/dspam/libdspam7-dev_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
libdspam7-drv-mysql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to
main/d/dspam/libdspam7-drv-mysql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
libdspam7-drv-pgsql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to
main/d/dspam/libdspam7-drv-pgsql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
libdspam7-drv-sqlite3_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to
main/d/dspam/libdspam7-drv-sqlite3_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
libdspam7_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
to main/d/dspam/libdspam7_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien Valroff <[email protected]> (supplier of updated dspam package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 08 May 2011 13:43:52 +0200
Source: dspam
Binary: dspam dspam-webfrontend libdspam7 libdspam7-dev libdspam7-drv-pgsql
libdspam7-drv-mysql libdspam7-drv-sqlite3 dspam-doc dspam-dbg
Architecture: source amd64 all
Version: 3.9.1~rc1+git20110419.29261fb+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian DSPAM Maintainers <[email protected]>
Changed-By: Julien Valroff <[email protected]>
Description:
dspam - Scalable, fast and statistical anti-spam filter
dspam-dbg - debugging symbols for dspam
dspam-doc - Documentation for DSPAM anti-spam filter
dspam-webfrontend - Webfrontend for DSPAM anti-spam filter
libdspam7 - Core message processing and classification functionality for DSPA
libdspam7-dev - Development headers for libdspam
libdspam7-drv-mysql - MySQL backend for DSPAM anti-spam filter
libdspam7-drv-pgsql - PostregSQL backend for DSPAM anti-spam filter
libdspam7-drv-sqlite3 - sqlite3 backend for DSPAM anti-spam filter
Closes: 394443
Changes:
dspam (3.9.1~rc1+git20110419.29261fb+dfsg-1) unstable; urgency=low
.
[ Julien Valroff ]
* New git snapshot
* Install all dspam_* tools setgid so that they can be used by standard
users
* Add symbols file for libdspam7
* Upload to unstable
.
[ Thomas Preud'homme ]
* Fix permissions on dspam_stats and missing opt-{in,out} directories
(Closes: #394443)
Checksums-Sha1:
20fb4080eac7de0d7b3e348911e9909d3b040b87 2272
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.dsc
12429c25579ab7b2926d8e8945285b65fa51d237 615683
dspam_3.9.1~rc1+git20110419.29261fb+dfsg.orig.tar.gz
6c827fc2f854659294f4a9ff332e8a3b4860611b 64189
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.debian.tar.gz
59f329c3dedbf159a1353a39f532b0e14e8f4d47 419974
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
110791fbaaacbf7340ff5cc93d3596530c37d48c 198478
dspam-webfrontend_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
c4b63f41fed812fd0860b19e64594014b806f55a 145894
libdspam7_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
379d7523ffe230927f49c06bf537d7d36162a3ad 165170
libdspam7-dev_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
37c5f5208fc71acb60719197337ed0a43df42fe1 133670
libdspam7-drv-pgsql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
083bfa098a53aac19dcca1b34ca96624909c4923 123906
libdspam7-drv-mysql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
858169019796fc0c5c77b3e3f44dcb5c8ddc9811 108124
libdspam7-drv-sqlite3_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
45e4c508f9c4122907e4f84e4c3f41493bc01ef0 125538
dspam-doc_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
ca38f165f41a28b30e6af263c696258eac71e8b5 602144
dspam-dbg_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
Checksums-Sha256:
e7170cf1ab39ecb330d50fffa821c8d1405ac0d8baee8c8d6294b81c9617c4bc 2272
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.dsc
5eece91fa45b461232d35b6945c6e9b84cdb86a2cbc81e0407ab7676bc8691d0 615683
dspam_3.9.1~rc1+git20110419.29261fb+dfsg.orig.tar.gz
34a7b60296d242a214456f491934d8d9a7ac52a2cf2b2d27a0979f5018d7e45b 64189
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.debian.tar.gz
4c32a658dbd0229278b0c2604c2c06eb43ff2d7235c0c00b5b73f4f879fe515a 419974
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
b0f0d5f5dd8e4ce0bff6c2ba1305b05a0655a766e1522dd8d34174ef49a62027 198478
dspam-webfrontend_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
a26f118c68b360c3235250bbef6b6a1c24ed928067fb96b77d49cd7032f9fb49 145894
libdspam7_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
e6aa218d7a4fe6e9fe340996d32c461f328bd31d6b01c2f730580d6675ae9dfe 165170
libdspam7-dev_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
7697a11a376a851053e6c49250c9527652bd4f94271e7b4728a0190f9838ee71 133670
libdspam7-drv-pgsql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
1c49c390aba63ad56d054fee748702fe0d2f8c61f1456cee23d40779f104b0ac 123906
libdspam7-drv-mysql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
e788676e98d417ef11a6b4d3c5282a225ff609b8d0a8adaadd917564d55d2974 108124
libdspam7-drv-sqlite3_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
f7d8f43a4823c769894c1d220787c449a4288fa18931e4638cdb712a3b7813b0 125538
dspam-doc_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
318d851535eca384099020d310082d3d249797c6add761d93e6528a1396c3b4e 602144
dspam-dbg_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
Files:
30016e77283a97dcac27fd48b1168978 2272 mail optional
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.dsc
4367a50180fc28a4e904429719998f99 615683 mail optional
dspam_3.9.1~rc1+git20110419.29261fb+dfsg.orig.tar.gz
11ba585393d4d2b372901b768541ddf2 64189 mail optional
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1.debian.tar.gz
1a91e59bff4650e1b004395e30e91b1a 419974 mail optional
dspam_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
d3a7f57e080dacb762c54b1400349aa1 198478 mail extra
dspam-webfrontend_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
5934a2c59aa539078a81935f1a136115 145894 libs optional
libdspam7_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
9b31af275cc203503ab0ea479954000a 165170 libdevel optional
libdspam7-dev_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
b21bbb80e4c950d685bdc4036d2b166b 133670 mail optional
libdspam7-drv-pgsql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
2072f0a18c7a90f1cbc5c96689cf2480 123906 mail optional
libdspam7-drv-mysql_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
052db0ea8a13301dd2138a39385b98dd 108124 mail optional
libdspam7-drv-sqlite3_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
fda9ab68cd089ab63717db1f0f289656 125538 doc optional
dspam-doc_3.9.1~rc1+git20110419.29261fb+dfsg-1_all.deb
292eaa15b74b8384225b8ef9d3f350f4 602144 debug extra
dspam-dbg_3.9.1~rc1+git20110419.29261fb+dfsg-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJNxoK4AAoJEIWf72cljiaxsdYQAIG5+h/zncBvmZyAZEEOUmgL
gK60asihti6B+C0bPCT93u/nATQZv2ZxHUuZdqM1iGwYj3pMFZ0GgTSsKfWFMpF0
n3Y2lUyHen5sUsPGh/z9A7FroW3mZYGuOsijTVM5rFYriWZArBfQPAwd/NLNnRe2
N1ibprrxI9/WXUCw7CMD3YUMZdmPfD0RGisMccoWHMjOrunVYfc3Y1mcFKJNtBk+
NiEhVh2KM+IfGiTf+D5m1XZdTLd/yU+bIRyACcLKhWqv0hT+gyosl57jMwaXlnQs
wumTF4VoNnyG0h/wczymLVMQYmh5qncRUZ7LsntTVMtw8oDhPeczB+UDFt5GaVu0
1hkNXC2xrE1kAM1Cv+TG8qS0KV1QODXoH1PaNXoznl2RcEU2IvqSlLi0QzKSJAW1
fh/AT8otFVoRuqolR//ognLfzpTMHTiT8dnJSV57jvTWSYLXxW7uWc00yHGnmMbE
QkNAONLhdceRcsF5jzAyWdqVzE3FTggghkjTJiCYsYoIAfPLQuJXaDn/eBWz5WPs
I9SS7q4fAoYje/hcU4mjgtOMBbjUyhSo8fDrTGtHcM/rQ73DcoR/ldcpdvy9xCl6
Swqq2G7HbsxCkJA+I/3IX+06OtfkOrbY4ophXtMugXOpP86wc9htnXcUxUzAGe9c
J8GQyC+MQLQxrvYEHTRY
=vARX
-----END PGP SIGNATURE-----
--- End Message ---