Page 1 of 1

imap quota

Posted: 07 Dec 2010, 05:15
by albert
Since bubba uses dovecot as imap server it is possible to set quota to imap mailboxes (bubba 2 and 3, the original bubba used a too old dovecot version).

As I don't have my bubba 3 yet and can't check, I want to ask if this can be set in the webinterface, or do I have to 'hack' into the dovecot configuration file to do this?

Thanks,

Albert

Re: imap quota

Posted: 07 Dec 2010, 06:43
by Ubi
you need to do it yourself

Re: imap quota

Posted: 11 Dec 2010, 14:20
by albert
Ok,

here is how to do it. You have to edit /etc/dovecot/dovecot.conf and edit the following three entries (protocol imap, protocol pop3, plugin:

protocol imap {
mail_plugins = quota imap_quota
}

protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
mail_plugins = quota
}

plugin {
quota = maildir:User quota
quota_rule = *:storage=5GB
}

Now restart dovecot:

/etc/init.d/dovecot restart

Would be nice to have this as an option in the webinterface.

Cheers,

Albert

Re: imap quota

Posted: 11 Dec 2010, 17:45
by Ubi
please be so kind to add this to the wiki