On Thu, 2008-11-13 at 23:44 +0100, Marko Weber wrote: > Hello Thorsten, > i got "dovecot-antispam" working now. > also moving mails now fully work. > but retraining dont seems to work fully. > > emails that are delivered to mailbox are scanned with user "clamav" > > 28799: [11/13/2008 23:26:25] DSPAM Instance Startup > 28799: [11/13/2008 23:26:25] input args: /usr/bin/dspam --stdout > --deliver=spam,innocent --mode=tum --tokenizer=chained,noise > --enable-signature-headers --user clamav > 28799: [11/13/2008 23:26:25] pass-thru args: --tokenizer=chained,noise > --enable-signature-headers > 28799: [11/13/2008 23:26:25] processing user clamav > 28799: [11/13/2008 23:26:25] uid = 105, euid = 105, gid = 449, egid = 1000 > 28799: [11/13/2008 23:26:25] loading preferences for user clamav > 28799: [11/13/2008 23:26:25] Loading preferences for uid 1 > > > i dont have a maildrop filter ready yet that move spam tagged mails into > SPAM folder. > all is delivered to "incoming". > when i now move the mail to SPAM; this is done by user "postfix" > > > > 28917: [11/13/2008 23:40:17] DSPAM Instance Startup > 28917: [11/13/2008 23:40:17] input args: /usr/bin/dspam --source=error > --class=spam --signature==?iso-8859-1?Q?1,491930ac25229173225906=0D?= > 28917: [11/13/2008 23:40:17] pass-thru args: > 28917: [11/13/2008 23:40:17] processing user postfix > 28917: [11/13/2008 23:40:17] uid = 207, euid = 207, gid = 207, egid = 1000 > 28917: [11/13/2008 23:40:17] loading preferences for user postfix > 28917: [11/13/2008 23:40:17] Loading preferences for uid 6 > 28917: [11/13/2008 23:40:17] Loading preferences for uid 0 > 28917: [11/13/2008 23:40:17] Loading preferences for uid 0 > 28917: [11/13/2008 23:40:17] default preferences empty. reverting to > dspam.conf preferences. > 28917: [11/13/2008 23:40:17] Loading preferences from dspam.conf > 28917: [11/13/2008 23:40:17] using > /var/spool/dspam/opt-in/local/postfix.dspam as path > 28917: [11/13/2008 23:40:17] using > /var/spool/dspam/opt-out/local/postfix.nodspam as path > 28917: [11/13/2008 23:40:17] sedation level set to: 0 > 28917: [11/13/2008 23:40:17] DSPAM Instance Shutdown. Exit Code: 0 > > > Now when i move the mail again into incoming (also done by user > postfix), the mail dont get tagged with "innocent" , it is still tagged > "spam". > > How do i get it work all under "clamav"
If you really have a single user for DSPAM, add "antispam_dspam_args = --user;clamav" to dovecot.conf. Also, the user running dovecot's mail process needs to be trusted by DSPAM. > and why are the removed mails from spam to incoming not tagged with > "inncoent" ? dovecot-antispam does not change any headers of the messages you move. > (do you need any logs?) > > thank you > > marko
signature.asc
Description: This is a digitally signed message part