Re: No ext program for .doc, tried: ripole
[email protected] Thu, 13 Feb 2025 13:05:51 +0100
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
> But how do I make amavis use it? In your config you should have an array of decoders, e.g. ``` @decoders = ( ['mail', \&do_mime_decode], # [[qw(asc uue hqx ync)], \&do_ascii], # not safe ['F', \&do_uncompress, ['unfreeze', 'freeze -d', 'melt', 'fcat'] ], ['doc', \&do_ole, 'ripole'], ) ``` so if my perl days aren't failing me, you simply need to replace the `ripole` with `antiword` in that last line there.