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
Use:
remove_header = from
add_header = From: {$acl_m0}

and set acl_m0 instead.

That should work.

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

Hi list!

I'd like to rewrite the From-Header of the outgoing E-Mails.
So I added in the router:

headers_remove = From:
headers_add = From: ${acl_m_newfrom}

acl_m_newfrom was set in the rcpt-ACL.
Unfortunately the From-Header will be empty.

Can someone say me what I'm doing wrong?

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/