do you mean that for the domains you pass addr->domain_cache
case ACLC_DOMAINS:
if (addr == NULL)
{
*log_msgptr = string_sprintf("cannot test domains after %s",
acl_wherenames[where]);
return ERROR;
}
rc = match_isinlist(addr->domain, &arg, 0, domainlist_anchor,
addr->domain_cache, MCL_DOMAIN, TRUE, &deliver_domain_data);
break;
while you pass NULL for the same parameter for the sender_domains?
case ACLC_SENDER_DOMAINS:
{
uschar *sdomain = Ustrrchr(sender_address, '@');
sdomain = (sdomain == NULL)? US"" : sdomain + 1;
rc = match_isinlist(sdomain, &arg, 0, domainlist_anchor,
NULL, MCL_DOMAIN, TRUE, NULL);
Giuliano
At 10:19 +0000 2002/12/03, Philip Hazel wrote:
>Oops! On checking the code, I see that that the caching is applied to
>recipient domains in an ACL, but not to sender domains. That's an
>oversight, I think. I'll look into fixing that case.
--
H U M P H
|| |||
software
Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/