Ian Z via Exim-users wrote on 14-05-24 19:12:
warn condition = ${if def:address_data}
add_header = :at_start:X-Forwarded-For: $address_data
Clearly this solution is only valid if the add_header action is
"lazily evaluated" i.e. delayed until actual delivery. Is that the
case?
Ian,
you have two ACL rules, first one (verify recipient) "fills" the $address_data,
the second rule (above) just checks if there is any data in the variable.
A.
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/