On Thu, 17 Nov 2005, Adam Funk wrote:
>
> I now want to suppress delay warnings for messages to domains in the
> same list. I think I want something like this:
>
> delay_warning_condition = {$if \
> ${lookup{$domain}wildlsearch{/path/to/queue.list}}{no}{yes}}
>
> but I'm not using keys and values in the file, just presence or absence.
> Am I on the right track?
Yes, but your syntax isn't quite right. Remember that ${lookup has
if/then/else functionality built in, so:
delay_warning_condition = \
${lookup {$domain} \
wildlsearch {/path/to/queue.list} \
{no} {yes} }
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}}