[Dovecot Antispam] Can't seem to load plugin

James Lott james at lottspot.com
Sun Jul 19 02:38:23 UTC 2015


Hello list,

I'm hoping there is a user of the antispam plugin out there who might be able 
to lend a pointer or two.

I am running dovecot 2.2.18 on FreeBSD 10 (doveconf -n attached), where I 
have installed the binary dovecot2-antispam-plugin package. I have put 
together what should, in my estimation, be a working configuration for the 
plugin. I have reviewed the man page and the online documentation, and I 
think at the *very least* I should be seeing errors for something not working 
correctly. However, what I have is a great deal more troubling.

There is no sign on the plugin even attempting to load. No log entries, no 
errors, nothing. The plugin is definitely in the right place with the right 
name, since I let the package manager handle all of that for me

root at zerolag:~ # ls -l /usr/local/lib/dovecot/lib90_antispam_plugin.so 
-rwxr-xr-x  1 root  wheel  32488 Jul  2 09:41 
/usr/local/lib/dovecot/lib90_antispam_plugin.so

I am unable to make any sense of this. Thanks in advance for any pointers :)

-- 
James Lott
-------------- next part --------------
# 2.2.18: /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.8 (0c4ae064f307+)
# OS: FreeBSD 10.1-RELEASE-p10 amd64  
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lda_original_recipient_header = X-Original-To
mail_location = maildir:~/mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Spam {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
  separator = /
}
passdb {
  args = %s
  driver = pam
}
plugin {
  antispam_backend = crm114
  antispam_crm_args = --fileprefix=/home/%u/spamdb/
  antispam_crm_binary = /usr/local/etc/dovecot/filter/mailreaver.crm
  antispam_debug_target = syslog
  antispam_signature = X-CRM114-CacheID
  antispam_spam = Spam
  antispam_trash = Trash
  antispam_unsure = INBOX/Suspect
  recipient_delimiter = +
  sieve = file:~/filters;active=~/.main.sieve
  sieve_after = %h/.after.sieve
  sieve_before = %h/.before.sieve
  sieve_max_actions = 0
  sieve_max_script_size = 0
}
postmaster_address = mailstore at zerolag.lottspot.com
protocols = imap sieve
service auth {
  unix_listener auth-userdb {
    group = nobody
    mode = 0666
    user = nobody
  }
}
service imap-login {
  service_count = 0
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  service_count = 0
}
userdb {
  driver = passwd
}
protocol lda {
  mail_plugins = " sieve"
}
protocol imap {
  mail_plugins = " antispam"
  ssl_cert = </usr/local/ssl/lottspot.com/zerolag/zerolag.lottspot.com.chaincrt
  ssl_key = </usr/local/ssl/lottspot.com/zerolag/zerolag.lottspot.com.key
}
protocol sieve {
  ssl_cert = </usr/local/ssl/lottspot.com/zerolag/zerolag.lottspot.com.chaincrt
  ssl_key = </usr/local/ssl/lottspot.com/zerolag/zerolag.lottspot.com.key
}


More information about the dovecot mailing list