[EXIM] Clarifying use of condition

Pàgina inicial
Delete this message
Reply to this message
Autor: Dom Mitchell
Data:  
A: exim-users
Assumptes nous: [EXIM] texinfo files for 1.90
Assumpte: [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/ ***