* Dayalan Manohar [linux-india] <24/05/01 15:52 +0530>:
> how to purge messages from mailq w/o sending?
Sendmail?
# /etc/rc.d/init.d/sendmail stop
# cd /var/spool/mqueue
# rm -rf *
Or if it is a specific message, get the queue id (that gibberish alphanumeric
string you see when you do a mailq) and remove df[id] and qf[id] from
/var/spool/mqueue
Exim has a much more elegant interface to this ...
# exim -Mrm queue-id
or
# exim -Mrm `mailq|grep virus-infected@guys-address|cut -c 11-27`
-suresh
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help