[exim] ACL error / exim doesn't find defined ACL

Top Page
Delete this message
Reply to this message
Author: Michael Ludwig
Date:  
To: exim-users
Subject: [exim] ACL error / exim doesn't find defined ACL




Hi.

I'm just experiencing troubles with my exim configuration in exim.conf.
Here we go, the relevant parts of my exim.conf:

------------------------------------------------------
av_scanner    = cmdline: \
                /opt/mcafee/uvscan --allole \
                --secure --noboot -r %s:Found:Found(.+)



VIRTUAL_DOMAINS = SELECT DISTINCT domain FROM domains WHERE \
                  type = 'local' AND enabled = '1' AND domain = \
                  '${quote_mysql:$domain}'
RELAY_DOMAINS   = SELECT DISTINCT domain FROM domains WHERE \
                  type = 'relay'  AND domain = \
                  '${quote_mysql:$domain}'
ALIAS_DOMAINS   = SELECT DISTINCT alias FROM domainalias WHERE \
                  alias = '${quote_mysql:$domain}'


domainlist  local_domains    = localhost
domainlist  virtual_domains  = ${lookup mysql{VIRTUAL_DOMAINS}} : \
                               ${lookup mysql{ALIAS_DOMAINS}}
domainlist  relay_to_domains = ${lookup mysql{RELAY_DOMAINS}}
domainlist  all_domains      = +local_domains : +virtual_domains : \
                               +relay_to_domains



acl_smtp_rcpt = acl_check_rcpt


acl_check_rcpt:
  accept  local_parts   = postmaster
          domains       = +all_domains
  deny    message       = we don't need spam
          log_message   = we don't need spam
          senders       = +all_domains
  deny    message       = destination domain not local
          log_message   = destination domain not local
          domains       = !+all_domains : !+relay_to_domains
------------------------------------------------------



So when it comes to the point that exim runs into the ACL
"acl_check_rcpt" and reaches the point with the accept verb
for the postmaster address the following log entry is created
in the panic log:


------------------------------------------------------
2005-11-24 20:49:19 unknown named address list "+all_domains"
2005-11-24 20:52:28 unknown named address list "+all_domains"
2005-11-24 20:54:19 unknown named address list "+all_domains"
2005-11-24 20:55:55 unknown named address list "+all_domains"
2005-11-24 21:04:43 unknown named address list "+all_domains"
------------------------------------------------------


I have no absolutely no idea why and what this error is, so I need
your advice. ;-)
I retyped the signs to ensure theer is no typo in the word
"+all_domains" but that wasn't the fault...

I hope anyone on this list has an idea how to solve this...
If you need more config stuff just let me know.

Michael