FAQ / Filtering / Q0512



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.



FAQ / Filtering / Q0512


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Filtering/Q0512 (last edited 2008-09-25 11:39:32 by localhost)