home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12838 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.0 KB

  1. Xref: sparky comp.sys.hp:12838 comp.mail.sendmail:2746
  2. Newsgroups: comp.sys.hp,comp.mail.sendmail
  3. 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
  4. From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
  5. Subject: Re: What sendmail do when quota exceeds ?
  6. References: <1992Nov12.114436.6873@hp9000.csc.cuhk.hk>
  7. Message-ID: <BxM299.E5q@news.cso.uiuc.edu>
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Reply-To: Paul-Pomes@uiuc.edu
  10. Organization: University of Illinois at Urbana
  11. Date: Thu, 12 Nov 1992 16:10:12 GMT
  12. Lines: 28
  13.  
  14. a866700@hp9000.csc.cuhk.hk (Wong Siu To) writes:
  15.  
  16. >I'd like to know what sendmail will do if user's quota is exceeded.
  17. >I've enabled quota on /usr/mail to limit the user mail box's size.  I
  18. >wonder the mail will be requeued, bounced back, or stored as usual when
  19. >the user's quota is exceeded.  If sendmail bypasses the quota checking,
  20. >how can I queue up the mail (but not delivered to user) in the mail
  21. >queue until the user files are cleared up ?
  22.  
  23. Sendmail's actions are determined by whatever exit status is returned
  24. by the local deliver agent (usually /bin/mail).  To do what you want
  25. you'll need to modify /bin/mail to check quotas before delivering the
  26. message.  If /bin/mail exits with EX_TEMPFAIL (/usr/include/sysexits.h),
  27. then the message will be re-queued.  Any other error will bounce the
  28. message back to the sender.
  29.  
  30. At UIUC we don't have the time or interest to monitor quotas on student
  31. accounts (8900 on uxa, 5400 on ux4).  Our experience has been that if a
  32. student is over quota, it's usually because they belong to active mailing
  33. lists and haven't been reading their mail.  Storing mail in /usr/spool/mqueue
  34. for this kind of user waiting for them to clean up their act is a fast way
  35. to fill up /usr/spool/mqueue.
  36.  
  37. /pbp
  38. -- 
  39. "A well-schooled electorate, being necessary to the security of a free State,
  40. the right of the People to keep and read Books shall not be infringed."
  41.     -- J. Neil Schulman
  42.