[Mimedefang] action_defang() is a no-op? (MD 2.33)
Mike Batchelor
mikebat at tmcs.net
Tue May 27 13:37:01 EDT 2003
--On Saturday, May 17, 2003 9:02 PM -0400 "David F. Skoll"
<dfs at roaringpenguin.com> wrote:
> On Fri, 16 May 2003, Mike Batchelor wrote:
>
>> I am trying to use action_defang() in filter(), but it doesn't seem to
>> have any effect.
>
> It works for me. Do you see something like this in your log?
>
> May 17 21:00:28 www mimedefang.pl[4266]: filter: h4I10Nl0004285:
> accept_with_warning=1 defang=1
No, I don't.
>
> That indicates that action_defang was actually called. Maybe for some
> reason it isn't getting called.
Why wouldn't it be? It's the first thing I do in filter().
sub filter {
my($entity, $fname, $ext, $type) = @_;
if (filter_bad_filename($entity)) {
action_defang($entity, "", "", "text/plain")
}
...
}
I don't get it. I sent myself an EXE file and it arrived intact. EXE is
part of the RE used by filter_bad_filename().
>
> --
> David.
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
---
"The avalanche has already begun. It is too late for the pebbles to vote."
-- Kosh
More information about the MIMEDefang
mailing list