[Dovecot] antispam plugin troubleshooting

Bradley Giesbrecht bradley.giesbrecht at gmail.com
Mon Jul 26 00:03:26 EEST 2010


I built the dovecot antispam plugin and renamed it so I could have  
multiple backends installed at the same time.
http://johannes.sipsolutions.net/Projects/dovecot-antispam

I tried recompiling antispam without renaming the .so and I get the  
same result indicated below.

All other plugins and the system as a whole has been functioning  
normally. Only when I add antispam plugin does dovecot not start and  
perform as expected.

What can I do to find the reason dovecot is not loading  
lib90_antispam_mailtrain_plugin.so successfully?

Below is some info I could think to supply for help.

Regards,
Bradley Giesbrecht

Mac OS X 10.5.8

dovecot antispam plugin 1.3

bash-3.2# tail -f /var/log/system.log | grep dovecot
Jul 25 13:51:07 trex org.macports.dovecot[10354]: ^AILoading modules  
from directory: /opt/local/lib/dovecot/imap
Jul 25 13:51:07 trex org.macports.dovecot[10354]: ^AIModule loaded: / 
opt/local/lib/dovecot/imap/lib20_autocreate_plugin.so
Jul 25 13:51:08 trex org.macports.dovecot[10354]: Error: imap dump- 
capability process killed with signal 11
Jul 25 13:51:08 trex org.macports.dovecot[10354]: Fatal: Invalid  
configuration in /opt/local/etc/dovecot/dovecot.conf

bash-3.2# file /opt/local/lib/dovecot/imap/ 
lib90_antispam_mailtrain_plugin.so
/opt/local/lib/dovecot/imap/lib90_antispam_mailtrain_plugin.so: Mach-O  
executable ppc

bash-3.2# dovecot --version
1.2.11

bash-3.2# dovecot -n
# 1.2.11: /opt/local/etc/dovecot/dovecot.conf
# OS: Darwin 9.8.0 Power Macintosh  hfs
log_path: /opt/local/var/serveza/log/mail/dovecot.log
protocols: imap imaps pop3 pop3s managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): *:2000
disable_plaintext_auth: no
login_dir: /opt/local/var/run/dovecot/login
login_executable(default): /opt/local/libexec/dovecot/imap-login
login_executable(imap): /opt/local/libexec/dovecot/imap-login
login_executable(pop3): /opt/local/libexec/dovecot/pop3-login
login_executable(managesieve): /opt/local/libexec/dovecot/managesieve- 
login
mail_max_userip_connections: 30
mail_location: dbox:/opt/local/var/serveza/mail/%d/%n/dbox
mail_debug: yes
mail_executable(default): /opt/local/etc/dovecot/bin/log_imap_login.sh
mail_executable(imap): /opt/local/etc/dovecot/bin/log_imap_login.sh
mail_executable(pop3): /opt/local/etc/dovecot/bin/log_pop3_login.sh
mail_executable(managesieve): /opt/local/libexec/dovecot/managesieve
mail_plugins(default): autocreate antispam_mailtrain
mail_plugins(imap): autocreate antispam_mailtrain
mail_plugins(pop3):
mail_plugins(managesieve):
mail_plugin_dir(default): /opt/local/lib/dovecot/imap
mail_plugin_dir(imap): /opt/local/lib/dovecot/imap
mail_plugin_dir(pop3): /opt/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /opt/local/lib/dovecot/managesieve
lda:
   postmaster_address: postmaster at pixilla.com
   hostname: ix.databoost.com
   sendmail_path: /opt/local/sbin/sendmail
   auth_socket_path: /opt/local/var/run/dovecot/auth-master
   log_path: /opt/local/var/serveza/log/mail/dovecot-deliver.log
   mail_plugins: sieve
auth default:
   mechanisms: plain login cram-md5 ntlm apop
   debug: yes
   passdb:
     driver: sql
     args: /opt/local/etc/dovecot/dovecot_mysql.conf
   userdb:
     driver: prefetch
   userdb:
     driver: sql
     args: /opt/local/etc/dovecot/dovecot_mysql.conf
   socket:
     type: listen
     client:
       path: /opt/local/var/spool/postfix/private/auth
       mode: 432
       user: _postfix
       group: _postfix
     master:
       path: /opt/local/var/run/dovecot/auth-master
       mode: 384
       user: _vmail
plugin:
   sieve_before: /opt/local/var/serveza/mail/filter/sieve/global/before/
   sieve: /opt/local/var/serveza/mail/filter/sieve/%d/%n/active.sieve
   sieve_global_path: /opt/local/var/serveza/mail/filter/sieve/global/ 
default.sieve
   sieve_dir: /opt/local/var/serveza/mail/filter/sieve/%d/%n/sieve
   sieve_global_dir: /opt/local/var/serveza/mail/sieve/global/include/
   sieve_after: /opt/local/var/serveza/mail/filter/sieve/global/after/
   autocreate: Trash
   autocreate2: Spam
   autosubscribe: Trash
   autosubscribe2: Spam
   antispam_mailtrain_signature: X-DSPAM-Signature
   antispam_mailtrain_signature_missing: error
   antispam_mailtrain_trash_pattern_ignorecase: trash;Deleted *
   antispam_mailtrain_spam_pattern_ignorecase: SPAM*;Junk*
   antispam_mailtrain_dspam_binary: /opt/local/bin/dspam
   antispam_mailtrain_mail_tmpdir: /tmp
   antispam_mailtrain_mail_sendmail: /opt/local/sbin/sendmail
   antispam_mailtrain_crm_binary: /bin/false



More information about the dovecot mailing list