1751975 Members
4394 Online
108784 Solutions
New Discussion юеВ

Re: /var/spool/mqueue

 
SOLVED
Go to solution
Fabien GUTIERREZ
Frequent Advisor

Re: /var/spool/mqueue

if you are able to stop sendmail service ie no applicative downtine by doing that and that u don't want to save the file just make
stop sendmail,umount FS and newfs on /var/spool/mqueue and u ll get rid of the files.
Dennis Handly
Acclaimed Contributor

Re: /var/spool/mqueue

Ok, I've decoded the following:
mailq | grep -v Deferred |grep -v mqueue | grep -v - |awk '{print $1}'

That "grep -v -" is the same as: grep -v -e -

This can all be replaced by:
mailq | awk 'substr($0,1,1) !~ "[\t -]" { print $1 }'

Of course this for loop won't work if there are that many files. You would have to change it to a while read:
mailq | awk 'substr($0,1,1) !~ "[\t -]" { print $1 }' | while read i; do
rm /var/spool/mqueue/?f$i
done
Prakash1178
Advisor

Re: /var/spool/mqueue

Dear Friends,

Finally I cleaned my server with the help of all of you.

I tried to give ratings on day berfore yesterday but due to some technical problems on site It was not processing. Yesterday I was unavailable & today its not giving me option to give ratings.

But if there any manual way to give ratings by writing I am giving ratings 10 to all ( Dennis, Rasheed, Fabin, Yogiraj )

Many thanks once again to all of you and all those who didnot contribut but even look at the problem and tried to give me solution.


Regards,

Prakash
Dennis Handly
Acclaimed Contributor

Re: /var/spool/mqueue

>Yesterday I was unavailable & today it's not giving me option to give ratings.

I can only request you be patient and try again. :-)

Since the thread isn't closed, it should allow you to assign points.
I've heard that if you try to assign points and close at the same time, the points are ignored, so try in two steps.

>But if there any manual way to give ratings by writing

Well, we thank you. But see if you can get the points to work, since they did initially.