Thank you for sharing your solution! That made my life easier.


Em 04/03/2018 08:08, Karol Augustin escreveu:
On 2018-03-03 21:47, Karol Augustin wrote:
On 2018-03-03 21:28, Stephan Bosch wrote:
Op 3/2/2018 om 3:35 PM schreef Karol Augustin:

I am using Dovecot LDA as LMTP renders envelope extension unusable.
from my
dovecot unix - n n - - pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f
${sender} -a ${original_recipient} -d ${user}@${nexthop}

Sorry for causing problems and wasting time. The problem was with
lacking -r parameter in LDA invocation:

"-r <address>: Final envelope recipient address. Defaults to -a address,
but may differ if e.g. aliases are used or when dropping the +ext part.
So the final recipient that is used by vacation was always set to the
original recipient value.

With the following Postfix config everything works exactly as expected.
Response is generated if mail is send to +exct address and is not
generated if it is send to an alias unless the alias is configured in
"addresses variable.

Also the sieve_vacation_use_original_recipient parameter works as

dovecot unix - n n - - pipe
    flags=OXDRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f
${sender} -a ${original_recipient} -r ${recipient} -d ${user}@${nexthop}


*Marcio Merlone*

Reply via email to