[Mimedefang] Re: email wire tap

Richard Laager rlaager at wiktel.com
Mon Mar 22 21:18:18 EST 2004


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Comments or flames on this design?

I think you might be over thinking this...

Depending on your setup, you might be able to do something like this:

In filter_begin(): -- totally untested

# The $RelayAddr check prevents loops.
if ($RelayAddr ne '127.0.0.1' && wiretap_conditions_met)
{
	# This would resend the message to the original recipients.
	resend_message(@Recipients);

	# Delete all the recipients.
	foreach $recipient (@Recipients)
	{
		delete_recipient($recipient);
	}

	# Make other modifications to the message such as inserting
X-WireTap- headers, etc.
}

Then you would probably avoid doing later modification (spam
filtering, virus filtering) on these messages by checking to see that
$RelayAddr ne '127.0.0.1'.

Richard Laager

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2
Comment: If you don't know what this is, you can safely ignore it.

iQA/AwUBQF+eaW31OrleHxvOEQJ2wgCg0Co1iI8uwG+nLK1aEHvAn/CFTKYAmQGU
+qfVbxG8u6WSwwePizUTLT9R
=BT7t
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list