File tree Expand file tree Collapse file tree 2 files changed +0
-65
lines changed Expand file tree Collapse file tree 2 files changed +0
-65
lines changed Original file line number Diff line number Diff line change @@ -2690,14 +2690,6 @@ quota backend. It means you can have the quota in Maildir++ format (e.g.
2690
2690
\`10000000S\`).`
2691
2691
} ,
2692
2692
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
-
2701
2693
quota_warning : {
2702
2694
plugin : 'quota' ,
2703
2695
values : setting_types . STRING ,
Original file line number Diff line number Diff line change @@ -15,60 +15,3 @@ It implements the IMAP commands defined in [[rfc,2087]]
15
15
## Settings
16
16
17
17
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
-
You can’t perform that action at this time.
0 commit comments