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. |
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. |
Postfix has always_bcc which can do this.
I am not familiar with sendmail, but maybe it have the same functionality? |
All times are GMT -5. The time now is 08:13 AM. |