[Dovecot] Unable to solve over quota issue

Joy pj.netfilter at gmail.com
Sun Jan 2 19:27:48 EET 2011


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 = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
 args = /usr/local/dovecot/etc/dovecot/dovecot-ldap.conf.ext
 driver = ldap
}
protocol sieve {
 managesieve_logout_format = bytes ( in=%i : out=%o )
}
protocol lda {
 mail_plugins = quota acl sieve quota
}
protocol imap {
 mail_plugins = quota acl imap_acl autocreate imap_quota
}

Please let me know what is wrong with the configuration ..

Thanks


More information about the dovecot mailing list