home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:12838 comp.mail.sendmail:2746
- Newsgroups: comp.sys.hp,comp.mail.sendmail
- Path: sparky!uunet!walter!att-out!pacbell.com!ames!agate!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxc.cso.uiuc.edu!paul
- From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
- Subject: Re: What sendmail do when quota exceeds ?
- References: <1992Nov12.114436.6873@hp9000.csc.cuhk.hk>
- Message-ID: <BxM299.E5q@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: Paul-Pomes@uiuc.edu
- Organization: University of Illinois at Urbana
- Date: Thu, 12 Nov 1992 16:10:12 GMT
- Lines: 28
-
- a866700@hp9000.csc.cuhk.hk (Wong Siu To) writes:
-
- >I'd like to know what sendmail will do if user's quota is exceeded.
- >I've enabled quota on /usr/mail to limit the user mail box's size. I
- >wonder the mail will be requeued, bounced back, or stored as usual when
- >the user's quota is exceeded. If sendmail bypasses the quota checking,
- >how can I queue up the mail (but not delivered to user) in the mail
- >queue until the user files are cleared up ?
-
- Sendmail's actions are determined by whatever exit status is returned
- by the local deliver agent (usually /bin/mail). To do what you want
- you'll need to modify /bin/mail to check quotas before delivering the
- message. If /bin/mail exits with EX_TEMPFAIL (/usr/include/sysexits.h),
- then the message will be re-queued. Any other error will bounce the
- message back to the sender.
-
- At UIUC we don't have the time or interest to monitor quotas on student
- accounts (8900 on uxa, 5400 on ux4). Our experience has been that if a
- student is over quota, it's usually because they belong to active mailing
- lists and haven't been reading their mail. Storing mail in /usr/spool/mqueue
- for this kind of user waiting for them to clean up their act is a fast way
- to fill up /usr/spool/mqueue.
-
- /pbp
- --
- "A well-schooled electorate, being necessary to the security of a free State,
- the right of the People to keep and read Books shall not be infringed."
- -- J. Neil Schulman
-