[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] mail -> etc/aliases -> user,file ?
- Subject: [ale] mail -> etc/aliases -> user,file ?
- From: rramsdell at livedatagroup.com (Randy Ramsdell)
- Date: Mon, 08 Jan 2007 10:53:49 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
Robert L. Harris wrote:
> I'm looking to archive all email that goes to a user on my system.
> Is there an easy way to do something like this in /etc/aliases on a postfix
> system:
>
> info: rharris, >~rharris/Mail/Archive/info
>
> Other than a global procmail filter, is there a simple way to accomplish
> this?
>
> Robert
>
You could write a script that uses rsync to archive
"/home/user/Maildir/cur" and "/home/user/Maildir/new" < -- if needed
which I doubt. This could archive the messages to where you want. I
think the aliases.db is a better way however.
Randy Ramsdell