-----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.)

Jeff Jansen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to