[Dovecot] AntiSpam Plugin issue

Leander S. leander.schaefer at googlemail.com
Sun Jul 25 21:47:13 EEST 2010


  Hi,

I'm getting following error when I try to make use of the antispam plugin:

/[SERVERBUG] failed to send email
/

There wasn't that much to configure ?! What am I doing wrong ?!



server [~]# dovecot -n
# 1.2.12: /usr/local/etc/dovecot.conf
# OS: FreeBSD 8.1-RELEASE amd64  ufs
protocols: imap imaps pop3 pop3s managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): *:2000
ssl_cert_file: /etc/ssl/mail/mail.cert
ssl_key_file: /etc/ssl/mail/mail.key
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login
login_greeting: Mail System
verbose_proctitle: yes
first_valid_uid: 2000
first_valid_gid: 2000
mail_privileged_group: mail
mail_location: maildir:/var/mail/%d/%n
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_plugins(default): quota imap_quota autocreate antispam
mail_plugins(imap): quota imap_quota autocreate antispam
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
imap_client_workarounds(default): outlook-idle
imap_client_workarounds(imap): outlook-idle
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
managesieve_implementation_string(default): dovecot
managesieve_implementation_string(imap): dovecot
managesieve_implementation_string(pop3): dovecot
managesieve_implementation_string(managesieve): NetOcean
lda:
   postmaster_address: admin at server
   mail_plugins: sieve
   log_path: /var/log/dovecot-deliver.log
   info_log_path: /var/log/dovecot-deliver.log
auth default:
   mechanisms: cram-md5
   username_format: %Lu
   passdb:
     driver: sql
     args: /usr/local/etc/dovecot-sql.conf
   userdb:
     driver: sql
     args: /usr/local/etc/dovecot-sql.conf
   socket:
     type: listen
     client:
       path: /var/spool/postfix/private/auth
       mode: 432
       user: postfix
       group: postfix
     master:
       path: /var/run/dovecot/auth-master
       mode: 384
       user: dovecot
       group: dovecot
plugin:
   autocreate: Trash
   autocreate2: Sent
   autocreate3: Drafts
   autocreate4: Spam
   autocreate5: Virus
   autosubscribe: Trash
   autosubscribe2: Sent
   autosubscribe3: Drafts
   autosubscribe4: Spam
   autosubscribe5: Virus
   sieve: ~/.dovecot.sieve
   sieve_dir: ~/sieve
   sieve_global_path: /usr/local/etc/dovecot/sieve/default.sieve
   antispam_mail_sendmail: /usr/local/bin/sa-learn
   antispam_mail_spam: --spam
   antispam_mail_notspam: --ham
   antispam_mail_tmpdir: /tmp
   antispam_spam_pattern_ignorecase: junk;spam
   antispam_trash_pattern_ignorecase: trash;Deleted *




Thanks



More information about the dovecot mailing list