Solved

email

Posted on 2003-12-03
2
177 Views
Last Modified: 2013-12-27
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.
0
Comment
Question by:dtooth71
  • 2
2 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 500 total points
ID: 9868796
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
 
LVL 24

Expert Comment

by:shivsa
ID: 9869836
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now