summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-05-31 18:28:17 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-05-31 18:28:34 +0100
commitecc5f51aca286f528e46dade1cf50776e8e38d02 (patch)
treee457a93fcab537f98563a4b5ae4ed87d8c417a27 /src
parent4491547465eba8a542a10e854ddd4f02030050b1 (diff)
Disallow queue= modifier from DATA ACL
Diffstat (limited to 'src')
-rw-r--r--src/src/acl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index ec1505bf0..0972a23fc 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -513,7 +513,12 @@ static unsigned int cond_forbids[] = {
~(1<<ACL_WHERE_MIME), /* mime_regex */
#endif
- 0, /* queue */
+ (1<<ACL_WHERE_NOTSMTP)| /* queue */
+ #ifndef DISABLE_PRDR
+ (1<<ACL_WHERE_PRDR)|
+ #endif
+ (1<<ACL_WHERE_DATA),
+
0, /* ratelimit */
(unsigned int)