Re: [exim] using @mx_primary in conditions

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Marten Lehmann
CC: exim-users
Assumpte: Re: [exim] using @mx_primary in conditions
On Sun, 23 Jul 2006, Marten Lehmann wrote:
>
> I'm using the @mx_primary virtual domainlist in a router. But the
> domain-condition is not detailed enough. I have to specify a more
> precised "condition = ..." instead of "domains = @mx_primary". How can I
> use the @mx_primary domainlist in such a condition?


You can use the match_domain expansion condition, but if what you are
doing is adding constraints to the condition (i.e. AND logic) then just
use the additional conditions alongside the domains condition. String
expansions are cryptic and best avoided if there are good alternatives.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}