[Dovecot] Maildir++ problem
Hi to all,
I am semi-new to the dovecot system, but i like it very much for the versatility of all the system. I have a problem: i am migrating my servers from postfix with vda patch + courier imap to dovecot. All works fine, except for one thing: i use Maildir++ format, but i don't know how to make the file maildirsize into the home of the users. This file is needed by me becouse i have a script, running every day, checking the quota status and sending me a mail of the space occuped by every mailbox on my mailserver. The format of the maildirsize file is like this:
15360000S 12393886 1
How dovecot can generate that file? I have searched into all the documentation, but i don't find anything... What parameters must be specified into the config file to generate the maildirsize file?
Thank u in advance, and long life to dovecot ;)
Claudio.
--
Claudio Prono Systems Development @ Atpss.net Srl, Divisione Implementazione Sistemi Via San Bernardino, 17 - 10137 Torino (TO) - IT Tel +39-011.32.72.100 Fax +39-011.32.46.497 PGP Fingerprint: 75C2 4049 E23D 2FBF A65F 40DB EA5C 11AC C2B0 3647 Disclaimer: http://atpss.net/disclaimer
On Mon, 2008-10-06 at 17:24 +0200, Claudio Prono wrote:
Hi to all,
I am semi-new to the dovecot system, but i like it very much for the versatility of all the system. I have a problem: i am migrating my servers from postfix with vda patch + courier imap to dovecot. All works fine, except for one thing: i use Maildir++ format, but i don't know how to make the file maildirsize into the home of the users. This file is needed by me becouse i have a script, running every day, checking the quota status and sending me a mail of the space occuped by every mailbox on my mailserver. The format of the maildirsize file is like this:
Enable Maildir++ quota in Dovecot. http://wiki.dovecot.org/Quota
I have already done it,
I use dovecot 1.1.3 on OpenSuSE 11.0.
In dovecot.conf there is:
mail_plugins = quota imap_quota mail_plugin_dir = /usr/lib/dovecot/modules/imap
mail_plugins = quota mail_plugin_dir = /usr/lib/dovecot/modules/pop3
mail_plugins = quota mail_plugin_dir = /usr/lib/dovecot/modules/lda
quota = maildir
But no maildirsize file was generated, and if is already present, was not updated....
Any idea?
Tnx,
Claudio Prono.
Timo Sirainen ha scritto:
On Mon, 2008-10-06 at 17:24 +0200, Claudio Prono wrote:
Hi to all,
I am semi-new to the dovecot system, but i like it very much for the versatility of all the system. I have a problem: i am migrating my servers from postfix with vda patch + courier imap to dovecot. All works fine, except for one thing: i use Maildir++ format, but i don't know how to make the file maildirsize into the home of the users. This file is needed by me becouse i have a script, running every day, checking the quota status and sending me a mail of the space occuped by every mailbox on my mailserver. The format of the maildirsize file is like this:
Enable Maildir++ quota in Dovecot. http://wiki.dovecot.org/Quota
--
Claudio Prono Systems Development @ Atpss.net Srl, Divisione Implementazione Sistemi Via San Bernardino, 17 - 10137 Torino (TO) - IT Tel +39-011.32.72.100 Fax +39-011.32.46.497 PGP Fingerprint: 75C2 4049 E23D 2FBF A65F 40DB EA5C 11AC C2B0 3647 Disclaimer: http://atpss.net/disclaimer
On Oct 7, 2008, at 7:11 PM, Claudio Prono wrote:
I have already done it,
I use dovecot 1.1.3 on OpenSuSE 11.0.
In dovecot.conf there is:
mail_plugins = quota imap_quota mail_plugin_dir = /usr/lib/dovecot/modules/imap
mail_plugins = quota mail_plugin_dir = /usr/lib/dovecot/modules/pop3
mail_plugins = quota mail_plugin_dir = /usr/lib/dovecot/modules/lda
quota = maildir
Looks ok.
But no maildirsize file was generated,
It's not generated if you haven't told Dovecot what the quota limits
are. In that case it uses the quota limits from maildirsize file, and
if it's not present then Dovecot assumes you don't want any quota (or
quota tracking).
If you don't want quota limits but only tracking, you could upgrade to
1.1.4 and set:
quota_rule = *:
and if is already present, was not updated....
It should have. If the above doesn't help, set mail_debug=yes and show
what the logs say.
participants (2)
-
Claudio Prono
-
Timo Sirainen