[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
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@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
Hi list...
this is my #dovecot -n thanks..
# 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-mckinley ia64 Debian 6.0.5 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/info.log log_timestamp: %Y-%m-%d %H:%M:%S ssl_cert_file: /etc/ssl/correo.crt ssl_key_file: /etc/ssl/correo.key disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable: /usr/lib/dovecot/imap-login login_greeting: Dovecot ready C6. login_process_per_connection: no login_processes_count: 50 login_max_processes_count: 60000 login_max_connections: 60000 max_mail_processes: 61760 first_valid_uid: 1000 first_valid_gid: 500 mail_access_groups: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u:INDEX=/home/indexes/%u mmap_disable: yes mail_process_size: 2048 mail_plugins: quota imap_quota lda: postmaster_address: victormanuelo@gmail.com quota_full_tempfail: no auth default: cache_size: 4096 user: nobody passdb: driver: pam userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf plugin: quota: dirsize quota_exceeded_message: Quota exceeded
any idea is welcome
2013/7/14 Daniel Parthey d.parthey@metaways.de
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@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
Victor Oñate skrev den 2013-07-15 22:41:
this is my #dovecot -n thanks..
make dovecot use dict storage quotas, then in mta query the dict tables in mta stage, that way it can be tempfailed the right place, dovecot-lda would be accept and bounce problem
one day i get mad again and create the sql postfix map to solve it :)
Le 15 juil. 2013 à 22:41, Victor Oñate a écrit :
Hi list...
this is my #dovecot -n thanks..
# 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-mckinley ia64 Debian 6.0.5 base_dir: /var/run/dovecot/ [...]
any idea is welcome
Hello Victor,
I don't remember exactly, but wasn't it needed with 1.x to explicitly enable the wanted plugins for each "protocol" section? Or was the global mail_plugins setting already sufficient?
Axel
participants (4)
-
Axel Luttgens
-
Benny Pedersen
-
Daniel Parthey
-
Victor Oñate