Re: [exim] help with redirect router and filter after header…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Burnham
Ημερομηνία:  
Προς: exim-users@exim.org
Αντικείμενο: Re: [exim] help with redirect router and filter after header rewrite


That's what I tried first actually but for the life of me I could not
get headers_rewrite to work. It was ignored no matter what I try. I'm
using Debian wheezy and Exim 4.80.1 and I tried both using a Debian
macro REMOTE_SMTP_HEADERS_REWRITE and also manually adding the
headers_rewrite under the remote_smtp transport. That's why I resorted
to a global rewrite.

Any hints about debugging this?

----
Dunno about the Debian split config stuff, I'm afraid. Despite running Debian on various boxes, I'm so used to the Exim config that I just use a single file config. However, just done some quick tests on my workstation here. So I have a router:

admin_route:
driver = manualroute
transport = remote_smtp2
domains = <some domains>
route_list = * <where I'm sending it>

Then I have a transport:

remote_smtp2:
driver = smtp
headers_rewrite = *@admin.cam.ac.uk $1@??? f

And that seems to do what I want it to.

John