[Mimedefang] wvHtml

David F. Skoll dfs at roaringpenguin.com
Thu Dec 6 22:41:30 EST 2001

On Thu, 6 Dec 2001, Ashley M. Kirchner wrote:

>     ...so I'm assuming that means using something like
>     return action_external_filter($entity, "/usr/bin/wvHtml")
>     ...should work, am I not correct?

I assume so.  I don't actually use wvHtml myself. :-)

>     DOC attachment comes in
>     defang strips it and drops it in the web space
>     defang also converts it through wvHtml and drops that in webspace
>     defang sticks both URLs (for original DOC file, and converted one)
> in the email and sends it through to the recipient.

>     I can get defand to strip the DOC and drop it in the webspace for
> the user, but 1) I can't get wvHtml to work properly, and 2) I don't
> know if I can do the above either considering that I only know of one
> _URL_ during the process, and that's the first one.  How do I get the
> second one (after wvHtml runs)?

You have to roll your own Perl code to do this.  Use the
action_replace_with_url code as a template.  You'll need to read the
MIME::Tools man pages also.



More information about the MIMEDefang mailing list