Szerző: Darren Mackay
Dátum:
Címzett: Exim User's Mailing List
Tárgy: [exim] RE: Combining condition statements
Hi,
I am wanting some assistance with combining condition statements in
router.
Essentially, I am wanting to combine the followingt into a single
condition statement and not having much success so far:
1. the mail meets one of the following 2 conditions (ie - an alias
actually exists as either a local alias or a relayed alias)
condition = ${lookup{$local_part@$domain} lsearch
{/etc/exim/exim-local-domains-aliases} {yes}}
or
condition = ${lookup{$local_part@$domain} lsearch
{/etc/exim/exim-relay-domains-aliases} {yes}}
and
2. and the mail did not originate through the listeneer on TCP 10026
(use only by a content filter)
condition = ${if or {{eq {$interface_port}{10026}} }{0}{1}}
Tia,
Darren