home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / sendmail / 2715 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decuac!avolio
  3. From: avolio@dco.dec.com (Frederick M Avolio)
  4. Subject: Re: How do you make old queued mail send?
  5. Message-ID: <1992Nov7.221242.24504@decuac.dec.com>
  6. Originator: avolio@gildor.dco.dec.com
  7. Sender: news@decuac.dec.com (USENET News System)
  8. Nntp-Posting-Host: gildor.dco.dec.com
  9. Reply-To: avolio@dco.dec.com
  10. Organization: Digital Equipment Corp., Washington ULTRIX Resource Center
  11. References: <BxC627.Gun@news.cso.uiuc.edu>
  12. Date: Sat, 7 Nov 1992 22:12:42 GMT
  13. Lines: 22
  14.  
  15.  
  16. Sendmail should be running as a daemon and running the queue every so often.
  17. For example if, in your /etc/rc.local (or something) file sendmail gets kicked
  18. off as
  19.         /usr/lib/sendmail -q1h -bd
  20.  
  21. every hour sendmail will try to run through the queue and deliver the mail
  22. there.
  23.  
  24. If, however, the system crashed and left lock files in place in the
  25. mail queue, the mail messages won't get sent, because sendmail things another
  26. sendmail process is already trying to send the mail.  When your system
  27. starts up, it should remove these lock files, like this:
  28.     (cd /usr/spool/mqueue; rm -f lf*)
  29.  
  30. Look in your syslog file.  If after the system restarts you see "locked"
  31. messages in your queue for the mail in the queue, this is probably your
  32. problem.  Alo if the mailq command indicates that a message is being sent
  33. (usually with an asterisk) and a ps ax doesn't show sendmail processing the
  34. message, you have a lock file that shouldn't be there.  
  35.  
  36. Fred
  37.