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 }
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Lott wrote:> > 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 mefirst, enabled logging: wiki2.dovecot.org/Logging mail_debug=yes - -- Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iQEVAwUBVawFmHz1H7kL/d9rAQLKBAgAmELgzEkoejk3myXxpW7DQIBroRI05lSo RtL/MWm2rMtSuY+97cVgnX/8c6V/m6Ea5KgGyhMm4I/ZBfEHW2RsEeLQ4qEUzs+m d8dESDFjyB/3ILmTctjaVecHBAn0UXZOHouiCuq7lROKwT4/XVZ7kO+Sjm30mtlw yxw0+E41RDbS3pzDjrrKpkE968DtqWo3wM7mCq49zqcyEZClF/EIwmqRVEVAD7BT ZspsI74iU0ZdDQiAMi26boc96Gz1IJRFl0g2TxVtKard02p1fNkGxm6JER5onxgz 2VgTP7hUJy54PFhyxQQ4Mmo+gXwxokmJ+icFVsBFv7Rqsf93ps/ZXQ==tpQW -----END PGP SIGNATURE-----
Thanks for the pointer! Thanks to the enabled debug logging, I can now see that the plugin is at least loading root at zerolag:/usr/local/etc/dovecot # grep antispam /var/log/debug.log Jul 19 20:02:30 zerolag dovecot: imap(james.lott): Debug: Module loaded: /usr/local/lib/dovecot/lib90_antispam_plugin.so Jul 19 20:02:35 zerolag dovecot: imap(james.lott): Debug: Module loaded: /usr/local/lib/dovecot/lib90_antispam_plugin.so Jul 19 20:02:46 zerolag dovecot: imap(james.lott): Debug: Module loaded: /usr/local/lib/dovecot/lib90_antispam_plugin.so Jul 19 20:04:20 zerolag dovecot: imap(james.lott): Debug: Module loaded: /usr/local/lib/dovecot/lib90_antispam_plugin.so That seems to be about all I get though. Still nothing to indicate errors, and nothing to indicate that anything is being done when I move messages into spam. I suppose that probably means I've configured the folder paths incorrectly. I'll have to keep beating my head against it and see where it takes me. On Sunday, July 19, 2015 22:16:25 Steffen wrote:> James Lott wrote: > > 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 > > first, enabled logging: > wiki2.dovecot.org/Logging > > mail_debug=yes > > > -- > Steffen-- James Lott