[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: how to kill mail in queue?



On Wednesday, February 28, 2001 8:48 AM, gary [SMTP:gary thongsiek com]
wrote:
| Dear all,
|  
| I'm using sendmail-8.9.3-20 on RH6.2.
|  
| I just wonder, I got lot of mails stuck in queue, is there a way to
| kill the mail in queue?
| Please advise....

It depends. If you want to kill *all* of them, just do

rm -f /var/spool/mqueue/*

If you want to delete specific messages, you need to identify the message
IDs and delete the appropriate one.

That was simple ;-).
--
Prashant TR <tr midpec com>
Web: http://www.midpec.com/


----------------------------------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please 
contact the sender and delete the material from any computer.
----------------------------------------------------------------------------------------------------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]