Tim Chen
2008-Jan-14 07:29 UTC
[Dovecot] maildirsize quota does not referred after migration from courier
Dear All, We would like to migrate our existing courier to dovecot. After reading document on website and doing some tests, here are some issues we met. 1. According the the wiki, it seems to imply that once migrating from courier to dovecot, pop3 users may "lost/forget" their download "index/ history" which cause them to download again old mails that are kept on server side. If this is true, it would seriously annoy our users since they always keep old mails on server so that they can access them through webmail interface. Is there anyway to avoid this kind of situation? 2. Currently, we use only /etc/passwd to store our user information. Postfix is our MTA and maildrop is MDA. Quota settings were wriiten in the maildirsize file reside under Maildir directory at everyone's home. The command we use to set user quota: /usr/local/bin/maildirmake -q 315000000S Maildir After installing a test environment using dovecot v1.1.beta13, we found that it does not read the quota settings from the maildirsize file, instead, it only rely on the system wide settings. This could be a problem since we have different quota settings for different groups of users. Is this a bug of v1.1? Or should I use v1.0 instead? Will v1.1 fix this bug in the future? Best regards, Tim Chen
Abhijit Hoskeri
2008-Jan-14 07:50 UTC
[Dovecot] maildirsize quota does not referred after migration from courier
Hello Tim! On Mon, Jan 14, 2008 at 03:29:50PM +0800, Tim Chen wrote:> 2. Currently, we use only /etc/passwd to store our user information. Postfix > is our MTA and maildrop is MDA. Quota settings were wriiten in the > maildirsize file reside under Maildir directory at everyone's home. > > The command we use to set user quota: > /usr/local/bin/maildirmake -q 315000000S Maildir >You have to enable the quota plugin. In dovecot.conf: protocol imap { ... mail_plugins = quota imap_quota ... } ... plugin { quota = maildir } Have you done this? Good Luck. Abhijit.
Timo Sirainen
2008-Jan-14 08:16 UTC
[Dovecot] maildirsize quota does not referred after migration from courier
On Mon, 2008-01-14 at 15:29 +0800, Tim Chen wrote:> 1. According the the wiki, it seems to imply that once migrating from > courier to dovecot, pop3 users may "lost/forget" their download "index/ > history" which cause them to download again old mails that are kept on > server side. > > If this is true, it would seriously annoy our users since they always > keep old mails on server so that they can access them through webmail > interface. > > Is there anyway to avoid this kind of situation?Use the migration script, which tries to preserve the UIDLs. http://wiki.dovecot.org/Migration/Courier> 2. Currently, we use only /etc/passwd to store our user information. Postfix > is our MTA and maildrop is MDA. Quota settings were wriiten in the > maildirsize file reside under Maildir directory at everyone's home. > > The command we use to set user quota: > /usr/local/bin/maildirmake -q 315000000S Maildir > > After installing a test environment using dovecot v1.1.beta13, we found > that it > does not read the quota settings from the maildirsize file, instead, it > only rely on the > system wide settings.Don't give system wide limits, and it'll use the limits in maildirsize file. I don't remember if this can be done simply by not specifying quota_rule at all, or by specifying "quota_rule = *". -------------- 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/20080114/2141a1ef/attachment-0002.bin>
Tim Chen
2008-Jan-14 08:57 UTC
[Dovecot] maildirsize quota does not referred after migration from courier
On Jan 14, 2008 4:16 PM, Timo Sirainen <tss at iki.fi> wrote:> On Mon, 2008-01-14 at 15:29 +0800, Tim Chen wrote: > Use the migration script, which tries to preserve the UIDLs. > http://wiki.dovecot.org/Migration/CourierThanks I will give it a try.> > > 2. Currently, we use only /etc/passwd to store our user information. > Postfix > > is our MTA and maildrop is MDA. Quota settings were wriiten in the > > maildirsize file reside under Maildir directory at everyone's home. > > > > The command we use to set user quota: > > /usr/local/bin/maildirmake -q 315000000S Maildir > > > > After installing a test environment using dovecot v1.1.beta13, we > found > > that it > > does not read the quota settings from the maildirsize file, instead, > it > > only rely on the > > system wide settings. > > Don't give system wide limits, and it'll use the limits in maildirsize > file. I don't remember if this can be done simply by not specifying > quota_rule at all, or by specifying "quota_rule = *". > >1. When specifying quota_rule = *, it warns FQuota root QUOTA: Invalid rule: * when starting dovecot. 2. If commenting out quota_rule =, we can not get the quota setting by issueing the following command: a login user1 pass1 user1 getquotaroot INBOX * QUOTAROOT "INBOX" user1 OK Getquotaroot completed. the content of maildirsize file 750000000S 435936340 8836 Is there any settings incorrect? Thanks for your help. Best regards, Tim Chen