On Sat, 7 Jan 2006, Dave Lugo wrote:
>
> Not exactly the ACL you need, but it's an example of
> `if exists' usage. There are probably others in the docs.
>
> #
> # MAIL FROM enduser whitelisted header
> #
> warn condition = ${if eq {$acl_m3}{yes}{yes}{no}}
> condition = ${if exists \
> {CFG_DIR/RCPT_DOM/RCPT_LOC/sender-whitelist}{1}{0}}
> senders = : wildlsearch*@;CFG_DIR/RCPT_DOM/RCPT_LOC/sender-whitelist
^
dunno why I have that in there, should probably go back into
the config and see if it's just a stupid typo or cut/paste
from the last time I was working on those bits...
> message = X-Whitelisted: Env-From
>
--
--------------------------------------------------------
Dave Lugo dlugo@??? LC Unit #260 TINLC
Have you hugged your firewall today? No spam, thanks.
--------------------------------------------------------
Are you the police? . . . . No ma'am, we're sysadmins.