blob: 7bffe9f2c0a84914110cb344922541f09364201b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
plugin {
quota = count:User quota
quota_vsizes = yes
quota_rule = *:storage=${dovecot_default_quota}
quota_grace = ${dovecot_quota_grace_percent}%%
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
quota_warning = storage=95%% quota-warning 95 %u ${dovecot_quota_mail_from}
quota_warning2 = storage=90%% quota-warning 90 %u ${dovecot_quota_mail_from}
quota_warning3 = storage=80%% quota-warning 80 %u ${dovecot_quota_mail_from}
}
service quota-warning {
executable = script ${dovecot_script_dir}/quota-warning.sh
user = ${dovecot_vmail_user}
unix_listener quota-warning {
user = dovecot
group = ${dovecot_vmail_user}
mode = 0660
}
}
service quota-status {
executable = quota-status -p postfix
inet_listener {
port = ${quota_status_port}
}
client_limit = 5
}
|