Using the postfix autoreply.pl script, I have noticed a somewhat annoying issue...
Let's say [email protected] has an autoreply set on their email (via /etc/aliases). Now, when one sends an email to user1, CCing user2, an autoreply will come back from user1, and the mail will continue to user2 as normal. However, if one sends an email to user2, CCing user1, the autoreply comes back to the user from the user2 account (i.e. in the email headers, the sender of the autoreply is listed as [email protected], instead of as user1). This occurs regardless of how many users one sends the email to (provided user1 is not listed first in the TO field, or is listed anywhere in the CC or BCC field).
Does any of this make sense? Anyone know what's going on here? I would quite like to get it sorted out.
Thanks
Let's say [email protected] has an autoreply set on their email (via /etc/aliases). Now, when one sends an email to user1, CCing user2, an autoreply will come back from user1, and the mail will continue to user2 as normal. However, if one sends an email to user2, CCing user1, the autoreply comes back to the user from the user2 account (i.e. in the email headers, the sender of the autoreply is listed as [email protected], instead of as user1). This occurs regardless of how many users one sends the email to (provided user1 is not listed first in the TO field, or is listed anywhere in the CC or BCC field).
Does any of this make sense? Anyone know what's going on here? I would quite like to get it sorted out.
Thanks