[exim] Re: headers_add :at_start: in routers

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Anton
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Re: headers_add :at_start: in routers
Jeremy, Lena,

Thank you for your advises.
It perfectly works at ACL time. No side effects with my config detected so far.

Thanks!

A.


Jeremy Harris via Exim-users wrote on 14-05-24 11:32:
> On 14/05/2024 09:25, Anton via Exim-users wrote:
>> Since a mail can be forwarded several times before reaching its final destination, it looks logical to put X-Forwarded header(s) at each hop [where it was forwarded].
>
> One might think so... but they don't actually say so.  They do suggest ARC,
> which supplies essentially the same information (but they don't say "one or the other",
> which feels like half-baked guidance to me).  I'd think they'd prefer ARC.
>
> I've opened https://bugs.exim.org/show_bug.cgi?id=3094 for the request for the Exim facility.
>
> In the meantime, you could use headers_add at ACL time, perhaps in combination
> with a recipient verify and use of $address_data to tell that the message is
> actually being forwarded rather than delivered locally.  You should probably
> not be adding the header for "locally-sourced" messages (for some definition
> of that; perhaps ones where $sender_domain is not handled by you per DNS?)


--
## 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/