Can anyone enlighten me on how to force sendmail to flush the mail queue
when it is already running as a deamon?
I have a script on a linux box that does the following:
1. Create a PPP connection to my ISP.
2. Do stuff on the net.
3. Mail results to a mail address (not the local linux box).
4. Shutdown the PPP connection.
Then Sendmail deamon is currently set to flush the queue every hour.
What happens in the above sequence of events is that the PPP
connection shuts down before sendmail hits its hour interval.
The above script is run once a day, so sendmail sends the message
when the PPP connection is made the following day.
What I would like to do is force sendmail to flush its queue before
I shutdown the PPP connection. I figure it must be something simple,
but can't quite figure it out.
BruceG.