[EXIM] Clarifying use of condition

Top Page
Delete this message
Reply to this message
Author: Dom Mitchell
Date:  
To: exim-users
New-Topics: [EXIM] texinfo files for 1.90
Subject: [EXIM] Clarifying use of condition
Hi folks,

I am trying to set up a router which will route mail to addresses on our
intranet only. At present, all such hosts have no domain name attached
and are only accessible via a hosts file (soon, I will sort out DNS...).
I thought that I could use a router like this to achieve the desired
effect:

pandhhost:
driver = lookuphost
transport = remote_smtp
gethostbyname
condition = match {$domain}{^[^.]\$}

However, it's become apparent that the condition clause is not working.
Does anybody know how the above should be specified?

Thanks,
-Dom

--
*** Exim information can be found at http://www.exim.org/ ***