On Mon, 21 Nov 2005, Roberto Salvatierra wrote:
> condition = ${if 
> match{${mask:$sender_host_address/32}{200.91.77.43/32}{no}{yes}}

Apart from the syntax error, that's one of the worst mis-uses of string
expansions I've seen in a long time. (Admittedly, I have been away from
Exim for 10 days, but still...)

Remember: never use the condition condition without checking for a more
readable alternative first. (I think this is rule 1 of good Exim style.)

In this case you should write:
        ! hosts = 200.91.77.43

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to