Hi Kevin,
I am completly new in mimedefang. I dont know how to use your code.
Where do I have to put action_replace_with_url ?
Thanks for your patience
> Bart,
> Assuming the problem might be with your filesize code, I've had good luck
> with this routine:
> my($sizelimit, $bh, $path);
> $sizelimit = 1048576; #1MB #max size of an email you want to check in
> bytes
> $bh = $entity->bodyhandle();
> if (defined($bh)) {
> $path = $bh->path();
> }
> if (defined($path)) {
> if (-s $path <= $sizelimit) {
> }
> }
> Regards,
> KAM
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang