Re: Purge sendmail queue
On Thu, 18 Jun 2009, T o n g wrote:
Is there any way to purge sendmail queue?
1) The "Get a bigger hammer" approach:
/etc/init.d/sendmail stop
rm -f /var/spool/mqueue
/etc/init.d/sendmail start
2) The "Not every problem is nail" approach:
man qtool
This way, you can delete only messages for certain recipients, over
a certain age, etc...
--
Rick Nelson
<Knghtbrd> Internet censorship. Because your children need to be
protected from naked women, medical procedures, diverse
cultures, and violent video games.
<knghtbrd> (but information on building bombs, stealing cable, and
manufacturing drugs is okay...)
Reply to: