Setting mailbox & message size limits. Did I do this correctly?

Basically I’m trying to set an individual 300MB storage limit for each user, as well as a 15MB message limit. This is what I’ve done:

/etc/postfix/main.cf:

mailbox_size_limit = 0
message_size_limit = 15728640

/etc/dovecot/conf.d/20-imap.conf:

mail_plugins = $mail_plugins quota
plugin {
   quota = maildir:User quota
}

/etc/dovecot/conf.d/90-quota.conf:

plugin {
    quota_rule2 = *:storage=314572800:user=user1@example.com
    quota_rule2 = *:storage=314572800:user=user2@example.com
    quota_rule2 = *:storage=314572800:user=user3@example.com
}

/usr/local/lib/roundcubemail/config/config.inc.php:

$config['max_message_size'] = '15728640';

Will this work? Am I missing anything?
Also, I do know that this is not officially supported and I will need to make these changes after each Mailinabox update.

Thanks!

I have nothing useful to add, but you might checkout this pull request
Edited because of incorrect link

Did you mean to post that here?

No I meant to add a different link here :flushed:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.