[Mimedefang] Interesting anti-HTML filter side-effect

G. Roderick Singleton gerry at pathtech.org
Fri Sep 26 08:27:01 EDT 2003


On Mon, 2003-09-22 at 08:19, David F. Skoll wrote:
> On Sun, 21 Sep 2003, G. Roderick Singleton wrote:
> 
> > Thanks very much. Still not quite what I'm after. I suspect that my perl
> > skills et cetera are not up to the task but what I want is to bounce any
> > and all html messages even those that are masqueraded with funny lines.
> 
> In which case, you want:
> 
> sub filter {
> 	my($entity, $fname, $ext, $type) = @_;
> 	return action_bounce("NO HTML") if lc($type) eq "text/html";
> }

Thanks for this. Implementing a no HTML policy has been a boon.
Furthermore not having to deal with html mail outgoing has helped in
identifying one infected box (my 85-year old mother-in-law's) and
getting it cleaned up. Everyone is pleased.

-- 
Gerry Roderick Singleton <gerry at pathtech.org>
416-452-4583




More information about the MIMEDefang mailing list