X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Facl.c;h=41f2cb35464a39acec933cb6e884458444f5d78e;hb=d1406d480202b226035e239f74c0dd3c9ea7c3bd;hp=a3e79b13d2177976c384addd8e9d58b2667c67c4;hpb=80a47a2c9633437d4ceebd214cd44abfbd4f4543;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/acl.c b/src/src/acl.c index a3e79b13d..41f2cb354 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/acl.c,v 1.83 2009/06/10 07:34:04 tom Exp $ */ +/* $Cambridge: exim/src/src/acl.c,v 1.86 2009/10/19 11:36:42 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -361,6 +361,7 @@ static unsigned int cond_forbids[] = { ~((1<next) #endif case ACLC_CONDITION: + /* The true/false parsing here should be kept in sync with that used in + expand.c when dealing with ECOND_BOOL so that we don't have too many + different definitions of what can be a boolean. */ if (Ustrspn(arg, "0123456789") == Ustrlen(arg)) /* Digits, or empty */ rc = (Uatoi(arg) == 0)? FAIL : OK; else @@ -2786,20 +2790,11 @@ for (; cb != NULL; cb = cb->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: