[exim] headers_add :at_start: in routers

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Anton
Datum:  
To: exim-users
Betreff: [exim] headers_add :at_start: in routers
Hello,

Accordingly to the Googles' recent changes
https://support.google.com/a/answer/81126?visit_id=638483404863497961-2571982079
https://support.google.com/a/answer/175365?hl=en&ref_topic=1354753

messages forwarded to Gmail should contain X-Forwarded-For: or
X-Forwarded-To: headers.

What is the best way to add them?

My problem is that I'm aware a message is forwarded only at the routers
level
(the final destination e-address is taken from /etc/aliases or ~/.forward)
and :at_start: option does not seems to work in transports:
the directive
headers_add = :at_start:X-Forwarded-For: $acl_m_For
adds the header in the main block and not in the beginning, which makes
it useless.

Thanks!

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-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/