On Sat, 11 Jul 1998, Torsten Curdt wrote:
> > I am pretty sure that you could give your exim a list of your local
> > users, enabling exim to identify xy@??? as a local address,
> > doing immediate and local delivery while deliveryin xyz@???
> > to your provider's smarthost. However, I do not have the slightest
> > idea how that could be done so you'd have to ask the List :-)
> Hm... Me either!
I have got lost in the discussion and am now confused as to exactly what
is wanted. However, it is certainly possible to do rewriting based on
lists of users. For example
*@* ${lookup{$local_part}lsearch{/users/at/$domain}\
{$local_part@???}fail}
where a file called /users/at/provider.com contains
xy
(i.e. a list of local users who have accounts at provider.com). This
would rewrite xy@??? into xy@???, but not rewrite
xyz@???, since xyz is not on the list. You could make the
lookup convert "xy" into some other local part if you wanted to.
--
Philip Hazel University Computing Service,
P.Hazel@??? New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic) England. Phone: +44 1223 334714
--
*** Exim information can be found at
http://www.exim.org/ ***