Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site sdchema.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdchema!jwp From: jwp@sdchema.UUCP (John Pierce) Newsgroups: net.unix-wizards Subject: Re: mail and disk quotas Message-ID: <302@sdchema.UUCP> Date: Sun, 2-Dec-84 00:17:39 EST Article-I.D.: sdchema.302 Posted: Sun Dec 2 00:17:39 1984 Date-Received: Tue, 4-Dec-84 06:13:52 EST References: <6183@brl-tgr.ARPA> Reply-To: jwp@sdchema.UUCP (John Pierce) Organization: Chemistry Dept, UC San Diego Lines: 14 Summary: Use setrlimit(2) in /bin/mail In article <6183@brl-tgr.ARPA> Godwrites: > The mail spool is a particular nuisance as other users can > force someone over quota by blasting mail at them. > I haven't had it happen here but I would assume that > mail starts falling off the floor. This can be fixed trivially in src/bin/mail.c with setrlimit(2). The most difficult part is finding the setrlimit(2) document in your manual. It is, of course, on the getrlimit(2) page (like where else did you *expect* it to be, man?). John Pierce, Chemistry, UC San Diego {decvax,sdcsvax}!sdchema!jwp