Postfix + Dovecot + sieve (vacation) not working for email aliases - FIX
#1
Postfix + Dovecot + sieve (vacation) not working for email aliases - FIX
I found out (well one of our customers did), that auto-reply sieve script (vacation - via Roundcube) is not working, when mail is sent to one or more email aliases.
But if you send an email to actual user auto-reply works just fine.

After a few hours of googling i found a solution for this problem...

You need to edit /etc/postfix/master.cf

Find...
Code:
# Dovecot LDA dovecot   unix  -       n       n       -       -       pipe  flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient}

and replace it with...
Code:
# Dovecot LDA dovecot   unix  -       n       n       -       -       pipe   flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${original_recipient}

Done!

Original article was found at serverfault
Reply
#2
RE: Postfix + Dovecot + sieve (vacation) not working for email aliases - FIX
(08-17-2016, 08:07 PM)paknet Wrote: I found out (well one of our customers did), that auto-reply sieve script (vacation - via Roundcube) is not working, when speedstars is sent to one or more email aliases.
But if you send an email to actual user auto-reply works just fine.
After a few hours of googling i found a solution for this problem...
You need to edit /etc/postfix/master.cf
Find...
Code:
# Dovecot LDA dovecot   unix  -       n       n       -       -       pipe  flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient}

and replace it with...
Code:
# Dovecot LDA dovecot   unix  -       n       n       -       -       pipe   flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${original_recipient}

Done!
Original article was found at serverfault


Wow. Great invention. Solved my problem. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Ubuntu: How to setup TLS on postfix and dovecot Diablo925 28 128 ,293 02-15-2018, 08:46 PM
Last Post: duane
Centos 7 | Postfix + Postgrey and other SPAM evasive actions paknet 4 27 ,429 10-11-2017, 09:45 AM
Last Post: wormsunited
CONTOS 7 - MailScanner - Postfix - Clam Antivirus ecomeda 1 12 ,285 04-19-2017, 09:32 AM
Last Post: Qtech

Forum Jump:


Users browsing this thread: 1 Guest(s)