Solved

email

Posted on 2003-12-03
2
179 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
change HISTFILE for root user on AIX 3 86
UNiX Script filesystem space usage 19 76
problem creating new luks volume on new VM disk 5 108
Bash Script to Analyze Oracle Schemas 11 117
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

790 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