Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

email

Posted on 2003-12-03
2
Medium Priority
?
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 1500 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

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!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

670 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