[Mimedefang] external_filter problem
    David F. Skoll 
    dfs at roaringpenguin.com
       
    Tue Feb 12 09:34:31 EST 2002
    
    
  
On Mon, 11 Feb 2002, Ashley M. Kirchner wrote:
> Okay, you lost me there.  I'm trying to match anything that has a
> .doc extension, and claims to be an 'application/msword', grab the
> $entity and shove it through 'wvText'.
After you do the filter, you want to add something like this:
	$entity->head->replace('Content-type', 'text/plain');
	$entity->head->replace('Content-Disposition.filename', 'foo.txt');
	$entity->head->replace('Content-Type.name', 'foo.txt');
Regards,
David.
    
    
More information about the MIMEDefang
mailing list