[Mimedefang] HTML ok?

Jan Pieter Cornet johnpc at xs4all.nl
Fri Sep 10 04:40:24 EDT 2004


On Thu, Sep 09, 2004 at 03:43:13PM -0400, Jason Gurtz wrote:
> On 9/9/2004 05:58, Jan Pieter Cornet wrote:
> > Anyway, the fix is to somehow make the call to
> > "remove_redundant_html_parts", that is currently in your sub filter_end,
> > optional.
> 
> Perhaps there would be a way to import "whitelist_from" entries into
> user_allowed_to_send_html()?  Or maybe that wouldn't be granular enough?
>  The advantage would be only one list of "good senders" to maintain.

Those lists don't really serve the same purpose, and besides, SpamAssassin
doesn't have an API to make that list available, so you'd have to parse
the spamassassin config yourself... ugly.

And third, that list is based on globs, so the only way to determine if
an address matches is by iterating over the whitelist, which makes it
prohibitively slow if your whitelist gets longer than, say, a few
hundred entries.

-- 
#!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