Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message Queue

Status
Not open for further replies.

grdi

MIS
Mar 18, 1999
5
US
I'm trying to find a good way to identify defunct message queues and to remove them in hp-ux 10.20. Any suggestions?
 
grdi,<br>
<br>
Are you still in need of assistance with your message queues? I have some ideas if you do need help.<br>
<br>
slars
 
slars, that would be great if you have any suggestions.<br>
grdi
 
OK, here's what I did on my firewall at a place I worked.<br>
<br>
Our sendmail.cf definitions defined a 4 hour warning and a 5 day bounce on undeliverable messages. So, with that in mind, I set up a cron to clean up the /var/spool/mqueue (hp-ux) directory. The cron ran a find, looking for files over 5 days old, then exec'd an rm on the files it found.<br>
<br>
I hope this is what you're looking for.<br>
<br>
slars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top