[Mimedefang] another idea for skipping MD on one user?

Douglas J Hunley doug at hunley.homeip.net
Tue Aug 20 23:44:01 EDT 2002


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

It appears that the solution David offered earlier causes some kind of mail 
issue with my setup. So, would I gave it some thought, and this is what I 
came up with. Please comment on this code:

filter_begin() {
my($recip);
foreach Recip (@Recipients) {
	$recip =~ tr/<>//d;
	$recip = lc($recip);
	if ($recip eq 'smartaleck at somehost.com') {
		return action_accept();
	}
}

and then the same in filter($$$$) and filter_multipart($$$$)

would this not work? it occurs to me that is this particular user is a 'CC' or 
a 'BCC' then whoever else this mail was sent to will not benefit from MD. 
However, I think that's OK for my particular setup.
would this work?
- -- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
	and http://jobs.linux-sxs.org

panic ("Splunge!");
	2.2.16 /usr/src/linux/drivers/scsi/psi240i.c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YwxOSrrWWknCnMIRAkroAJ0a18KC5GkOajdyO/EIkNhSOMbP2gCfcIGf
vERXKC88JjEYiJgdiVUPt0A=
=Di2M
-----END PGP SIGNATURE-----





More information about the MIMEDefang mailing list