Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4648

Postfix + Dovecot + sieve (vacation) not working for email aliases - FIX

$
0
0
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

Viewing all articles
Browse latest Browse all 4648

Trending Articles