On Fri, Jul 12, 2002 at 10:11:06AM +0800, Suresh Ramasubramanian wrote: > +++ USM Bish [linux-india] <11/07/02 19:41 +0530>: > > They also be mails which could not be sent at all after repeated > > trials. In case you want to manually delete them first turn off > > sendmail daemon. Go into /var/spool/mqueue. Examine each file and > > selectively delete each file. Turn sendmail daemon on again. > > remember that there are two (or three) files per mail. > > df* - data files (mesg body) > qf* - header files > xf* - temporary state files which dont get deleted sometimes >
Thanks Suresh for adding these extras. They are important. Deleting just one file in the set will get you nowhere. The files have names like dfg6CEI5p01093 dfg6CEP7001350 qfg6CEI5p01093 qfg6CEP7001350 etc There are two mails in the example above .. To kill any single mail, the appropriate "set" would need to be deleted. viz '#rm -f ?fg6CEI5p01093' would delete both the data file and header of the first mail in queue. Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Searching for strings in files LOST #172 In order to search for a string in some files, use: grep "string" filename1 [filename2 filename3 ...] This will print out the filename and the lines in the file that contain the string. Type 'man grep' for details. ####<From : freebsd fortune>################################## : ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Gadgets, caffeine, t-shirts, fun stuff. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
