[Mimedefang] Interesting anti-HTML filter side-effect

David F. Skoll dfs at roaringpenguin.com
Mon Sep 22 08:20:00 EDT 2003


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";
}

--
David.



More information about the MIMEDefang mailing list