- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/spool/mqueue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2007 09:35 AM
тАО01-09-2007 09:35 AM
I've got stuff in here that's really old.
Can I just (for example) :
#cd /var/spool/mqueue
#find . -mtime +45 | xargs rm
???
If not, why not? What problems does it cause?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2007 09:46 AM
тАО01-09-2007 09:46 AM
SolutionI do this from my linux server:
/usr/bin/find /var/spool/mqueue/ -mtime 1 |xargs rm -f {}; > /tmp/cleanmqueue.cron.log 2>&1
I get a few errors in the maillog - file not found...
You could stop sendmail, do your find, then start sendmail.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2007 09:57 AM
тАО01-09-2007 09:57 AM
Re: /var/spool/mqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 07:26 PM
тАО01-10-2007 07:26 PM
Re: /var/spool/mqueue
The files come in pairs, one is headers and the other is the message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 07:33 PM
тАО01-10-2007 07:33 PM
Re: /var/spool/mqueue
This process as defined will cause no problems.
A complete delete will possibly hammer mail messages in progress, generating error messages in maillog.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 01:59 AM
тАО01-11-2007 01:59 AM
Re: /var/spool/mqueue
Last summer, just before I was leaving on vacation, my mail server was subjected to a denial-of-service attack where it was receiving tens of thousands of messages a day. In desperation, I set up a cron process that emptied mqueue every hour. By examining the mail received during the period I was away, it appeared that I lost few,if any, valid incoming messages through the sledge hammer approach.
Regards,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 03:46 AM
тАО01-11-2007 03:46 AM
Re: /var/spool/mqueue
I always appreciate the fine expert help.
I just didn't want to start having problems getting current "good" mail out of the server b/c I made the list of mail to be sent go into a "spaz" just b/c I felt like housecleaning...
I've cleaned up and everything is still running smoothly.
Happy New Year!
John