[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] Router to filter off a specific address
From:       Doug <genesys2001uk () gmail ! com>
Date:       2006-06-30 8:38:58
Message-ID: a36026de0606300138i42cbca36ybcc47f9c04e37f3c () mail ! gmail ! com
[Download RAW message or body]

Thanks Peter

The router:

test_exchange_router:
     domains = something.co.uk
     local_parts = someone
     driver = manualroute
     transport = remote_smtp
     route_list = * 10.1.1.1

 .. works a treat. Does exactly what I want. I was obviously thinking
too  hard, I'l go for a lie down now.

Thanks again,

Doug


On 6/30/06, John Burnham <jpb15@admin.cam.ac.uk> wrote:
> > I have a requirement to create a router to relay one specific
> > address to a different host, whilst leaving the "defaul"
> > router to handle everything else. I have the router below in
> > place which ~I thought would work, but alas it doesn't.
> >
> > ==============
> >
> > test_router:
> >      condition = ${if eq
> > {${lc:$sender_address}}{something\@domain\.co\.uk}{true} fail}:
> >      driver = manualroute
> >      transport = remote_smtp
> >      route_list = * x.x.x.x
> >
> > ==============
> >
> > Can I be so bold as to ask for anyone to cast an eye over the
> > above and suggest anything that may help me?
> >
>
> Can you clarify something ? Is it an address being sent to that you want treated
> differently or the address that the mail is from ? Because $sender_address is
> the envelope sender.
> Anyway, you could always simplify by using the senders option in the router (see
> chapter 15 of the spec - generic options for routers) or local_parts and
> domains.
>  John
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic