[Dovecot] compiling dovecot-sieve

Timo Sirainen tss at iki.fi
Mon Oct 16 01:21:26 UTC 2006


On Mon, 2006-10-16 at 13:08 +1300, Fintec wrote:
> Process:
> - compile, make, make install dovecot-sieve from cvs
> - cp "sievec" & "sieved" to /usr/libexec/dovecot/
> - cp lib90_cmusieve_plugin.a, .la & .so to /usr/lib64/dovecot/
> - cd /usr/lib64/dovecot/lda
> - ln -s ../lib90_cmusieve_plugin.a .

Here's the first problem. .a library is useless as a plugin and you
might as well delete it. You'll need the .so file.

> - Added plug-in info to dovecot.conf:
> protocol lda {
>   mail_plugins = cmusieve
>   mail_plugin_dir = /usr/lib64/dovecot/lda
> }
> - restarted dovecot
> 
> The trouble is that after adding a ".dovecot.sieve" file to a user home
> directory neither a .dovecot.sievec or .dovecot.sieve.err file is
> created and the sieve script doesn't work.
> 
> There doe not appear to be anything in the logs, how can I troubleshoot
> this problem?

This however tells that it doesn't even try to load the plugin. If it
can't load it it writes about it to log and dies at startup. Unless you
really used the .so file after all in the above step?

Anyway, try setting debug=yes inside the protocol lda {} and see what it
writes to log.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061016/b64bde34/attachment.pgp 


More information about the dovecot mailing list