[Dovecot] sieve filters not being invoked

Colin Brace cb at lim.nl
Mon May 9 14:00:45 EEST 2011


On Mon, 09 May 2011 11:14:44 +0200, Stephan Bosch wrote:

> Is your MTA storing messages using the Dovecot LDA
> (http://wiki2.dovecot.org/LDA [1]) ? Check that thoroughly. Enable
> mail_debug to get more verbose logs. To definitively check whether 
> Sieve
> is working or not, you can invoke dovecot-lda manually. If it works
> then, the problem most likely lies with your MTA.

Thanks, I am almost there. It turns out I was missing this line from 
Postfix master.cf:

dovecot   unix  -       n       n       -       -       pipe
   flags=DRhu user=vmail:mail argv=/usr/local/libexec/dovecot/deliver -d 
${recipient}

In the dovecot-lda log, I am now seeing some action, but there is a 
permissions problem somewhere:

May 09 12:43:13 lda: Debug: Loading modules from directory: 
/usr/local/lib/dovecot
May 09 12:43:13 lda: Debug: Module loaded: 
/usr/local/lib/dovecot/lib90_sieve_plugin.so
May 09 12:43:13 lda: Error: userdb lookup: 
connect(/var/run/dovecot//auth-userdb) failed: Permission denied 
(euid=200(vmail) egid=6(mail) missing +w perm: 
/var/run/dovecot//auth-userdb, euid is not dir owner)
May 09 12:43:13 lda: Fatal: Internal error occurred. Refer to server 
log for more information.

Any idea where the problem is?

-- 
  Colin Brace
  Amsterdam
  http://lim.nl


Links:
------
[1] http://wiki2.dovecot.org/LDA
[2] mailto:20090729182144.4c9baf96 at example.com


More information about the dovecot mailing list