Re: [exim] How to determine 'acl_check_rcpt' failure point?

Pàgina inicial
Delete this message
Reply to this message
Autor: Marco Gaiarin
Data:  
A: Slavko via Exim-users
CC: exim-users
Assumpte: Re: [exim] How to determine 'acl_check_rcpt' failure point?
Mandi! Slavko via Exim-users
In chel di` si favelave...

>> OK; but how can i determine the exact point in acl_check_rcpt ACL
>> that make it fail? I'm a bit puzzled...


> In the output you have all processed ACL and its condition shown, eg.:
>     check domains = !+local_domains


> This will be somewhere in your ACL definition as:
>     require:
>       ...
>       domains = !+local_domains


> Next in above output you can see line:
>     ac.concordia-pordenone.it in "!+local_domains"? no ...
> This is result of that domains check and means, that
> ac.concordia-pordenone.it is in your local_domains list and that
> condition is not meet (as it is negated by ! -- not in list).
> That snippets show cached local_domains search result, exact match will
> be shown when exim did that search first.


The only other entry like this above is:

processing "deny"
check domains = +local_domains
ac.concordia-pordenone.it in "@:localhost : ac.concordia-pordenone.it :
liste.ac.concordia-pordenone.it"? yes (matched "ac.concordia-pordenone.it")
ac.concordia-pordenone.it in "+local_domains"? yes (matched "+local_domains")
check local_parts = ^[.] : ^.*[@%!|`#&?]
gaio in "^[.] : ^.*[@%!|`#&?]"? no (end of list)
deny: condition test failed in ACL "acl_check_rcpt"
processing "deny"
check domains = !+local_domains
cached yes match for +local_domains
cached lookup data = NULL
ac.concordia-pordenone.it in "!+local_domains"? no (matched "!+local_domains" - cached)
deny: condition test failed in ACL "acl_check_rcpt"

The only ACL in 'deny' that have an 'domains = !+local_domains' within is:

  .ifdef CHECK_RCPT_REMOTE_LOCALPARTS
  deny
    domains = !+local_domains
    local_parts = CHECK_RCPT_REMOTE_LOCALPARTS
    message = restricted characters in address
    delay = ${eval:TEERGRUBE}s
  .endif


and 'CHECK_RCPT_REMOTE_LOCALPARTS':

    CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./



Why matches?! Thanks.

--
Le vie del Signore sono infinite.
E' la segnaletica che lascia a desiderare...