Hi,
I edited the /etc/passwd file for one of user, but the quota is not taking
effect for this user, the user is able to receive mails more than the quota
allocated.
testuser:x:515:516::/home/testuser:/bin/bash:userdb_quota_rule=*.bytes=3M
My output of dovecot -n
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot
ssl: no
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable: /usr/local/libexec/dovecot/imap-login
mail_privileged_group: mail
mail_location: mbox:~/mail:INBOX=/var/mail/%u
lda:
postmaster_address: postmaster at xxxx.in
auth default:
mechanisms: plain login
passdb:
driver: pam
userdb:
driver: passwd
plugin:
quota: maildir:User quota
quota_rule: *:storage=2048
quota_rule2: Trash:storage=1024
Are my editing in /etc/passwd and dovecot.conf is correct, guide me
Thanks in advance
Regards,
P. Prasanna
On Tue, Dec 15, 2009 at 5:15 PM, Eduardo M KALINOWSKI <
eduardo at kalinowski.com.br> wrote:
> On Ter, 15 Dez 2009, Pattabi Prasanna wrote:
>
>> I setting up a Mail server for my company. I have installed
Postfix,
>> it
>> is working fine. I have installed Dovecot IMAP Server, i want to know
how
>> to implement quotas for users mailbox. I have created Users using
>> /etc/passwd, No Mysql or LDAP at present. can you provide me the links
to
>> do
>> this.
>>
>
> This link should give you some starting point:
> http://wiki.dovecot.org/Quota
>
>
> --
> Eduardo M KALINOWSKI
> eduardo at kalinowski.com.br
>
>