[Dovecot] Quota warning

nuno marques nam_10 at hotmail.com
Sat Oct 22 12:18:27 EEST 2011





Hi, I cant run quota warning or other script.
 any suggestions?  Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Effective uid=1002, gid=1002, home=/home/user4
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Quota root: name=User quota backend=maildir args=
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Quota rule: root=User quota mailbox=* bytes=10485760 messages=0
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Quota rule: root=User quota mailbox=Trash bytes=+1048576 messages=0
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Quota warning: bytes=9961472 (95%) messages=0 reverse=no command=script /etc/dovecot/conf.d/teste 95 user4
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Quota warning: bytes=8388608 (80%) messages=0 reverse=no command=script /etc/dovecot/conf.d/teste 80 user4
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: Quota warning: bytes=7340032 (70%) messages=0 reverse=no command=script /etc/dovecot/conf.d/teste 70 user4
Oct 22 10:02:52 userseuac dovecot: imap(user4): Debug: maildir++: root=/home/user4/Maildir, index=, control=, inbox=/home/user4/Maildir, alt=
 
# 2.0.14: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.29.1.el6.x86_64 x86_64 CentOS Linux release 6.0 (Final)
auth_debug = yes
auth_debug_passwords = yes
auth_username_format = %Lu
auth_verbose = yes
disable_plaintext_auth = no
mail_debug = yes
mail_location = maildir:~/Maildir
mail_plugins = " quota"
mbox_write_locks = fcntl
passdb {
  driver = pam
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid from subject size vsize flags
  quota = maildir:User quota
  quota_exceeded_message = Quota exceeded!!!!!!!!!!!!!!
  quota_rule = *:storage=10M
  quota_rule2 = Trash:storage=+1M
  quota_warning = storage=95%% script /etc/dovecot/conf.d/teste 95 %u
  quota_warning2 = storage=80%% script /etc/dovecot/conf.d/teste 80 %u
  quota_warning3 = storage=70%% script /etc/dovecot/conf.d/teste 70 %u
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = dovecot
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol imap {
  mail_plugins = " quota imap_quota"
}
protocol pop3 {
  mail_plugins = " quota quota"
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
} The system as a whole is composed of:
dovecot-2.0.14-1_130.el6.x86_64
openldap-servers-2.4.19-15.el6_0.2.x86_64
postfix-2.6.6-2.1.el6_0.x86_64
mailscanner-4.84.3-1.noarch
spamassassin-3.3.1-2.el6.x86_64
centos 6 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
 		 	   		  


More information about the dovecot mailing list