[Mimedefang] New feature: $CcAdministrator
Mickey Hill
mickey at rudolphtire.com
Mon Apr 29 09:38:40 EDT 2002
Hi all,
Here's a suggestion for a minor new feature. Let me know what you
think.
I think it would be a nice option to be able to copy the administrator
with emails sent by action_notify_sender. (I like to know what my mail
server is sending out.) There certainly may be a better way to do this,
and I haven't tested this (admittedly simple) code in production, but
here's what I have in mind:
In mimedefang-filter:
#***********************************************************************
# Copy administrator with messages sent by action_notify_sender.
# Comment this line out if you don't want to be copied.
#***********************************************************************
$CcAdministrator = 1;
In mimedefang.pl, in signal_complete, right after
sendmail($DaemonAddress, $DaemonName, $Sender, $body); :
sendmail($DaemonAddress, $DaemonName, $Administrator, $body)
if ($CcAdministrator);
Of course, would have to declare $CcAdministrator in the proper place.
-------------------------
Mickey Hill
Rudolph's Inc
2021 Rob Mason Rd
PO Box 69
Murray KY 42071 USA
Phone (270) 753-0686 x124
Fax (270) 753-0753
mickey at rudolphtire.com
www.rudolphtire.com
More information about the MIMEDefang
mailing list