LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: David Fitch <davidf@parachilna.com>
To : David.Major <David.Major@hallmark.com.au>
Date: Thu, 1 Nov 2001 12:04:32 +1100
Re: Mail Q
On Sun, Dec 02, 2001 at 10:33:19AM +1030, David.Major wrote:
> G'day All,
> How can I flush the mail q? I have about 200 2.1mb emails
> slowly sending out 1 @ a time :) I need to stop and clear all outgoing mail?
so you mean delete them? not flush them as in force them to be sent?
flushing is "sendmail -q"
"sendmail -bp" or "mailq" to see the queue
(man sendmail (or your MTA) for more options)
deleting unsent mail depends on your MTA (well so does the above bit
really except most/all MTA's install a link called sendmail for
backwards compatibility).
But the normal procedure is stop your MTA, find and delete all the
control and data files (usually one of each for each message) under
/var/spool/mqueue (or similar) then restart MTA.
Dave.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page