Re: Archiving mail after a period of time

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

 



On Wed, Apr 28, 2004 at 09:41:01PM +0100, Ed Jones wrote:
> I'd like to start archiving mail from these mailboxes after a certain period
> (perhaps a month). Obviously, I could simply write a cron script to move the
> whole mailbox file to another location, compress it and touch a new mailbox
> file with appropriate permissions, but that would be a bit messy -
> especially if I need to read the messages again.

Why is that messy? It seems like the right approach. If you use Maildir (one
message, one file), you can even update off the bottom, so you always have
the last seven day's messages in the 'current' folder, and all older ones get
pushed off to 'archive'.

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux