mwolson.org Blog - /Tech

Mon, 17 Dec 2007

Keeping a two-week email archive

I've decided to make my email experience a bit more failsafe by keeping copies of two weeks of email in an "Archive" folder. Email stored in that folder is never to be deleted or moved using my email client. A daily cron job runs to remove messages from that folder which are more than 14 days old. The idea is that if I haven't heard from someone within a certain time frame, I can consult my procmail log file, and then upon seeing a potential misclassification of an email message, can simply grab a copy of that message from the Archive folder to examine it.

Here is the simple procmail rule that I am using to store a copy of each incoming email message to that folder.

:0 c
.Archive/

Add a comment

Name: 
Your email address: 
Your website: 
 
Comment: