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: antispam_signature = X-DSPAM-Signature antispam_trash = trash;Trash;Deleted Items;Deleted Messages antispam_spam = SPAM;Spam antispam_dspam_binary = /usr/local/bin/dspam antispam_dspam_args = --user %u And here's what happens: Nov 5 09:31:29 venus imap: antispam: plugin initialising (1.0-notgit) Nov 5 09:31:29 venus imap: antispam: "trash" is trash folder Nov 5 09:31:29 venus imap: antispam: "Trash" is trash folder Nov 5 09:31:29 venus imap: antispam: "Deleted Items" is trash folder Nov 5 09:31:29 venus imap: antispam: "Deleted Messages" is trash folder Nov 5 09:31:29 venus imap: antispam: "SPAM" is spam folder Nov 5 09:31:29 venus imap: antispam: "Spam" is spam folder Nov 5 09:31:29 venus imap: antispam: no unsure foldersNov 5 09:31:29 venus imap: antispam: dspam binary set to /usr/local/bin/dspam
Nov 5 09:31:29 venus imap: antispam: dspam extra arg --user dump-capabilityNov 5 09:31:29 venus imap: antispam: signature header line is "X-DSPAM-Signature"
Nov 5 09:31:29 venus dovecot: Dovecot v1.1.6 starting upNov 5 09:31:29 venus dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (postfix)
Nov 5 09:31:30 venus dovecot: auth(default): new auth connection: pid=686 Nov 5 09:31:30 venus dovecot: auth(default): new auth connection: pid=687 Nov 5 09:31:30 venus dovecot: auth(default): new auth connection: pid=688Nov 5 09:32:45 venus dovecot: auth(default): client in: AUTH 1 PLAIN service=imap lip=xxxx rip=xxxx lport=143 rport=55904
Nov 5 09:32:45 venus dovecot: auth(default): client out: CONT 1 Nov 5 09:32:45 venus dovecot: auth(default): client in: CONT<hidden>Nov 5 09:32:45 venus dovecot: auth-worker(default): sql([EMAIL PROTECTED],xxxx): query: SELECT password, email AS user FROM users WHERE email = '[EMAIL PROTECTED]'; Nov 5 09:32:45 venus dovecot: auth(default): client out: OK 1 [EMAIL PROTECTED] Nov 5 09:32:45 venus dovecot: auth(default): master in: REQUEST 1 688 1 Nov 5 09:32:45 venus dovecot: auth(default): master out: USER 1 [EMAIL PROTECTED] uid=5000 gid=5000 home=/var/mail/xxxx.org/rob Nov 5 09:32:45 venus dovecot: imap-login: Login: user=<[EMAIL PROTECTED]>, method=PLAIN, rip=xxxx, lip=xxxx
Nov 5 09:32:45 venus dovecot: auth(default): new auth connection: pid=688Nov 5 09:32:45 venus dovecot: IMAP([EMAIL PROTECTED]): Loading modules from directory: /usr/lib/dovecot/imap Nov 5 09:32:45 venus dovecot: IMAP([EMAIL PROTECTED]): Module loaded: /usr/lib/dovecot/imap/lib90_antispam_plugin.so Nov 5 09:32:45 venus dovecot: IMAP([EMAIL PROTECTED]): Effective uid=5000, gid=5000, home=/var/mail/xxxx.org/rob
Nov 5 09:32:45 venus imap: antispam: plugin initialising (1.0-notgit) Nov 5 09:32:45 venus imap: antispam: "trash" is trash folder Nov 5 09:32:45 venus imap: antispam: "Trash" is trash folder Nov 5 09:32:45 venus imap: antispam: "Deleted Items" is trash folder Nov 5 09:32:45 venus imap: antispam: "Deleted Messages" is trash folder Nov 5 09:32:45 venus imap: antispam: "SPAM" is spam folder Nov 5 09:32:45 venus imap: antispam: "Spam" is spam folder Nov 5 09:32:45 venus imap: antispam: no unsure foldersNov 5 09:32:45 venus imap: antispam: dspam binary set to /usr/local/bin/dspam
Nov 5 09:32:45 venus imap: antispam: dspam extra arg --user [EMAIL PROTECTED]Nov 5 09:32:45 venus dovecot: IMAP([EMAIL PROTECTED]): maildir: data=/var/mail/xxxx.org/rob Nov 5 09:32:45 venus dovecot: IMAP([EMAIL PROTECTED]): maildir++: root=/var/mail/xxxx.org/rob, index=, control=, inbox=/var/mail/xxxx.org/rob Nov 5 09:32:45 venus imap: antispam: signature header line is "X-DSPAM-Signature"
Nov 5 09:32:45 venus imap: antispam: mailbox_is_unsure(Spam): 0 Nov 5 09:32:45 venus imap: antispam: mailbox_is_trash(INBOX): 0 Nov 5 09:32:45 venus imap: antispam: mailbox_is_trash(Spam): 0 Nov 5 09:32:45 venus imap: antispam: mail copy: from trash: 0, to trash: 0 Nov 5 09:32:45 venus imap: antispam: mailbox_is_spam(INBOX): 0 Nov 5 09:32:45 venus imap: antispam: mailbox_is_spam(Spam): 1 Nov 5 09:32:45 venus imap: antispam: mailbox_is_unsure(INBOX): 0Nov 5 09:32:45 venus imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0
Can anyone give me some more suggestions? thanks! Rob Klingsten
smime.p7s
Description: S/MIME Cryptographic Signature