Skip to content

Commit ac592e4

Browse files
committed
Remove support for quota_set / SETQUOTA
1 parent 8bd80fe commit ac592e4

File tree

2 files changed

+0
-65
lines changed

2 files changed

+0
-65
lines changed

data/settings.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,14 +2690,6 @@ quota backend. It means you can have the quota in Maildir++ format (e.g.
26902690
\`10000000S\`).`
26912691
},
26922692

2693-
quota_set: {
2694-
plugin: 'quota',
2695-
values: setting_types.STRING,
2696-
seealso: [ '[[link,quota_admin]]' ],
2697-
text: `
2698-
A dictionary string where your quota limit exists and can be modified.`
2699-
},
2700-
27012693
quota_warning: {
27022694
plugin: 'quota',
27032695
values: setting_types.STRING,

docs/core/plugins/imap_quota.md

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -15,60 +15,3 @@ It implements the IMAP commands defined in [[rfc,2087]]
1515
## Settings
1616

1717
There are no `dovecot.conf` settings for this plugin.
18-
19-
## Quota Admin Commands
20-
21-
This plugin implements the IMAP `SETQUOTA` command, which allows changing the
22-
logged in user's quota limit if the user is admin.
23-
24-
Normally this means that a master user must log in with
25-
`userdb_admin = y` set in the master passdb.
26-
27-
The changing is done via `dict_set()` command, so you must configure the
28-
[[setting,quota_set]] setting to point to some dictionary where your quota
29-
limit exists.
30-
31-
Example, for SQL:
32-
33-
::: code-group
34-
```[dovecot.conf]
35-
plugin {
36-
quota_set = dict:proxy::sqlquota
37-
}
38-
39-
dict {
40-
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
41-
}
42-
```
43-
44-
```[dovecot-dict-sql.conf.ext]
45-
# Use "host= ... pass=foo#bar" with double-quotes if your password has '#'
46-
# character.
47-
connect = host=/var/run/mysqld/mysqld.sock dbname=mails user=admin \
48-
password=pass
49-
50-
# Alternatively you can connect to localhost as well:
51-
#connect = host=localhost dbname=mails user=admin password=pass # port=3306
52-
53-
map {
54-
pattern = priv/quota/limit/storage
55-
table = quota
56-
username_field = username
57-
value_field = bytes
58-
}
59-
60-
map {
61-
pattern = priv/quota/limit/messages
62-
table = quota
63-
username_field = username
64-
value_field = messages
65-
}
66-
```
67-
:::
68-
69-
Afterwards the quota can be changed with the IMAP command:
70-
71-
```
72-
a SETQUOTA "User quota" (STORAGE 12345 MESSAGES 123)
73-
```
74-

0 commit comments

Comments
 (0)