First Last Prev Next    No search results available
Details
: Macro definition not possible in between ACLs
Bug#: 101
: Exim
: Unfiled
Status: RESOLVED
Resolution: FIXED
: All
: Linux
: 4.60
: medium
: bug
: Exim 4.73

: http://bugs.debian.org/366491
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Marc Haber <mh+exim-bugzilla@zugschlus.de>
Assigned To: Philip Hazel <ph10@hermes.cam.ac.uk>
: Exim developer list <exim-dev@exim.org>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions
Votes: 0


Description:   Opened: 2006-05-13 16:30
This has already been discussed and identified as an exim bug on exim-users. 
Filing in bugzilla for completeness.

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 = ^[.] : ^.*[@%!/|`#&?]

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 
= ^[.] : ^.*[@%!/|#&?]"
------- Comment #1 From Philip Hazel 2006-06-27 16:08:49 -------
Fixed in release 4.63.

First Last Prev Next    No search results available