Operating System - Linux
1754942 Members
3260 Online
108827 Solutions
New Discussion

Configuring Sendmail to send duplicate messages to the administrator

 
Andrew Kaplan
Super Advisor

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.

A Journey In The Quest Of Knowledge
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: Configuring Sendmail to send duplicate messages to the administrator

Wouldn't the log messages produced by Sendmail (typically stored in /var/log/mail.log) serve the same purpose in a more compact format?

 

Edit: The software that runs the clearinghouse website might produce some useful logs too.

 

As far as I can see, the most useful form of data in this situation would be a log with messages like "User X sent a document titled Y (size Z) to recipients A, B and C."

MK