how to clear out /var/spool/clientmqueue
I recently ran out of disk space on my FC4 system. When I invesitgated this, I found that /var/spool/clientmqueue was occupying 14GB of disk space (as revealed by issuing "du -h" in /var/spool).
When I try to us ls on the directory, the system just hangs there. When I try to "rm -f /var/spool/clientmqueue/*" after a few seconds my terminal screen closes on me. So far, nothing I tried has helped me to clean out that clientmqueue directory. Any suggestions? Please!! Thanks. |
Try using mailq to see if there is any queued mail messages on the system. Is this system setup as an actual mail server?
|
Quote:
This server is not a mail server at all. It's primary role is to run MRTG for monitoring bandwidth in all segments of our network. Thanks. |
please check the /etc/sysmail/sendmail DAEMON=yes ? else make it yes and restart ur sendmail then see every thing will flush check before ur sendmail config mta and msp are ok |
Just delete the files there.
cd /var/spool/clientmqueue; find . -type f | xargs rm -rf
and add an entry to the crontab. |
All times are GMT -5. The time now is 10:13 PM. |