Re: remove my mail from sendmail queue

Al Longyear (longyear@netcom.com)
Mon, 27 Jan 1997 02:50:18 -0800 (PST)


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.