Postfix + Dovecot + sieve (vacation) not working for email aliases - FIX
08-17-2016, 08:07 PM
(This post was last modified: 08-17-2016, 09:21 PM by paknet.)
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...
and replace it with...
Done!
Original article was found at serverfault
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