[EXIM] Clarifying use of condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dom Mitchell
Ημερομηνία:  
Προς: exim-users
Καινούρια Θέματα: [EXIM] texinfo files for 1.90
Αντικείμενο: [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/ ***