[Dovecot] Dovecot sieve with postfix.

Николай Клименко klimenko.n at theitidea.ru
Mon Nov 26 21:26:29 EET 2012


may be this is the best way

dovecot   unix  -       n       n       -       -       pipe
   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver  -f 
${sender} -d ${recipient} -a ${recipient}

parameter-a $ {recipient}
allow to keep the recipient's address in the headers "from:"


19.11.12 21:04, Fi4IT - Daniel Fischer пишет:
> 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
>>



More information about the dovecot mailing list