Re: [exim] How can i delete mail older than X hours

Pàgina inicial
Delete this message
Reply to this message
Autor: Dennis Skinner
Data:  
A: David Murphy
CC: exim-users
Assumpte: Re: [exim] How can i delete mail older than X hours
David Murphy wrote:
> I need to be able to delete mail older than 72 hours or 3 days. I have
> deffer failures and other frozen type issue that can fillup my queue. Im
> needing a command that can be run via cron to every 3 days remove any
> queue items older than 3 days old. Any ideas?


Use exiqgrep like this:

exiqgrep -i -o 259200 | xargs exim -Mrm

viola!

--
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com

"October's poplars are flaming torches lighting the way to winter. -
Nova Bair"