Hi, Im testing with 1.1RC1. I read here: http://wiki.dovecot.org/Quota/Maildir "If you configure quota limits in Dovecot (e.g. quota=maildir:storage=102400(kilobytes)), Dovecot makes sure that this header is kept up to date. If the file does not exist, it's simply rebuilt." This is my query: password_query = SELECT username as user, username as userdb_user, passwd as password, 1001 as userdb_uid, 1001 as userdb_gid, concat('maildir:storage=', quota, 'M:ignore=Spam\ e\-mail') AS userdb_quotarule, 'Trash:storage=20M' as userdb_quota_rule2 FROM mailboxen WHERE username = '%n' Also in the main config I use: mail_plugins: quota imap_quota plugin: quota: maildir So I use maildir:storage in my config. However when I delete the maildirsize (for testing purposes) it doesn't get automatically recreated? According to the Wiki it should right? Cheers, Jan
On Mon, 2008-03-10 at 13:39 +0100, Jan van den Berg wrote:> concat('maildir:storage=', quota, 'M:ignore=Spam\ e\-mail') AS > userdb_quotarule, > 'Trash:storage=20M' as userdb_quota_rule2Almost, but userdb_quota_rule, not userdb_quotarule. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080310/c15eccc1/attachment-0002.bin>
Right... I made a typo: userdb_quotarule instead of userdb_quota_rule (weird that Dovecot doesn't complain about this). But now I get this error: Mar 10 13:52:29 mx01 dovecot: IMAP(roka-05): Quota rule: rootmailbox=maildir bytes=10485760 messages=0 Mar 10 13:52:29 mx01 dovecot: IMAP(roka-05): Quota root QUOTA: Invalid rule: maildir:storage=10M:ignore=Spam e-mail Cheers, Jan -----Oorspronkelijk bericht----- Van: dovecot-bounces+jan.vandenberg=isp.solcon.nl at dovecot.org [mailto:dovecot-bounces+jan.vandenberg=isp.solcon.nl at dovecot.org] Namens Jan van den Berg Verzonden: maandag 10 maart 2008 13:40 Aan: Dovecot Mailing List Onderwerp: [Dovecot] Maildirsize automatically (re)build Hi, Im testing with 1.1RC1. I read here: http://wiki.dovecot.org/Quota/Maildir "If you configure quota limits in Dovecot (e.g. quota=maildir:storage=102400(kilobytes)), Dovecot makes sure that this header is kept up to date. If the file does not exist, it's simply rebuilt." This is my query: password_query = SELECT username as user, username as userdb_user, passwd as password, 1001 as userdb_uid, 1001 as userdb_gid, concat('maildir:storage=', quota, 'M:ignore=Spam\ e\-mail') AS userdb_quotarule, 'Trash:storage=20M' as userdb_quota_rule2 FROM mailboxen WHERE username = '%n' Also in the main config I use: mail_plugins: quota imap_quota plugin: quota: maildir So I use maildir:storage in my config. However when I delete the maildirsize (for testing purposes) it doesn't get automatically recreated? According to the Wiki it should right? Cheers, Jan
Hi Charles, Just for testing of course. Cheers, Jan -----Oorspronkelijk bericht----- Van: dovecot-bounces+jan.vandenberg=isp.solcon.nl at dovecot.org [mailto:dovecot-bounces+jan.vandenberg=isp.solcon.nl at dovecot.org] Namens Charles Marcus Verzonden: maandag 10 maart 2008 16:52 Aan: Dovecot Mailing List Onderwerp: Re: [Dovecot] Maildirsize automatically (re)build On 3/10/2008, Jan van den Berg (jan.vandenberg at isp.solcon.nl) wrote:> 2. I have set a quota limit of 10MB and (extra) 8MB on the Trash > folder.? Why on earth would you set such ridiculously low quotas? -- Best regards, Charles