[Mimedefang] http link only emails

Graham Dunn gdunn at inscriber.com
Thu Jun 20 14:02:50 EDT 2002


On Thu, Jun 20, 2002 at 01:31:52PM -0400, David F. Skoll wrote:
> On Fri, 21 Jun 2002, Jeremy wrote:
> 
> > I can't get Anomy::HTMLCleaner to run under mimedefang.  My stock standard
> > installation of it lets it run as an extension to procmail OK, but when
> > called from mimdefang as per your published filter I get Perl errors and
> > lost emails.  I've spent some time trying to resolve this without success.
> 
> Weird.  Any chance of posting the error messages you're getting?  I
> don't use Anomy; does anyone else on the list use it successfully?

I'm using it.

my $revision = '$Id: HTMLCleaner.pm,v 1.11 2002/02/15 16:59:07 bre Exp
$';

in mimedefang.filter

sub filter {
[...]
    # Clean up HTML if Anomy::HTMLCleaner is installed.
         if ($Features{"HTMLCleaner"}) {
                 if ($type eq "text/html") {
                             return anomy_clean_html($entity);
                 }
         }
[...]

mimedefang-2.12, freebsd-4.5-RELEASE-p4

Graham



More information about the MIMEDefang mailing list