[Dovecot] Unable to solve over quota issue
Dear All,
I am using dovecot-lda to deliver the mail but unable to restrict users to recieve mails when quota becomes full. while i am using quota_full_tempfail = no in 15-lda.conf file. following is the output of doveconf -n
Note: per user quota is working from ldap and as well global quota defined in 90-quota.conf file ..
# 2.0.8: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.7 base_dir = /usr/local/dovecot/var/run/dovecot/ hostname = mx1.example.in log_path = /var/log/imap login_greeting = IMAP and POP Server welcomes you. mail_location = maildir:~/Maildir mail_plugins = quota acl managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date namespace { inbox = yes location = prefix = separator = . type = private } namespace { list = children location = maildir:/home/silvereye.in/public prefix = Public. separator = . subscriptions = yes type = public } passdb { args = /usr/local/dovecot/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile:/usr/local/dovecot/dovecot-acl/acl autocreate = Sent Items autocreate2 = Drafts autocreate3 = Spam autocreate4 = Deleted Items autocreate5 = Archive autosubscribe = Sent Items autosubscribe2 = Drafts autosubscribe3 = Spam autosubscribe4 = Deleted Items autosubscribe5 = Archive quota = maildir:User quota quota_rule = *:storage=500M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = ~/.dovecot.sieve sieve_after = /usr/local/dovecot/sieve/spf.sieve sieve_before = /usr/local/dovecot/sieve/default.sieve sieve_dir = ~/sieve sieve_global_dir = /usr/local/dovecot/sieve/global/ sieve_global_path = /usr/local/dovecot/sieve/default.sieve } protocols = imap pop3 sieve service imap-login { inet_listener imap { port = 143 } } service imap-postlogin { executable = script-login /usr/local/dovecot/bin/postlogin.sh user = root } service imap { executable = /usr/local/dovecot/libexec/dovecot/imap imap-postlogin } service managesieve-login { inet_listener sieve-obsolete { port = 2000 } } service quota-warning { executable = script /usr/local/dovecot/bin/quota-warning.sh unix_listener quota-warning { user = vmail } user = dovecot } ssl_cert =
Please let me know what is wrong with the configuration ..
Thanks
Am 02.01.2011 um 18:27 schrieb Joy:
I am using dovecot-lda to deliver the mail but unable to restrict users to recieve mails when quota becomes full. while i am using quota_full_tempfail = no in 15-lda.conf file. following is the output of doveconf -n
Works for me, though I'm using LMTP:
==> /var/log/dovecot/dovecot.log <== Jan 2 18:47:17 spectre dovecot: lmtp(25608): Connect from local Jan 2 18:47:17 spectre dovecot: lmtp(25608, user@domain.tld): Error: wJ/YIyW6IE0IZAAAqZii3w: sieve: msgid=1269871778.340939.1293990436549.JavaMail.ngmail@webmail06.arcor-online.net: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full)
==> /var/log/mail.log <== Jan 2 18:47:17 spectre postfix/lmtp[25607]: 83FC11C9: to=user@domain.tld, relay=spectre.leuxner.net[private/dovecot-lmtp], delay=0.06, delays=0.05/0/0/0, dsn=4.2.2, status=deferred (host spectre.leuxner.net[private/dovecot-lmtp] said: 452 4.2.2 user@domain.tld Quota exceeded (mailbox for user is full) (in reply to end of DATA command))
Noticed you have quota listed twice under 'protocol lda {}' because it's already declared via 'mail_plugins ='. Don't think that's an issue. What does it throw in the logs when the message should bounce?
Regards Thomas
On Sun, 2011-01-02 at 22:57 +0530, Joy wrote:
I am using dovecot-lda to deliver the mail but unable to restrict users to recieve mails when quota becomes full. while i am using quota_full_tempfail = no in 15-lda.conf file.
Set mail_debug=yes and show what it logs when delivering mail to a user who is over quota.
participants (3)
-
Joy
-
Thomas Leuxner
-
Timo Sirainen