Johannes Berg wrote:
On Wed, 2008-11-05 at 10:03 -0500, Rob Klingsten wrote:Hi folks -I am configuring a new system and the antispam plugin is the last piece I need, everything else is working. Thanks to Johannes for this plugin, it's exactly what I want and an elegant solution for filter training. But I've been trying everything I can think of for the last 3 days to get this to work, no success.I've got: Postfix 2.5.3, dspam 3.8.0, Dovecot 1.1.6, Maildrop 2.0.4 and dovecot-antispam 1.0 tarball. I've built dspam from source with --disable-trusted-user-security to try and isolate the source of the plugin problem, which is the message at the IMAP client "Failed to call dspam."Here's what I've got configured for the plugin:hmm. I wonder if there's a bug in debugv(), can you comment that call out in dspam-exec.c? johannes
Aha, that's getting closer ... I still got the 'Failed to call dspam' message, but dspam now seems to be called:
. . Nov 5 10:11:01 venus imap: antispam: "Spam" is spam folder Nov 5 10:11:01 venus imap: antispam: no unsure foldersNov 5 10:11:01 venus imap: antispam: dspam binary set to /usr/local/bin/dspam
Nov 5 10:11:01 venus imap: antispam: dspam extra arg --user [EMAIL PROTECTED]Nov 5 10:11:01 venus dovecot: IMAP([EMAIL PROTECTED]): maildir: data=/var/mail/janeandrob.org/rob Nov 5 10:11:01 venus dovecot: IMAP([EMAIL PROTECTED]): maildir++: root=/var/mail/xxxx.org/rob, index=, control=, inbox=/var/mail/xxxx.org/rob Nov 5 10:11:01 venus imap: antispam: signature header line is "X-DSPAM-Signature"
Nov 5 10:11:05 venus imap: antispam: mailbox_is_unsure(Spam): 0 Nov 5 10:11:05 venus imap: antispam: mailbox_is_trash(INBOX): 0 Nov 5 10:11:05 venus imap: antispam: mailbox_is_trash(Spam): 0 Nov 5 10:11:05 venus imap: antispam: mail copy: from trash: 0, to trash: 0 Nov 5 10:11:05 venus imap: antispam: mailbox_is_spam(INBOX): 0 Nov 5 10:11:05 venus imap: antispam: mailbox_is_spam(Spam): 1 Nov 5 10:11:05 venus imap: antispam: mailbox_is_unsure(INBOX): 0Nov 5 10:11:05 venus imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0
Nov 5 10:11:05 venus dspam[834]: Unable to determine the destination user Nov 5 10:11:05 venus dspam[834]: DSPAM agent misconfigured: abortingSo now what happened to the arguments to dspam? Thanks very much for the help!
Rob Klingsten
smime.p7s
Description: S/MIME Cryptographic Signature