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@exim.org> 
Skickat: den 7 oktober 2022 11:46
Till: Users, Exim <exim-users@exim.org>
Ä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 = t...@test.de

and on the router:

   headers_add = X-From: ${acl_m0}

But the X-From Header is empty...

Any other idea?

Thanks
Luca Bertoncello
(lucab...@lucabert.de)

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


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

Reply via email to