LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2004, 09:41 AM   #1
nabil_boussetta
Member
 
Registered: Oct 2003
Posts: 45

Rep: Reputation: 15
Question keep a copy of sended mail?


i'm using sendmail on redhat8.0
my question is:
how to keep a copy of sended mail from a user?
 
Old 03-12-2004, 11:26 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I would think the user can specify this with whatever client they are using.
 
Old 03-15-2004, 01:21 AM   #3
nabil_boussetta
Member
 
Registered: Oct 2003
Posts: 45

Original Poster
Rep: Reputation: 15
i'd like to know if there is another way to do this by sendmail?
 
Old 03-15-2004, 02:42 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
From the sendmail FAQ, Question 4.20:

Question: "How can I automatically copy messages based on sender or recipient addresses?"

Answer: "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
# Message-Id: <33AA593A.4B701C3F@syntegra.nl>
# the procmailrc man page
Note that no such feature has been added to sendmail. When asked about this one of the sendmail developers said it was "because we still believe a bit in privacy."



Håkan
 
Old 03-16-2004, 11:04 AM   #5
csm
Red Hat GLS
 
Registered: Mar 2004
Location: Cary, NC
Distribution: RHEL3 and Fedora
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by hw-tph
From the sendmail FAQ, Question 4.20:

Question: "How can I automatically copy messages based on sender or recipient addresses?"

Answer: "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
# Message-Id: <33AA593A.4B701C3F@syntegra.nl>
# the procmailrc man page
Note that no such feature has been added to sendmail. When asked about this one of the sendmail developers said it was "because we still believe a bit in privacy."



Håkan
If you were running postfix as your MTA it provides a very simple configuration for this:

always_bcc = address@to.send.to
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i copy outgoing mail on the server? Dman33 Linux - Software 1 07-09-2004 11:45 AM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 09:25 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM
Copy all incoming/outgoing mail to admin account axelyeung Linux - Software 0 06-23-2003 11:06 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration