8 Apr
2010
8 Apr
'10
9:44 a.m.
08.04.2010 10:35, Johannes Berg пишет:
On Thu, 2010-04-08 at 10:23 +0400, gerasew@gmail.com wrote:
I downloaded the source code plug-in version 1.3 from http://johannes.sipsolutions.net/download/dovecot-antispam/ Unpack and make from this .config file:
BACKEND=mailtrain DOVECOT=/usr/include/dovecot INSTALLDIR=/usr/lib/dovecot/modules/imap USER=root GROUP=root DEBUG=syslog DEBUG_VERBOSE=1 PLUGINNAME=antispam
Dovecot cofing file:
protocol imap { login_executable = /usr/lib/dovecot/imap-login mail_executable = /usr/lib/dovecot/imap mail_plugins = quota imap_quota antispam } plugin { antispam_mail_sendmail = /usr/bin/sa-learn antispam_mail_spam = --spam antispam_mail_notspam = --ham antispam_mail_tmpdir = /tmp antispam_trash_pattern_ignorecase = trash;Deleted * antispam_spam_pattern_ignorecase = junk;spam }
When move message into\from "Spam" folder get error:
[SERVERBUG] failed to send email
Are you using dovecot 1.2.11?
johannes
Yes.
# dovecot --version 1.2.11
# uname -a Linux test.ukon.local 2.6.26-2-xen-amd64 #1 SMP Fri Aug 14 10:19:53 UTC 2009 x86_64 GNU/Linux
# cat /etc/debian_version 5.0.4
Dovecot(dovecot-common, dovecot-imapd, dovecot-pop3d, dovecot-dev)
install from "testing" dist.