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