Re: [exim] Rewriting From-Header

Top Page
Delete this message
Reply to this message
Author: Sebastian Nielsen
Date:  
To: 'Mailing List'
Subject: Re: [exim] Rewriting From-Header
You can't use it on router.
Use it in a acl mime data rule.

-----Ursprungligt meddelande-----
Från: Luca Bertoncello via Exim-users <exim-users@???>
Skickat: den 7 oktober 2022 11:46
Till: Users, Exim <exim-users@???>
Ämne: Re: [exim] Rewriting From-Header

Am 07.10.2022 11:24, schrieb Sebastian Nielsen via Exim-users:

Hi Sebastian,

> Use:
> remove_header = from
> add_header = From: {$acl_m0}
>
> and set acl_m0 instead.
>
> That should work.


Unfortunately not...
I tried now (just for test):

acl_check_rcpt_smtp:
   warn  set                acl_m0 = test@???


and on the router:

headers_add = X-From: ${acl_m0}

But the X-From Header is empty...

Any other idea?

Thanks
Luca Bertoncello
(lucabert@???)

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/