diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-05-31 18:28:17 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-05-31 18:28:34 +0100 |
commit | ecc5f51aca286f528e46dade1cf50776e8e38d02 (patch) | |
tree | e457a93fcab537f98563a4b5ae4ed87d8c417a27 /src | |
parent | 4491547465eba8a542a10e854ddd4f02030050b1 (diff) |
Disallow queue= modifier from DATA ACL
Diffstat (limited to 'src')
-rw-r--r-- | src/src/acl.c | 7 |
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) |