LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2011, 10:38 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Configuring Sendmail to send duplicate messages to the administrator


Hi there --

I am running a website that is a 'clearinghouse' for files being sent to and received from my company. The website sends e-mail notifications to the intended recipients. The Sendmail server is used for this latter purpose.

To keep close watch of what is being sent and received, I would like to configure Sendmail to send a duplicate message to the administrator whenever a transaction takes place. I realize this is 'Big Brother' in action, but my reasoning is to ensure the site is being used properly.

How can I configure Sendmail to send duplicate e-mails to the administrator? Thanks.
 
Old 08-24-2011, 12:11 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
If the mail is being sent automagically to a user; i.e., it's in a shell program somewhere or other doing something or other to sent and received files, all you have to do is change the line that sends the mail to send "you" a copy.

In mail or mailx, it's -c address(es) (send "carbon copies" to a list of users).

If you're using something else as a mailer, check the manual page for how to send a copy.

Hope this helps some.
 
Old 08-24-2011, 09:14 PM   #3
LBM
Member
 
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 114

Rep: Reputation: 1
Postfix has always_bcc which can do this.
I am not familiar with sendmail, but maybe it have the same functionality?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to configure sendmail to send only messages. Dilbert137 Linux - Server 5 06-24-2010 12:43 AM
Sendmail will only send messages as ROOT--that is a problem lynchmob09 Linux - Software 2 05-01-2004 04:34 PM
configuring sendmail to return vacation messages jasonX Linux - Newbie 5 03-13-2004 02:09 PM
Configuring sendmail to return Vacation Messages jasonX Linux - General 1 02-16-2004 04:30 AM
Configuring sendmail to return Vacation Messages jasonX Linux - Networking 0 02-16-2004 01:27 AM

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

All times are GMT -5. The time now is 04:00 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