On Mon, 16 Aug 1999, Andrey Novikov wrote:
> haven't found in the documentation how to add "explicit
> 'fail' item".
Documented under ${if and ${lookup
> I've tried:
>
> new_address = "${lookup{*} lsearch {/etc/mail/domains/${domain}/globalredirect}{$value}{:fail:}}"
> new_address = "${lookup{*} lsearch {/etc/mail/domains/${domain}/globalredirect}{$value}{fail}}"
>
> neither worked...
Try
new_address = "${lookup{*} lsearch {/etc/mail/domains/${domain}/globalredirect}{$value}fail}"
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.