Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Using above command , I delete all the files belong to group abc.
Now the problem i face is that the this command gives error that some files are missing . And this error occur because after creating list of files, it pass that list to rm -rf but till that time sendmail process queue and some of files disapper from /var/spool/mqueue.
Any suggestion to avoid this error message please ..
I had to look it up since I don't use sendmail, Postfix has the postuser command that takes care of things like you want to do. I think the best way to go is to stop the sendmail daemon first, clean up the queue and start the sendmail daemon again.
You are of course entitled to have a different opinion. I only pointed you to the fact that you are using find to delete specific messages from the sendmail queue and that there are alternatives. I even told you that most likely if you stop the sendmail daemon before beginning the cleanup operation you'll not encounter that error. The find command passes the hits one after another to the rm command so it's not surprising that you encounter errors when running that on a mail queue that's active.
If you know how to clean up the sendmail queue then why are you insisting on using find to delete files from it when the daemon is active?