From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111726.tru64-unix-managers.marc@archive.invalid> From: Jerome M Berkman Date: Thu, 26 Mar 1998 23:46:02 +0000 To: tru64-unix-managers Subject: quotas on /var/spool/mail X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111726 We upgraded last month from 4.0B to 4.0D. There was a fix in 4.0B to make quotas work, even for mail.local, the local delivery agent. Without the fix, it just worked for other processes, but not mail.local. Our system programmer's can't figure out how to apply it or what an equivalent fix is on 4.0D, so now we have users with 100 MB mail spools and still receiving more mail. I several possible solutions, best first: 1. Get a fix so quotas really work, even for the local delivery agent. Does anyone know what how to do this? 2. Hack mail.local to check the users quota status before delivering mail and then giving a fatal error if the user is over quota. What system call returns quota information, e.g. current usage, whether soft is now hard quota, etc. I can't find anything relevant in the man pages. 3. Hack mail.local to stat the user's mail spool and give a fatal error if it is over a fixed amount. 4. Use aliases to block incoming mail for these users. This is easiest, but crudest. - Jerry Berkman, UC Berkeley jerry@uclink.berkeley.edu