[exim] condition statement within a router not working as ex…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: lists
Datum:  
To: exim-users
Betreff: [exim] condition statement within a router not working as expected
Hi,

Seem to be going cross-eyed here.

Can someone please explain why the following condition statement does
not appear to evaluate as expected (this condition is located within a
router):

condition  = "${if and \
                         { {!eq {$interface_port} {10026} } } \
                         { { eq {lookup{$local_part@$domain}}
lsearch{/etc/exim/exim-relay-domains-aliases} } } \
                         {yes} {no} \
               }"


where as a condition evaluating the interface_port <> 10026 on its owns
works perfectly (as does the lookup on its own).

tia,

Darren Mackay