On Sun, 8 Jan 2006, Marc Perkel wrote:

> I don't know if the ACLs have this but here's what I want to do. I want to
> test to see if a directory exists and if it doesn't I want to jump past a
> dozen other tests to some label. Is there any kind of goto label in ACLs?

One ACL can call another:

# ...
    deny
      condition = ${if exists{/path/to/directory} }
      acl = a_dozen_other_tests
# ...

a_dozen_other_tests:

   accept
# ...

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