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@exim.org> Skickat: den 7 oktober 2022 11:14 Till: Users, Exim <exim-users@exim.org> Ä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 (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/