Victor OƱate
2013-Jul-12 13:28 UTC
[Dovecot] mail not reject when the mailbox is full (Dovecot-LDAP-Imap_quota)
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
Daniel Parthey
2013-Jul-14 12:24 UTC
[Dovecot] mail not reject when the mailbox is full (Dovecot-LDAP-Imap_quota)
Hi Victor, you probably forgot to enable/configure quota for LMPT or LDA service which enforces quota during delivery of new mails. If you still need help, please post the complete output of doveconf -n Regards Daniel "Victor O?ate" <victormanuelo at gmail.com> schrieb:>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