Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 19th April 2008, 17:23
scrapper777 scrapper777 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
Now Postfix won't receive messages! :( PierreQuebec Server Operation 4 7th April 2008 19:36
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


All times are GMT +2. The time now is 12:58.


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