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

[SLUG] SendMail Queue Flush



> Date: Mon, 19 Jun 2000 15:25:11 +1000
> 
> Howdy all
> 
> I have an older version of sendmail (RH 4.2) which I use in the office for our
> email gateway (yes I know I will upgrade soon)
> But for now I have a couple of fellows that thought it would be fun to email
> everyone in there address book some fun pictures of nude girls etc..
> How do I flush the sendmail queue to get rid of these messages as they are
> choking our dialup modem link to the net.

stop the sendmail process
cd /var/spool/mqueue
grep -li jpg | xargs rm -f
start the sendmail process

If you're lazy don't even bother stopping & starting
sendmail... what's a few errors between friends.

---<GRiP>---
Grant Parnell gripz@nospam.linuxfreak.com (gparnell@nospam.bigpond.net.au) 
Ph: 02-8701-4564 Mob: 0408-686-201 Web: http://www.poboxes.com/gripz
No Microsoft products were used in the production of this message.

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text