Auteur: Jesse Hathaway Date: À: Jeremy Harris CC: exim-users Sujet: Re: [exim] $domain_data not populated, caching problem?
On Sat, Apr 9, 2022 at 8:03 AM Jeremy Harris via Exim-users
<exim-users@???> wrote: > On thinking more - it's far more likely that the
> lookup never returned any data (so that's what was cached).
hmm, I'm a bit confused, I thought it wouldn't proceed down the router
if there was not a match
for domains? Also, the domains did match as seen in the below debug output:
233304 data from lookup saved for cache for +local_domains: key
'wikimedia.org' value ''
233304 wikimedia.org in "! +local_domains"? no (matched "! +local_domains")
233304 accept: condition test failed in ACL "acl_check_rcpt"
233304 processing "require" (/etc/exim4/exim4.conf 145)
233304 message: Relay not permitted
233304 check domains = +local_domains : +relay_domains
233304 cached yes match for +local_domains
233304 cached lookup data =
233304 wikimedia.org in "+local_domains : +relay_domains"? yes
(matched "+local_domains" - cached)
233304 check set acl_m_relayed = yes
233304 require: condition test succeeded in ACL "acl_check_rcpt"
233304 processing "defer" (/etc/exim4/exim4.conf 150)
233304 message: Administratively set to defer
233304 check domains = +defer_domains
233304 search_open: lsearch "/etc/exim4/defer_domains"
233304 search_find: file="/etc/exim4/defer_domains"
233304 key="wikimedia.org" partial=-1 affix=NULL starflags=0 opts=NULL
233304 LRU list:
233304 :/etc/exim4/defer_domains
233304 :/etc/exim4/wikimedia_domains
233304 End
233304 internal_search_find: file="/etc/exim4/defer_domains"
233304 type=lsearch key="wikimedia.org" opts=NULL
233304 file lookup required for wikimedia.org
233304 in /etc/exim4/defer_domains
233304 lookup failed
233304 wikimedia.org in "lsearch;/etc/exim4/defer_domains"? no (end of list)
233304 wikimedia.org in "+defer_domains"? no (end of list)
233304 defer: condition test failed in ACL "acl_check_rcpt"
233304 processing "accept" (/etc/exim4/exim4.conf 155)
233304 check local_parts = postmaster : abuse
233304 lollipopman in "postmaster : abuse"? no (end of list)
233304 accept: condition test failed in ACL "acl_check_rcpt"
233304 processing "require" (/etc/exim4/exim4.conf 160)
233304 check verify = recipient
233304 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
233304 Verifying lollipopman@???
233304 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
233304 Considering lollipopman@???
233304 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
233304 routing lollipopman@???
233304 --------> wiki_mail router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 wiki_mail router skipped: verify 2 0 0
233304 --------> donate router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 checking domains
233304 wikimedia.org in "donate.wikimedia.org :
civicrm.wikimedia.org"? no (end of list)
233304 wikimedia.org in "+donate_domains"? no (end of list)
233304 donate router skipped: domains mismatch
233304 --------> dnslookup router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 checking domains
233304 cached yes match for +local_domains
233304 cached lookup data =
233304 wikimedia.org in "! +local_domains"? no (matched "!
+local_domains" - cached)
233304 dnslookup router skipped: domains mismatch
233304 --------> mw_verp_api router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 checking domains
233304 wikimedia.org in "wikimedia.org"? yes (matched "wikimedia.org")
233304 data from lookup saved for cache for +verp_domains: key
'wikimedia.org' value 'wikimedia.org'
233304 wikimedia.org in "+verp_domains"? yes (matched "+verp_domains")
233304 checking "condition" "${if
match{$local_part}{\N^wiki-\w+-\w+-\w+-[+/\w]+$\N}{true}{false}}"...
233304 mw_verp_api router skipped: condition failure
233304 --------> eat router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 checking domains
233304 cached yes match for +local_domains
233304 cached lookup data =
233304 wikimedia.org in "+local_domains"? yes (matched
"+local_domains" - cached)
233304 checking local_parts
233304 lollipopman in "no-reply-notifications"? no (end of list)
233304 eat router skipped: local_parts mismatch
233304 --------> system_aliases router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 checking domains
233304 cached no match for +system_domains
233304 cached lookup data = NULL
233304 wikimedia.org in "+system_domains"? no (end of list)
233304 system_aliases router skipped: domains mismatch
233304 --------> aliases router <--------
233304 local_part=lollipopman domain=wikimedia.org
233304 checking domains
233304 cached yes match for +local_domains
233304 cached lookup data =
233304 wikimedia.org in "+local_domains"? yes (matched
"+local_domains" - cached)
233304 calling aliases router
233304 rda_interpret (string):
'${lookup{$local_part}lsearch*{/etc/exim4/aliases/$domain_data}}'
233304 search_open: lsearch "/etc/exim4/aliases/"
233304 aliases router: defer for lollipopman@???
233304 message: failed to expand
"${lookup{$local_part}lsearch*{/etc/exim4/aliases/$domain_data}}":
/etc/exim4/aliases/ is not a regular file (lsearch lookup)