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 folders Nov 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-capability Nov 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 up Nov 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=688 Nov 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(rob@xxxx.org,xxxx): query: SELECT password, email AS user FROM users WHERE email = 'rob@xxxx.org'; Nov 5 09:32:45 venus dovecot: auth(default): client out: OK 1 user=rob@xxxx.org 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 rob@xxxx.org uid=5000 gid=5000 home=/var/mail/xxxx.org/rob Nov 5 09:32:45 venus dovecot: imap-login: Login: user=rob@xxxx.org, method=PLAIN, rip=xxxx, lip=xxxx Nov 5 09:32:45 venus dovecot: auth(default): new auth connection: pid=688 Nov 5 09:32:45 venus dovecot: IMAP(rob@xxxx.org): Loading modules from directory: /usr/lib/dovecot/imap Nov 5 09:32:45 venus dovecot: IMAP(rob@xxxx.org): Module loaded: /usr/lib/dovecot/imap/lib90_antispam_plugin.so Nov 5 09:32:45 venus dovecot: IMAP(rob@xxxx.org): 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 folders Nov 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 rob@xxxx.org Nov 5 09:32:45 venus dovecot: IMAP(rob@xxxx.org): maildir: data=/var/mail/xxxx.org/rob Nov 5 09:32:45 venus dovecot: IMAP(rob@xxxx.org): 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): 0 Nov 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