email

I recently asked a question about saving email.  what I wanted to do is save in and outgoing mail for certain users.  I added another user to the aliases    john:john,jim   this is good for mail that is recieved but not sent.  Am I missing something?  I would like to have a record of recieved and sent mail.
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:
U are not missing anything but the above will only log incoming messages.

for outgoing messages to be logged. check this FAQ from sendmail.
u can try logall.c program.
-------------------------------------------------------------------------------------
Subject: Q4.20 -- How can I automatically copy messages based on sender or recipient addresses?
Date: June 30, 2000
Updated: February 27, 2001
Updated: June 5, 2001
Updated: February 13, 2003
It would require custom programming. You could either write a mail filter using the new Milter API in sendmail 8.10 and later (see libmilter/README) or you could look at some of these other unsupported hints:

Axel Reinhold's logall.c module (http://www.freakout.de/logall.c)
Message-Id: <33AA593A.4B701C3F@syntegra.nl>
the procmailrc man page
--------------------------------------
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
shivsaCommented:
NOTE:
libmilter/README mentioned in above, it is part of the sendmail distribution that you can download from ftp.sendmail.org. Get the current version (8.12.1).
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.