[Dovecot] Dovecot sieve with postfix.

Ben Morrow ben at morrow.me.uk
Mon Nov 19 18:47:54 EET 2012


At  6AM -0800 on 19/11/12 you (/#!/JoePea) wrote:
> 
> I can't get dovecot working with postfix. If I leave virtual_transport set
> to "virtual", I can send and receive messages just fine in roundcube. If I
> set virtual_transport to "dovecot", I can only send messages in roundcube,
> but incoming messages never arrive. Seems I can't get dovecot-lda to work.
> I need dovecot-lda in order for sieve filters to work.
> 
> Any idea what I'm doing wrong?
> 
> Here's `doveconf -n`:
> http://pastie.org/5401133
> 
> `postconf -n`:
> http://pastie.org/5401157
> 
> and `postconf -M`:
> http://pastie.org/5401177

The only obvious thing I can see wrong there is that you have

    mail_plugins = " sieve"

in dovecot.conf, which should be

    mail_plugins = sieve

but I don't know that that would prevent delivery.

Is Postfix deferring the message, or does it think it's been delivered?
What do you see in your logs when a message is delivered (since you've
redirected Dovecot away from syslog, you'd need to look at both
Postfix's and Dovecot's logs)?

What happens if you feed a message to dovecot-lda manually, as
'mailman'? Check the exitcode of lda and the logs, as well as seeing if
the message was delivered.

Since you've set up a dedicated transport for Dovecot, it would probably
be worth using LMTP instead of the LDA. It should be more efficient, and
since you're only using a single virtual user you can tell dovecot to
run the LMTP server as 'mailman' instead of root.

Ben




More information about the dovecot mailing list