HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   Postfix script to delete messages older than 8 hours (http://www.howtoforge.com/forums/showthread.php?t=22520)

scrapper777 19th April 2008 17:23

Postfix script to delete messages older than 8 hours
 
Hi, I'm not a scripter, but is there a way to create a script that would delete all postfix messages stuck in a queue that are older than 8 hours? I know there is a way to delete all message or messages from a specific sender, but I need to be able to delete messages according to how long they have been in the queue. Can someone point me in the right direction?

Thanks!
Scrapper:D


All times are GMT +2. The time now is 23:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.