Hi all, 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 Note: All I have to do is change virtual_transport = dovecot to virtual_transport = virtual and all will be fine, except for that I won't have sieve filtering which is what I really want. */#!/*JoePea
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/5401177The 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
Hello Joe, i use this: main.cf virtual_transport = dovecot master.cf dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} /etc/dovecot/conf.d/15-lda.conf protocol lda { log_path = /var/log/sieve.log mail_plugins = acl sieve } and that works fine with my tested clients (tb,outlook,roundcube) daniel Am 19.11.2012 15:17, schrieb /#!/JoePea:> Hi all, > > 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 > > Note: All I have to do is change virtual_transport = dovecot to > virtual_transport > = virtual and all will be fine, except for that I won't have sieve > filtering which is what I really want. > > */#!/*JoePea >-- Fischer Daniel FI4IT - that's it Messerschmittstrasse 17 89231 Neu Ulm Email: dfischer at fi4it.de Web: www.fi4it.de Telefon: 073180019370 Fax: 073180019375 Mobil: 01729230731