Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
courierchangequota [2015/05/26 18:24]
yassine chaouche
courierchangequota [2016/05/25 11:46] (current)
yassine chaouche
Line 4: Line 4:
     maildirmake -q 100000S /​var/​vmail/​domain.tld/​some-email/​     maildirmake -q 100000S /​var/​vmail/​domain.tld/​some-email/​
     ​     ​
-will set a quota of 100 Mb on the some-email Maildir. **Notice the S at then end of the size argument**, you will have a format error if you don't add an S. maildirmake -q It will update the maildirsize file present in that folder with the necessary information. If you still see the old quota in your email client, make sure the maildirsize file is readable by the required user (vmail in my case). Most likely, if you issue the maildirmake command as root the file will belong to root, and the system user running courier won't be able to read or write to it so make sure to chown the file to the required user.+will set a quota of 100 Mb on the some-email Maildir. **Notice the S at then end of the size argument**, you will have a format error if you don't add an S. maildirmake -q will update the maildirsize file present in that folder with the necessary information. If you still see the old quota in your email client, make sure the maildirsize file is readable by the required user (vmail in my case). Most likely, if you issue the maildirmake command as root the file will belong to root, and the system user running courier won't be able to read or write to it so make sure to chown the file to the required user.
  
    chown vmail:vmail maildirsize    chown vmail:vmail maildirsize

QR Code
QR Code courierchangequota (generated for current page)