[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] email journaling
- Subject: Re: [vps-mail] email journaling
- From: Abigail Marshall <abigail@xxxxxxxxxxxx>
- Date: Tue, 1 Jun 2004 15:15:41 -0700
RF> Hello,
RF> Has anyone been successful in setting up or configuring
RF> their e-mail server for message journaling (i.e., force
RF> it to make a copy of every message that passes through
RF> the system and send it to a designated "archive"
RF> mailbox)?
Yes, I do it like this:
Under the user's .procmailrc file, this recipe:
# This copies text portions of email to an archive
:0 c
|/var/mail/archives/users/webmaster.log
Actually, I pipe it through stripmime.pl first, so that I
save text & not attachments - it saves on space. Also, I
have savelogs rotating the archives periodically. Otherwise
the archives can take up a lot of space.
The only problem is that on a VPS2 you have to make sure
that the archives have the correct file permissions, or else
the procmail won't write to them. For me it works to assign
the archive directory the group "pop".
-Abigail
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index