Re: [exim] exim as secondary, need it to re-write some heade…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Magnus Holmgren
Dátum:  
Címzett: Jerry M. Howell II
CC: exim-users
Tárgy: Re: [exim] exim as secondary, need it to re-write some headers
Jerry M. Howell II wrote:
> I have an issue and am not realy sure how to acomplish it. I am useing exim as my seconday mx. What I need it to do is rewrite the subject or apend to the subject of emails that hit it addressed to n2now.com something letting me know they are from n2now.com.


So, n2now.com is the domain you want your Exim installation to be a
secondary MX for?

Do you have a particular reason for rewriting the subject? Typically you
just tell the secondary to accept mail for your domain and route it as
any other mail. Depending on the policies in effect at the primary those
policies might need to be adjusted to treat the secondary differently.

Can you control the configuration of the primary MX? Otherwise there's
not much use of rewriting the subject as a means of just ensuring that
mail goes through, anyway.

Or maybe I'm assuming too much and you really just want to be able to
quickly tell if mail passed through the secondary. Exim, if i'm not
entirely confused, itself only rewrites addresses, not arbitrary
headers, so you would need to set up a router that pipes the mail to a
tool like formail, then back to Exim. Alternatively, create your own
local_scan() function =;-].

--
Magnus Holmgren