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

Re: Howto Auto Archive Mail Folders



*- Jay Barbee wrote about "Howto Auto Archive Mail Folders"
| Does anyone have a script that will automatically archive or remove mail 
| messages out of a folder so that a list such as this one could be more 
| managable?
| 
| I invision a cron job simply coping ~/Mail/debian-user to debian-user-<date> 
| and then gzipping it.  That way it would not take so long to open a mail folder 
| that has hundreds of messages.
| 
| Any advice?

Look at the savelog command it is used in the /etc/cron.* scripts to
rotate the system log files.  It could probably be used by a regular
user to rotate their own files.  I have not done it myself but it
sounds intriguing, I am in the same situation you are.

-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: