git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
595028e
)
Allow only accept and warn in the not-QUIT ACL.
author
Philip Hazel
<ph10@hermes.cam.ac.uk>
Wed, 29 Aug 2007 13:58:25 +0000
(13:58 +0000)
committer
Philip Hazel
<ph10@hermes.cam.ac.uk>
Wed, 29 Aug 2007 13:58:25 +0000
(13:58 +0000)
src/src/acl.c
patch
|
blob
|
history
diff --git
a/src/src/acl.c
b/src/src/acl.c
index 9c613442292ae2fea33ee7635fd5a93fd0586d01..bc374b46113552acf38b5b8004b83fcdfe53ccfc 100644
(file)
--- a/
src/src/acl.c
+++ b/
src/src/acl.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/acl.c,v 1.7
8 2007/08/22 10:10:23
ph10 Exp $ */
+/* $Cambridge: exim/src/src/acl.c,v 1.7
9 2007/08/29 13:58:25
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-3456,11
+3456,11
@@
while (acl != NULL)
*log_msgptr = *user_msgptr = NULL;
acl_temp_details = FALSE;
*log_msgptr = *user_msgptr = NULL;
acl_temp_details = FALSE;
- if (
where == ACL_WHERE_QUIT
&&
+ if (
(where == ACL_WHERE_QUIT || where == ACL_WHERE_NOTQUIT)
&&
acl->verb != ACL_ACCEPT &&
acl->verb != ACL_WARN)
{
acl->verb != ACL_ACCEPT &&
acl->verb != ACL_WARN)
{
- *log_msgptr = string_sprintf("\"%s\" is not allowed in a QUIT ACL",
+ *log_msgptr = string_sprintf("\"%s\" is not allowed in a QUIT
or not-QUIT
ACL",
verbs[acl->verb]);
return ERROR;
}
verbs[acl->verb]);
return ERROR;
}