Disallow queue= modifier from DATA ACL
[users/jgh/exim.git] / src / src / acl.c
index ec1505bf0023f685ae7c5f301fae005479493b2f..0972a23fcd2a9cca9f2a992105580c7a981760da 100644 (file)
@@ -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)