[Mimedefang] md_log (re: MIMEDefang 2.32-BETA-1 is available)

David F. Skoll dfs at roaringpenguin.com
Thu Mar 27 11:11:02 EST 2003


On Thu, 27 Mar 2003, Brian Landers wrote:

> Our HR people don't want us to log the
> subject of emails, for privacy purposes.  Since md_log() does so, we
> have to patch mimedefang.pl.in whenever we upgrade.  Perhaps this
> could also be made an option?

Or, write this function in your filter:

sub md_log_privately ($;$$) {
   my ($event, $val1, $val2) = @_;
   my ($oldsubj);
   $oldsubj = $Subject;
   $Subject = "(Private)";
   md_log($event, $val1, $val2);
   $Subject = $oldsubj;
}

Then use md_log_privately instead of md_log in your filter.

A hack, but it will work.

--
David.



More information about the MIMEDefang mailing list