| /Q0501 /Q0502 /Q0503 /Q0504 /Q0505 /Q0506 /Q0507 /Q0508 /Q0509 /Q0510 /Q0511 /Q0512 /Q0513 /Q0514 |
Q0512
Question
I'm trying to reference the Envelope-To: header in my filter, but $h_envelope-to: is always empty.
Answer
Envelope-To: is added at delivery time, by the transport. Therefore, the header doesn't exist at filter time. In a user filter, the values you probably want are in $original_local_part and $original_domain. In a system filter, the complete list of all envelope recipients is in $recipients.
| /Q0501 /Q0502 /Q0503 /Q0504 /Q0505 /Q0506 /Q0507 /Q0508 /Q0509 /Q0510 /Q0511 /Q0512 /Q0513 /Q0514 |
