New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

imap quota

Got problems with your B2 or B3? Share and get helped!
Post Reply
albert
Posts: 69
Joined: 09 Jul 2007, 14:35
Location: The Netherlands

imap quota

Post 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
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: imap quota

Post by Ubi »

you need to do it yourself
albert
Posts: 69
Joined: 09 Jul 2007, 14:35
Location: The Netherlands

Re: imap quota

Post 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
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: imap quota

Post by Ubi »

please be so kind to add this to the wiki
Post Reply