X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/dcd3e9553bf120cf570ec1d51e6c7121dbb7e2c3..c09b95966e16e092453cdb797c8048579b3585bd:/src/src/acl.c diff --git a/src/src/acl.c b/src/src/acl.c index 80ac7f036..1f80ee887 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/acl.c,v 1.5.2.2 2004/11/30 15:18:58 tom Exp $ */ +/* $Cambridge: exim/src/src/acl.c,v 1.5.2.3 2004/12/02 16:33:30 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -38,7 +38,11 @@ enum { ACLC_ACL, ACLC_AUTHENTICATED, ACLC_CONDITION, ACLC_CONTROL, #ifdef WITH_CONTENT_SCAN ACLC_DECODE, #endif - ACLC_DELAY, ACLC_DNSLISTS, ACLC_DOMAINS, ACLC_ENCRYPTED, ACLC_ENDPASS, + ACLC_DELAY, +#ifdef WITH_OLD_DEMIME + ACLC_DEMIME, +#endif + ACLC_DNSLISTS, ACLC_DOMAINS, ACLC_ENCRYPTED, ACLC_ENDPASS, ACLC_HOSTS, ACLC_LOCAL_PARTS, ACLC_LOG_MESSAGE, ACLC_LOGWRITE, #ifdef WITH_CONTENT_SCAN ACLC_MALWARE, @@ -66,7 +70,11 @@ static uschar *conditions[] = { US"acl", US"authenticated", US"condition", #ifdef WITH_CONTENT_SCAN US"decode", #endif - US"delay", US"dnslists", US"domains", US"encrypted", + US"delay", +#ifdef WITH_OLD_DEMIME + US"demime", +#endif + US"dnslists", US"domains", US"encrypted", US"endpass", US"hosts", US"local_parts", US"log_message", US"logwrite", #ifdef WITH_CONTENT_SCAN US"malware", @@ -104,6 +112,9 @@ static uschar cond_expand_at_top[] = { TRUE, /* decode */ #endif TRUE, /* delay */ +#ifdef WITH_OLD_DEMIME + TRUE, /* demime */ +#endif TRUE, /* dnslists */ FALSE, /* domains */ FALSE, /* encrypted */ @@ -143,6 +154,9 @@ static uschar cond_modifiers[] = { FALSE, /* decode */ #endif TRUE, /* delay */ +#ifdef WITH_OLD_DEMIME + FALSE, /* demime */ +#endif FALSE, /* dnslists */ FALSE, /* domains */ FALSE, /* encrypted */ @@ -196,6 +210,17 @@ static unsigned int cond_forbids[] = { #endif 0, /* delay */ + +#ifdef WITH_CONTENT_SCAN + (1<next) } break; +#ifdef WITH_OLD_DEMIME + case ACLC_DEMIME: + rc = demime(&arg); + break; +#endif + case ACLC_DNSLISTS: rc = verify_check_dnsbl(&arg); break;