[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-users] Auto empty email Trash folder

From: Brian Johnson
Subject: [Phpgroupware-users] Auto empty email Trash folder
Date: Wed, 30 Oct 2002 16:37:28 +0000

For those of you that care ...

This cron job:

00 00 * * * root locate Trash | grep mail > /tmp/mail.txt; /root/

combined with this script:

open MAIL, "/tmp/mail.txt";
foreach (<MAIL>) {
               system ( "tail $_ > $_");
close MAIL;

Works for me - it empties every user's Trash folder every day at midnight

reply via email to

[Prev in Thread] Current Thread [Next in Thread]