[Dovecot] execute command in quota warning
nuno marques
nam_10 at hotmail.com
Sun Oct 23 22:39:33 EEST 2011
hi, I cant run any script in "quota_warning = storage=95%% quota-warning 95 %u". Any ideia? Thanks # 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, please go to http://www.example.com/over_quota_help for instructions on how to fix this.
quota_rule = fs:storage=+10M
quota_rule2 = Trash:ignore
quota_rule3 = SPAM:ignore
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=50%% quota-warning 50 %u
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
group = root
mode = 0666
user = root
}
user = root
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
protocol lda {
mail_plugins = " quota quota"
}
protocol imap {
mail_plugins = " quota imap_quota"
}
More information about the dovecot
mailing list