Hello!
Timo Sirainen tss@iki.fi wrote:
http://dovecot.org/releases/2.1/dovecot-2.1.16.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.16.tar.gz.sig
- Added quota-status policy service for Postfix
Got a problem with the quota-status. I added it using the howto from Ralf Hildebrand at http://sys4.de/de/blog/2013/04/05/dovecot-quota-mit-postfix-abfragen/
# netstat -pantu |grep 12340 tcp 0 0 127.0.0.1:12340 0.0.0.0:* LISTEN 19666/dovecot
plugin { quota = maildir:User quota quota_grace = 10%% quota_rule = *:storage=500MB quota_rule2 = Trash:storage=+10%%
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.2.2 Mailbox is full / Mailbox ist voll
autocreate = Trash
autocreate2 = Drafts
autocreate3 = Sent
autosubscribe = Trash
autosubscribe2 = Drafts
autosubscribe3 = Sent
}
service quota-status { executable = quota-status -p postfix inet_listener { port = 12340 } client_limit = 1 }
and in der main.cf of postfix warn_if_reject check_policy_service inet:127.0.0.1:12340
I get this in the logfile of postfix: Apr 7 15:52:51 delta postfix/smtpd[19988]: warning: access table inet:127.0.0.1:12340 entry has empty value
What's wrong? Postfis does not seem to get the quota-status from dovecot.
Andreas