No ext program for .doc, tried: ripole
Nick Howitt
nick at howitts.co.uk
Thu Feb 13 13:25:50 CET 2025
On 13/02/2025 12:05, thorondir+amavis_list at thorondir.com wrote:
>> 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.
>
If it helps, in Debian, in /etc/amavis/conf.d/01-debian, there is a line:
$ripole = 'ripole';
So, in /etc/amavis/conf.d/50-user, I have just added a line to override
this:
$ripole = ['ripole', 'antiword'];
installed antiword and restarted amavis. It now all looks OK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20250213/c0977c23/attachment.htm>
More information about the amavis-users
mailing list