Re: Address re-writing in Exim

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Nigel R. Armfield, Scott Stevens
CC: exim-users
Subject: Re: Address re-writing in Exim
On Fri, 8 Aug 1997, Nigel R. Armfield wrote:

> A feature of our PP configuration is that addresses which do not
> exist in the tables cannot EMail out of this site. The most
> useful result of this feature is that badly formed return addresses
> are not let out of the site.
>
> With Exim, I'm not sure how to achieve the same thing - what
> I really want is for Exim to return/dump any EMail which contains
> an originator's address which cannot be rewritten.


I have made a note to think about this for some future version of Exim.
(But not the next one.)


On Fri, 8 Aug 1997, Scott Stevens wrote:

> Well I've looked at it (sender_verify et al.). Unfortunately, it seems that
> although there is a sender_verify_except_{hosts,nets} there's no
> sender_verify_{hosts,nets}. So sender verification cannot do limited
> to local net only.


That is true. Usually people want to *except* their local hosts/nets...


On Mon, 11 Aug 1997, Nigel R. Armfield wrote:

> I've put a catch-all entry at the tail of the re-writing entries:
>
>    *@*.lmu.ac.uk ""

>
> Which causes exim to choke attempting a null-header rewrite.


You could also do something like

        *@*.lmu.ac.uk "special-local-part@this-host"


and then use a system filter to pick this up and handle the message,
though that does seem to be rather a fudge.

> It would be nice if exim provided some kind of simple way to
> implement this behaviour without modifying the source.


I will think about this, but not for the next version, where the code is
almost frozen.

Philip

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