mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-15 17:37:22 +01:00
fix syntax errors
This commit is contained in:
@@ -85,9 +85,9 @@ fi
|
||||
if ! grep -q "quota_status_success = DUNNO" /etc/dovecot/conf.d/90-quota.conf; then
|
||||
cat > /etc/dovecot/conf.d/90-quota.conf << EOF;
|
||||
plugin {
|
||||
quota = maildir
|
||||
quota = maildir:User quota
|
||||
|
||||
quota_grace = 10%
|
||||
quota_grace = 10%%
|
||||
|
||||
quota_status_success = DUNNO
|
||||
quota_status_nouser = DUNNO
|
||||
|
||||
@@ -88,8 +88,9 @@ pass_attrs = maildrop=user
|
||||
# Post-login information specific to the user (eg. quotas). For
|
||||
# lmtp delivery, pass_filter is not used, and postfix has already
|
||||
# rewritten the envelope using the maildrop address.
|
||||
# %$ is expanded to mailboxQuota's value.
|
||||
user_filter = (&(objectClass=mailUser)(|(mail=%u)(maildrop=%u)))
|
||||
user_attrs = maildrop=user mailboxQuota=quota_rule=*:bytes=%\$
|
||||
user_attrs = maildrop=user,mailboxQuota=quota_rule=*:bytes=%\$
|
||||
|
||||
# Account iteration for various dovecot tools (doveadm)
|
||||
iterate_filter = (objectClass=mailUser)
|
||||
|
||||
Reference in New Issue
Block a user