I just committed a fix to debugv(), can you try that? If you downloaded the tarball, get this one: http://git.sipsolutions.net/?p=dovecot-antispam.git;a=snapshot;h=HEAD;sf=tgz
If you can confirm that works I'll make a new release.
johannes The fixed version works perfectly, thank you very much!
And it prints the full command line to the syslog, I assume? Thanks for testing!
johannes
Yes, it's great!
Nov 5 10:50:10 venus imap: antispam: dspam binary set to /usr/local/bin/dspam Nov 5 10:50:10 venus imap: antispam: dspam extra arg --user Nov 5 10:50:10 venus imap: antispam: dspam extra arg rob@xxxx.org Nov 5 10:50:10 venus imap: antispam: signature header line is "X-DSPAM-Signature" Nov 5 10:50:13 venus imap: antispam: mailbox_is_unsure(INBOX): 0 Nov 5 10:50:13 venus imap: antispam: mailbox_is_trash(Spam): 0 Nov 5 10:50:13 venus imap: antispam: mailbox_is_trash(INBOX): 0 Nov 5 10:50:13 venus imap: antispam: mail copy: from trash: 0, to trash: 0 Nov 5 10:50:13 venus imap: antispam: mailbox_is_spam(Spam): 1 Nov 5 10:50:13 venus imap: antispam: mailbox_is_spam(INBOX): 0 Nov 5 10:50:13 venus imap: antispam: mailbox_is_unsure(Spam): 0 Nov 5 10:50:13 venus imap: antispam: mail copy: src spam: 1, dst spam: 0, src unsure: 0 Nov 5 10:50:13 venus imap: antispam: /usr/local/bin/dspam --source=error --class=innocent --signature=4911bedc107624643064458 --user rob@xxxx.org
Thanks!
Rob K