This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by: MarkDark


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

Forum Jump:


Users browsing this thread: 1 Guest(s)