Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

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
0
dtooth71
Asked:
dtooth71
3 Solutions
 
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now