X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8523533c08c018ac4b750b0e0fab6cfe611e8a49..a6c4ab608c0bc25e8981caea289eaa71820334c6:/src/src/acl.c diff --git a/src/src/acl.c b/src/src/acl.c index 247ffbb62..843a9ad26 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/acl.c,v 1.6 2004/12/16 15:11:47 tom Exp $ */ +/* $Cambridge: exim/src/src/acl.c,v 1.13 2005/01/12 12:24:13 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2004 */ +/* Copyright (c) University of Cambridge 1995 - 2005 */ /* See the file NOTICE for conditions of use and distribution. */ /* Code for handling Access Control Lists (ACLs) */ @@ -220,7 +220,7 @@ static unsigned int cond_forbids[] = { (1<next) no_multiline_responses = TRUE; break; -#ifdef WITH_CONTENT_SCAN case CONTROL_FAKEREJECT: fake_reject = TRUE; if (*p == '/') @@ -1667,7 +1668,6 @@ for (; cb != NULL; cb = cb->next) fake_reject_text = US"Your message has been rejected but is being kept for evaluation.\nIf it was a legit message, it may still be delivered to the target recipient(s)."; } break; -#endif case CONTROL_FREEZE: deliver_freeze = TRUE; @@ -1730,7 +1730,10 @@ for (; cb != NULL; cb = cb->next) HDEBUG(D_acl) debug_printf("delay skipped in -bh checking mode\n"); } - else sleep(delay); + else + { + while (delay > 0) delay = sleep(delay); + } } } break;