[Mimedefang] outgoing mail copy

Jan Pieter Cornet johnpc at xs4all.nl
Tue Aug 10 07:44:11 EDT 2004


On Tue, Aug 10, 2004 at 01:42:26PM +0500, Muhammad Talha wrote:
> Dear all
> 
> Is it possible with mimedefang to copy outgoing mails from specific user to
> be copied to some other account.

Sure.

sub filter_begin {
    if ( $Sender =~ /^<?suspect\@example\.com>?$/i ) {
	add_recipient( 'police at authorities.gov.tld' );
    }
}

Note that this sort of construct is illegal in many countries if the
user you are tapping isn't aware of this. Unless you're the authorities
and have proper authorisation, of course.

> is there any other solution  ??

Yes, loads... there is software that does this kind of stuff by monitoring
the traffic on the wire, which makes it fully transparent. The mimedefang
thing above is not fully transparent to 'suspect at example.com'.

-- 
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet



More information about the MIMEDefang mailing list