BBS水木清华站∶精华区

寄信人: longyear@netcom.com (Al Longyear)  
标  题: Re: remove my mail from sendmail queue 
发信站: 水木清华 BBS 站 Internet Email 
日  期: Mon Jan 27 18:58:31 1997 
 
Arthur S. Petrossian wrote: 
  
 On Mon, 27 Jan 1997, Brett Person wrote: 
 > 
 > if you are root just go to /usr/spoolmqueue and delete the appropriate  
 > file. Otherwise, it'll probably be sent next time sendmail rolls around., 
  
 But isn't there better way to do it. Because it is hard to quickly  
 determine the appropriate file(s) in /var/spool/mqueue. 
 
There is no real 'easy' way to find the specific message. You can use 
the mqueue program (a symbolic link to sendmail which is the 
equivalent of sendmail -bp) to find your message. If you have time to 
remove just one file then remove the 'qf' file. The 'df' file holds the 
text, but the sendmail does not attempt to deliver a message which has 
a data file but no queue file. 
 
Of course, the best method is to not send the message in the first place. 
 
If you are not the root user, then there is no recall function. A message 
sent is sent. 
 
--  
Al Longyear           longyear@netcom.com         Finger for PGP key 
Design is about changing your mind until you get it correct. 
寄信人: richip@manila.tridel.com.ph ("Richard Neal G. Plana")  
标  题: Re: remove my mail from sendmail queue 
发信站: 水木清华 BBS 站 Internet Email 
日  期: Mon Jan 27 19:55:11 1997 
 
Hi! 
 
On Mon, 27 Jan 1997, Arthur S. Petrossian wrote: 
 
 Please , who can say how to remove my mail from the sendmail queue if I  
 have send it bu sendmail still has it in its queue and I don't want that  
 mail to be sent. 
 
Better than that ... has an interface to the sendmail daemon been written. 
A sendmail administrator and manager. Something that would help the 
system adminstrator manage the queue (ie. send now, rm, etc.) and other 
configurable aspects of sendmail outside of sendmail.cf and its 
commandline options? I don't think sendmail, mailq, nor newaliases has 
that feature. 
 
--Richi 8^) 
   
 
寄信人: andy@tho.org (Andy Berkheimer)  
标  题: Re: remove my mail from sendmail queue  
发信站: 水木清华 BBS 站 Internet Email 
日  期: Mon Jan 27 23:53:51 1997 
 
On Mon, 27 Jan 1997, Brett Person wrote: 

> if you are root just go to /usr/spoolmqueue and delete the appropriate  
> file. Otherwise, it'll probably be sent next time sendmail rolls around., 
 
But isn't there better way to do it. Because it is hard to quickly  
determine the appropriate file(s) in /var/spool/mqueue. 
 
Running mailq to list the messages in the queue will give you a good idea 
of the filename to delete. 
 
-- 
Andy Berkheimer | Home: andy@tho.org 
aberkhei@acm.org | Work: andrewb@mitre.org 
 
 

BBS水木清华站∶精华区