-------- Original-Nachricht -------- > Datum: Thu, 17 Dec 2009 09:09:00 +0100 > Von: "list.ama...@antworte.me" <list.ama...@antworte.me> > An: amavis-user@lists.sourceforge.net > Betreff: [AMaViS-user] dspam integration in amavis
> > Hi, > Hallo Thomas, > I use debian lenny with postfix, amavis, spamassassin and try to integrate > dspam. > But in my messages are no dspam headers :-( > > dspam is defined > > ... > Dec 17 08:47:19 mail0 amavis[32508]: Found $file at > /usr/bin/file > Dec 17 08:47:19 mail0 amavis[32508]: Found $dspam at > /usr/bin/dspam > Dec 17 08:47:19 mail0 amavis[32508]: Found $altermime at > /usr/bin/altermime > ... > > and can be run as user amavis from commandline (sudo -u amavis dpam --help > works). > > When I change the 01-debian config to > > $dspam='dspam --debug'; > > then following error raises when processing an email: (Datei nicht > gefunden means File or Directory not found). > > Dec 17 08:27:23 mail0 amavis[31418]: (31398-01) (!)run_command: child > process [31418]: run_command: failed to exec /usr/bin/dspam --debug > --stdout --deliver=spam,innocent --mode=tum --tokenizer=chained,noise > --enable-signature-headers --user amavis: Datei oder Verzeichnis nicht > gefunden at /usr/sbin/amavisd-new line 2919, <GEN34> line 40. > That "Datei oder Verzeichnis nicht gefunden" is probably because DSPAM can not find the file it should check. How is the mail passed to DSPAM? Over a pipe? Or somehow differently? btw: I am the lead developer behind DSPAM and while I know that Debian is using ancient versions (3.6.8 patched with some Debian stuff) I can tell you right now that there is no run time option "--tokenizer" nor is there any "--enable-signature-headers". Is that something that the Debian guys have added to DSPAM? btw2: Since this morning we have RC2 of DSPAM 3.9.0 out. You should try it. It's much more stable then any older DSPAM version. If I read my Amavisd-New then I see this comment here mentioning DSPAM: # ['DSPAM', 'Amavis::SpamControl::ExtProg', $dspam, # [ qw(--stdout --classify --deliver=innocent,spam # --mode=tum --tokenizer=chained,noise # --user), $daemon_user ], # # use option --feature instead of --tokenizer with dspam < 3.8.0 # mail_body_size_limit => 65000, score_factor => 0.1, # ], This is just wrong. There was never a option called "--tokenizer". Not in 3.6.8, nor in 3.8.0 nor in 3.9.0. > Dec 17 08:27:23 mail0 amavis[31398]: (31398-01) (!)WARN: DSPAM problem, > exit 8, result= > Dec 17 08:27:26 mail0 postfix/smtpd[31420]: connect from > localhost[127.0.0.1] > Dec 17 08:27:26 mail0 postfix/smtpd[31420]: DE6BE21E0E: > client=localhost[127.0.0.1] > Dec 17 08:27:26 mail0 postfix/cleanup[31411]: DE6BE21E0E: > message-id=<gtube1.1010...@example.net> > Dec 17 08:27:27 mail0 postfix/qmgr[1101]: DE6BE21E0E: > from=<tir...@web.de>, size=1748, nrcpt=1 (queue active) > Dec 17 08:27:27 mail0 amavis[31398]: (31398-01) Passed SPAM, <x...@aaa.de> > -> <u...@zzz.com>, quarantine: q/spam-qKtn+z2l5UhU.gz, Message-ID: > <gtube1.1010...@example.net>, mail_id: qKtn+z2l5UhU, Hits: 1010.3, size: > 934, queued_as: DE6BE21E0E, 5675 ms > > Can you give me a hint how to debug or how to solve this problem? > > Thanks for your reply in advance. > > Thomas. > Steve > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/