[Dovecot] antispam plugin problem
Danila
atckoe.zlo at gmail.com
Tue May 11 09:02:17 EEST 2010
Hi
I have installed a plug-in an antispam and when I try to move the message to a folder a spam mutt produces an error "Failed to call dspam."
Here's my configuration(all built from ports):
dovecot 1.2.11
dovecot-antispam 1.2_4,1
dspam 3.9.0_1
FreeBSD 8.0
Relevant sections from dovecot.conf:
protocol imap {
mail_plugins = antispam
...
}
plugin {
antispam_signature = X-DSPAM-Signature
antispam_dspam_result_header = X-DSPAM-Result
antispam_signature_missing = error
antispam_spam = SPAM;spam;JUNK
antispam_dspam_binary = /usr/local/bin/dspam
antispam_dspam_args = --client;--user vmail
antispam_crm_args = --config=/home/vmail
}
.config used by dovecot-antispam:
BACKEND=dspam-exec
PLUGINNAME=antispam
DEBUG=syslog
DEBUG_VERBOSE=1
May 11 10:54:09 evil imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0
May 11 10:54:09 evil imap: antispam: /usr/local/bin/dspam --source=error --class=spam --signature=4be87a9f953248352114216 --client --user vmail
May 11 10:54:09 evil imap: antispam: executing /usr/local/bin/dspam failed: 13 (uid=1009, gid=1010)
uid=1009, gid=1010 is vmail user
%> grep vmail /usr/local/etc/dspam.conf
Trust vmail
Thanks
More information about the dovecot
mailing list