#324 Not receiving original mail with autoresponder set

Michal Ludwiczak

Hi there,
I've been trying to figure out why, with vacation set in PA (Debian 7.6, postfix+amavis+spamassassin+clamav+PA with vacation.pl), the original message does not go to recipient mailbox, only the autoresponse is sent to the sender. When vacation is not set, all works well, mail is delivered correctly to the mailbox. With phpmyadmin I found out that when I set vacation for a user, PA adds an enrty in alias table (mysql), containning:
address: user@mydomain goto: user#mydomain@autoreply.mydomain.
This however results in only 1 mail beeing sent - the autoresponse to the sender, no original mail is being delivered to the recipient. I've made a manual edit of this entry and set the goto field to:
user#mydomain@autoreply.mydomain, user@mydomain
and now both mails go where they should - original to the recipient, autoresponse to the sender.
I wonder is this a bug, or did I not set something right (I looked through the config.inc couple of times though)?


  • I've made a little tweak by adding:
    $vacation_goto .= ',' . $fUsername;
    at line 63 of edit-vacation.php and it does what it should :)

  • I've heard of this bug, but was never able to reproduce it :-(

    Can you please give me an exact reproducer? (Starting with "login as $role", and ideally with a newly created mailbox to be sure there's no side effect from something else.)

    • status: open --> pending