Hello,
we have problems with mail delivery at one of our customers. Therefore, we have created a rule that creates the X-Envelope-To in the header and inserts the __RECIEVER__ there.
This actually works quite well.
However, depending on who sends the mail, we have different behavior, which the customer's mail client unfortunately can't interpret properly. Here are two examples
When the orginal Header looks like this
the Server recieves two Mails both with the X-Envelope like this:
Unfortunately, the mail client cannot handle this and delivers the mail twice,
In another case the mail header looks like this
In this case the mail server manages to generate two seperate mails and in each one there is only the X-Envelope-To from ONE address.
Why is this happening?
Is it only in the line break?
Is there any way to prevent this? I want that ProxMox always has only ONE recipient address in the X-Envelope-To in each mail.
Thank you
Dennis
we have problems with mail delivery at one of our customers. Therefore, we have created a rule that creates the X-Envelope-To in the header and inserts the __RECIEVER__ there.
This actually works quite well.
However, depending on who sends the mail, we have different behavior, which the customer's mail client unfortunately can't interpret properly. Here are two examples
When the orginal Header looks like this
Code:
To: <user1@domain.com>,
<user2@domain.com>
the Server recieves two Mails both with the X-Envelope like this:
Code:
X-Envelope-To: user1@domain.com, user2@domain.com
Unfortunately, the mail client cannot handle this and delivers the mail twice,
In another case the mail header looks like this
Code:
To: User 1 <user1@domain.com>, "user2@domain.com" <user2@domain.com>
In this case the mail server manages to generate two seperate mails and in each one there is only the X-Envelope-To from ONE address.
Code:
X-Envelope-To: user1@domain.com
Why is this happening?
Is it only in the line break?
Is there any way to prevent this? I want that ProxMox always has only ONE recipient address in the X-Envelope-To in each mail.
Thank you
Dennis