Hi,

according to spec.txt chapter 6.4[1], the following configuration
should be acceptable to exim:

begin acl

acl_whitelist_local_deny:
  accept
    hosts = ${if exists{CONFDIR/local_host_whitelist}\
                 {CONFDIR/local_host_whitelist}\
                 {}}

CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : [EMAIL PROTECTED]/|`#&?]

acl_check_rcpt:
  accept
    hosts = :

  deny
    domains = +local_domains
    local_parts = CHECK_RCPT_LOCAL_LOCALPARTS
    message = restricted characters in address

begin routers

begin transports

begin retry

begin rewrite

begin authenticators

However, exim flags it as incorrect:
Exim configuration error in line 9 of exim4.conf:
  error in ACL: unknown ACL condition/modifier in "CHECK_RCPT_LOCAL_LOCALPARTS 
= ^[.] : [EMAIL PROTECTED]/|#&?]"

Is this misinterpretation of the specification on my part, or a bug in
exim?

Greetings
Marc


[1]
"Macros may also be defined between router, transport, authenticator,
or ACL definitions."

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

-- 
## 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