Quote:
Originally Posted by gezley
|
I already read this page, but it's unfortunately not very well explained, e. g. I still don't know which option goes where. Here's my actual (working) /etc/dovecot/dovecot.conf file:
Code:
# /etc/dovecot/dovecot.conf
protocols = imap
listen = *
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
mail_location = maildir:~/Maildir
auth_mechanisms = plain login
passdb {
driver = shadow
args =
}
passdb {
driver = passwd
args =
}
userdb {
driver = passwd
args =
}
service auth {
unix_listener auth-userdb {
mode = 0600
user = postfix
group = postfix
}
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
user = $default_internal_user
}
Let's say - for example's sake - I want a default of 100 MB mail storage per user, except users mworms and jpvergniol, who should get each one 500 MB mail storage.
How do I configure the default behaviour (100 MB quota) in dovecot.conf?
As for the quota overrides, here's the page that explains (more or less) how to do that:
http://wiki2.dovecot.org/UserDatabase/ExtraFields
I think I'm concerned by the last section (passwd-file), but what do I have to do here? Edit my /etc/passwd file and add fields like userdb_quota_rule=*:storage=500M for overrides?
I'm puzzled.