Dan N wrote:
> On Mon, 28 Nov 2005 23:20:04 +0000, Matt Payton wrote:
>
> > Procmail maybe ?
> > Something like the following in .procmailrc will copy al incoming
> > messages to the "backup" mail folder :
> > :0 c:
> > backup
>
> Thanks.
>
> I was thinking that I wanted a more central option, something that
> wouldn't require setting up for each user, so I ruled out procmail.
> But I guess I could put the .procmailrc in the skel directory so it
> would be set up automatically for each user.
>
> Dan
You could also consider running something like unison against the mail
folders in /var/mail. We did this before when we ran uw imapd as a
mail server and stored the inbox folders on a backup system. You could
setup unison centrally and not against each user and have it back up to
either a archive location or have it backup to a remote server.
Unison gets down to a content level and keeps pretty detailed records
on what it does and how it does it. We implemented it for about 20
users of our mail server at one point.
Moving to maildir makes things decidedly simpler since you can then
just do an rsync backup if you desire and use either the --delete flag
or not and keep a mail backup/archive location with everything.
I've also done this in postfix before using some setting in
/etc/aliases or somewhere and with a central procmailrc file in /etc.
--
Michael Perry | Do or do not. There is no try --Master Yoda
(E-Mail Removed) |
http://www.lnxpowered.org