Re: [Exim] Unusual need

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Dave C.
CC: exim-users
Subject: Re: [Exim] Unusual need
On Thu, 4 May 2000, Dave C. wrote:

> I would like to add another router before this one, to catch any
> message to a few specific local parts, and reroute/forward it to
> postmaster@??? instead of where it was originally going..
>
> Easy to do this with directors, but not sure how with routers. (There
> are non-local domains. I could make them local domains if I could get a
> director that accomplished the equivalent of the above router)                     


Use a router to detect them, and send them to the directors. Use a
director to detect them and forward them. Not very clean, I know, but it
should work.

Router:

xxxx:
driver = domainlist
domains = the.domains.you.are.interested.in
local_parts = the.local.parts.you.are.interested.in
route_list = * localhost byname
self = local

Director:

xxxx:
driver = smartuser
domains = the.domains.you.are.interested.in
local_parts = the.local.parts.you.are.interested.in
new_address = postmaster@yourdomain



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.