[Dovecot] mail not reject when the mailbox is full (Dovecot-LDAP-Imap_quota)

Victor Oñate victormanuelo at gmail.com
Fri Jul 12 16:28:04 EEST 2013


Hello List.
Currently I have configured the share of users through the LDAP query as
shown

#dovecot.conf

protocol imap {
  mail_plugins = quota imap_quota
}

plugin {
  quota = dirsize
}

userdb ldap {
    args = /etc/dovecot/dovecot-ldap.conf
  }

#dovecot-ldap.conf
auth_bind = yes

ldap_version = 3
base = dc=XXX,dc=YY,dc=ZZ
deref = never
scope = subtree

user_attrs =
homeDirectory=home,uidNumber=uid,gidNumber=gid,mail=Maildir,mailQuotaSize=quota_rule=*:storage=%$
user_filter = (&(objectClass=posixAccount)(uid=%u))

pass_attrs =
uid=user,userPassword=password,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid
pass_filter = (&(objectClass=posixAccount)(uid=%u))


Additionally in thunderbird customers have the plug so they can see the
share. This works perfect!

However, when the mailbox exceeds 100% users continue to receive mail which
makes the risk set allocated disk space, the idea is that when full the mail
reject
with a message "mailbox XXX full" .


As always appreciate the ideas.

Victor Oñate


More information about the dovecot mailing list