Re: [exim] exim rewrite envelope-from for one router only

2019-03-22 Thread Jeremy Harris via Exim-users
On 21/03/2019 18:15, Tim Watts via Exim-users wrote: > Do you think setting a magic X- header and picking that up in the > dnslookup routers might be sane? Perfectly possibly, with appropriate care. Don't forget to clean any such headers in ACL to avoid contamination from outside. Has the disadvan

Re: [exim] exim rewrite envelope-from for one router only

2019-03-22 Thread Tim Watts via Exim-users
On 21/03/2019 16:31, Jeremy Harris via Exim-users wrote: On 21/03/2019 15:56, Tim Watts via Exim-users wrote:> But I can see no way to change the SMTP-From/Envelope-From within a> router or indeed anywhere using the same conditions the router triggers on. return_path option, on the transport the

Re: [exim] exim rewrite envelope-from for one router only

2019-03-22 Thread Mueller via Exim-users
Try it this way: My Example, where @tplk.loc change to s @your.domain And /etc/exim/lokal_remote is the alias file change the path to where you want In the alias file: Your.real@your.domain : remote=my-alias[-bounces]@mydomain.example.com # REWRITE CONFIGURATION