email record

I use Solaris 9 as my email serverand want to track/keep a copy of all the email that comes and goes through the box.  Is there a configuration on the server that I can do to make this happen?  I am fairly new to the operating system so I will need details on how to make this happen. Thanks
dtooth71Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

shivsaCommented:
what mail server u are using. ie imap/pop3
0
dtooth71Author Commented:
pop3
0
PsiCopCommented:
POP3 is a protocol for a client to access a mail store. It is not an E-mail server.

So, you ave a Solaris v9 server, and you have clients who connect to it and retrieve E-Mail using the POP3 protocol. Right?

What is your mailserver (Mail Transfer Agent, or MTA) software? sendmail? qmail? PostFix?
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

PsiCopCommented:
Realize that when you do this, you are going to have store all this E-Mail that you capture. If your client population is of any size, this can run into a LOT of storage very quickly. This is especially true if you don't have an effective SPAM filter, as many organizations report that 60% or more of the E-Mail they receive is SPAM.

You need to be sure you have looked at the disk storage requirements for what you want to put together, and that you have the storage space available. Don't forget to account for the extra load on your backup solution (after all, if the E-mail is so important that you have to capture it, then you need to back it up, don't you?)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dtooth71Author Commented:
I use sendmail. All very good points! Is it posible to do this for certain accounts?
0
PsiCopCommented:
Since you use sendmail, I'd look into something like ProcMail, which allows you to add rules-based mail processing to sendmail. I honestly don't *know* that ProcMail will do what you want, because I haven't tried it, but of the tools of which I am aware, I think ProcMail has the best shot at implementing what you want to do.

http://www.procmail.org/
0
jlevieCommented:
Although it does mean building your own copy of Sendmail, the logall.c (http://www.netsys.com/library/sendmail/logall.c) addition to Sendmail is probably the best way of doing this. As mentioned it will log every message once that passes through your server. And that can eat up disk space at a rapid rate if you have a significant volume of mail. If you are only interested in a few addresses you could post-process the mbox each day to recover just the messages of interest.
0
yuzhCommented:
If you want to keep a copy of a copy of email for a few users only, you can
use mail aliase (sendmail), to make it send a copy to a mailkeeper's account
(just create a dummy account mailkeeper) and then edit the /etc/aliases file:

make it looks like:

fred: fred, mailkeeper
bob: bob, mailkeeper
bush: bush, mailkeeper

save the file and then run newaliases

mailkeeper, will get a copy of fred, bob, bush' emails.

You could also user mail filter (eg, promail to do the job), have a look at the following tutorial:

http://pegasus.rutgers.edu/~elflord/unix/procmail.html



0
TintinCommented:
Following on from yuzh's suggestion (which is very good), you could also specify a file directly without having to create another account, eg:

fred: fred,/var/mail/fredsmail
bob: bob,/var/mail/bobsmail

or

fred: fred,/var/mail/masterstore
bob: bob,/var/mail/masterstore
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.