FAQ / Rewriting addresses / Q0807
| /Q0801 /Q0802 /Q0803 /Q0804 /Q0805 /Q0806 /Q0807 /Q0808 |
Q0807
Question
I want to rewrite local sender addresses depending on the domain of the recipient.
Answer
In general, this is not possible, because a message may have more than one recipient and Exim keeps just a single copy of each message. It may also deliver one copy of a message with several recipient addresses. You can do an incomplete job by using a regular expression match in a rewrite rule to test, for example, the contents of the To: header. This would work except in cases of multiple recipients.
| /Q0801 /Q0802 /Q0803 /Q0804 /Q0805 /Q0806 /Q0807 /Q0808 |
FAQ / Rewriting addresses / Q0807
