*BSD News Article 62488


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!gatech!newsfeed.internetmci.com!in2.uu.net!wizard.pn.com!dns.crocker.com!calweb!info.infosite.com!not-for-mail
From: cslye@infosite.com (Cameron Slye)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: killing mail in mailq
Date: 19 Feb 1996 04:45:17 GMT
Organization: Infosite
Lines: 16
Message-ID: <4g8v8t$7f@news.calweb.com>
References: <DMxspu.M3q@iglou.com>
NNTP-Posting-Host: infosite.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

Robert Kesten (tsn@iglou.iglou.com) wrote:
: How do you stop mail that is already queued from being sent?
: I've got about 5400 e-mails in mailq that I want to stop
: delivery on.

You want them all stopped ?

Kill off all sendmails, goto /var/spool/mqueue, and type rm *

That will kill everything waiting to be sent out, if you want to kill off
just things from a single user <grin, I hate this> you need to delete both
files for the message.  I don't have the script handy to grep all the
outgoing mail and purge anything that matches.

Cameron Slye
cslye@infosite.com