[exim] Router to filter off a specific address

Top Page
Delete this message
Reply to this message
Author: Doug
Date:  
To: exim-users
Subject: [exim] Router to filter off a specific address
Hi guys + gals,

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?

Many thanks,

Doug Anderson