I'm sure there is some way to extract the "To" header out of the mail message with procmail and use that to save the mail file. (simple example that is untested) :0c TO=| egrep "^To:" :0c | bzcat -z >> /home/saved_messages/$TO.bz2 On Fri, 10 Oct 2003, Clay Fandre wrote: > You running sendmail? > > http://www.modulo.ro/synonym/ > > > On Thu, 09 Oct 2003, Andy Zbikowski (Zibby) wrote: > > > Currently I have a mail server that keeps a copy of every bit of incoming > > e-mail. I do this with a simple procmail rule in /etc/procmailrc and alot > > of extra space on /home: > > > > :0c > > | bzcat -z >> $HOME/.MailArchive.bz2 > > > > I want to do something similar for incoming mail, and the closest example > > I've found so far is using the always_bcc option to dump all mail into a > > mailbox. To me, this doesn't seem to be all that useful as everyone's mail > > would end up in one big file. > > > > Of course, this comes up because a user (*couch* sales guy *cough*) had > > his laptop stolen, and of course he was downloading all his mail to his > > laptop, and keeping who knows how many years of e-mail archived, and now > > it's all gone and he wants it back. He was happy enough to get his recived > > mail back, but I always ment to get around to figure out archiving > > outgoing mail. Guess I just needed a kick in the pants. > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list > -- Clay Fandre email: clay at fandre.com PGP Key ID: 0x50DBBB60 _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list