atom feed16 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Obtaining the siz...
FromSent OnAttachments
Michael NguyenNov 9, 2005 3:48 pm 
Sam VarshavchikNov 9, 2005 4:00 pm 
Michael NguyenNov 9, 2005 4:16 pm 
Sam VarshavchikNov 9, 2005 4:30 pm 
Michael NguyenNov 9, 2005 4:58 pm 
Sam VarshavchikNov 9, 2005 5:07 pm 
Michael NguyenNov 9, 2005 5:49 pm 
Sam VarshavchikNov 9, 2005 6:04 pm 
Michael NguyenNov 9, 2005 6:11 pm 
Sam VarshavchikNov 9, 2005 6:17 pm 
Michael NguyenNov 9, 2005 6:40 pm 
Sam VarshavchikNov 9, 2005 6:48 pm 
Michael NguyenNov 9, 2005 8:28 pm 
Sam VarshavchikNov 10, 2005 3:51 am 
Jeff JansenNov 11, 2005 7:48 am 
Jeff JansenNov 11, 2005 9:10 am 
Subject:Re: [courier-users] Obtaining the size of a maildir
From:Jeff Jansen (ivb_@sil.org)
Date:Nov 11, 2005 7:48:39 am
List:net.sourceforge.lists.courier-users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Michael Nguyen writes:

Damn, that works. Last question. Do I need to create these maildirsize files myself?

The easiest way I know to set the quota is to use the maildirmake command that came with maildrop. The '-q' switch will set a quota on a maildir. If the maildir already exists then it just creates the quota files.

All my maildirs exist as /home/mailboxes/<domain>/<username>/Maildir so when I implemented quotas I simply ran:

for i in /home/mailboxes/*; do for j in $i/*; do maildirmake -q 10000000S $j/Maildir done done

That created a 100 meg quota on every account on my server. Would something like that solve your problem? (I don't how may accounts you have or what the globbing limit is on your system.)

iD8DBQFDdL0bZxtYeNk78A8RAqF1AJ9GuJlcs2+GpBdGr/iH2iV2VXaSTQCgxQ/V HfvGNLdH9rMEnKdH4aEpbos= =qbDP -----END PGP SIGNATURE-----