X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f3766eb5a200d0deb99dc3f096ced249727940cd..0a49a7a4f1090b6f1ce1d0f9d969804c9226b53e:/src/src/acl.c diff --git a/src/src/acl.c b/src/src/acl.c index 04b7fe5f5..8825a8f13 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/acl.c,v 1.84 2009/10/14 14:48:41 nm4 Exp $ */ +/* $Cambridge: exim/src/src/acl.c,v 1.87 2009/11/16 19:50:36 nm4 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2007 */ +/* Copyright (c) University of Cambridge 1995 - 2009 */ /* See the file NOTICE for conditions of use and distribution. */ /* Code for handling Access Control Lists (ACLs) */ @@ -361,6 +361,7 @@ static unsigned int cond_forbids[] = { ~((1<next) #ifndef DISABLE_DKIM case ACLC_DKIM_SIGNER: - if (dkim_signing_domain != NULL) - { - rc = match_isinlist(dkim_signing_domain, + if (dkim_cur_signer != NULL) + rc = match_isinlist(dkim_cur_signer, &arg,0,NULL,NULL,MCL_STRING,TRUE,NULL); - if (rc == FAIL) - { - rc = match_isinlist(dkim_exim_expand_query(DKIM_IDENTITY), - &arg,0,NULL,NULL,MCL_STRING,TRUE,NULL); - } - } else - { rc = FAIL; - } break; case ACLC_DKIM_STATUS: