[exim] Still thinking about acls

Góra strony
Delete this message
Reply to this message
Autor: Marcin Mirosław
Data:  
Dla: exim-users
Temat: [exim] Still thinking about acls
Hi again!
I've prepared simple, test configuration:
domainlist local_domains = @ : : test2.com
#                           ^^^^ there is whitespace


begin acl
acl_check_rcpt

deny
     sender_domains = +local_domains
      message = test reject
[...]


Fake session shows that this conditions is always met:
14:03:32 28800 SMTP>> 250-localhost Hello test [1.1.1.1]
14:03:32 28800 250-SIZE 52428800
14:03:32 28800 250-PIPELINING
14:03:32 28800 250 HELP
14:03:32 28800 SMTP<< mail from:<>
14:03:32 28800 SMTP>> 250 OK
250 OK
14:03:32 28800 SMTP<< rcpt to:a@???
14:03:32 28800 using ACL "acl_check_rcpt"
14:03:32 28800 processing "deny"
14:03:32 28800 check sender_domains = +local_domains
14:03:32 28800 in "@ : test1.com : : test2.com"? yes (matched "")
14:03:32 28800 in "+local_domains"? yes (matched "+local_domains")
14:03:32 28800 deny: condition test succeeded
14:03:32 28800 SMTP>> 550 test reject
550 test reject

According to:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch10.html#SECTdomainlist

meseems that this is case described as point "If none of the above cases
apply, a caseless textual comparison is made between the pattern and the
domain". But it looks that empty char ( matched "" in log ) works the
same as "*" (asterisk). Did i (again...) miss some piece of documentation?

Thanks for reply.
Regards,
Marcin.