Re: [EXIM] Header rewrites

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Nathan Schuler
CC: exim-users
Subject: Re: [EXIM] Header rewrites
On Sat, 22 Nov 1997, Nathan Schuler wrote:

> I am probably missing something obvious, but I wish to implement header
> rewriting for my local machines. Basically I would have all mail that
> originates locally from sanasys.com or 206.101.242.* have the From: and
> Reply-To: changed to read "localuser@???".


Rewriting works on addresses and domains, and cannot be controlled by IP
address. It is also hard to define the word "originates". If a message
from somewhere outside gets to a machine in 206.101.242.* and the user
there causes it to be resent to some other recipient, I imagine that you
would not want the headers to be rewritten.

A rewriting rule of the form

*@*.sanasys.com $local_part@??? fr

would rewrite the From and Reply-to headers; add the F flag if you want
the envelope sender rewritten as well.


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***