[Dovecot] Dovecot sieve with postfix.

/#!/JoePea trusktr at gmail.com
Mon Nov 26 12:59:27 EET 2012


Hi, thanks for the reply. I'm new to all this. How can I tell if postfix is
deferring messages, or if it thinks they've been delieverd? Where is the
postfix log?

How do I feed a message to dovecot-lda manually, as mailman?

How do I use LMTP instead of LDA?

*/#!/*JoePea


On Mon, Nov 19, 2012 at 8:47 AM, Ben Morrow <ben at morrow.me.uk> wrote:

> 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