Extra support for some archive types

Dominic Raferd dominic at timedicer.co.uk
Sat Aug 10 11:52:39 CEST 2019


On Sat, 10 Aug 2019 at 10:41, korsar182 at gmail.com <korsar182 at gmail.com>
wrote:

> Ralph Seichter <abbot at monksofcool.net> писал(а) в своём письме Sat, 10
> Aug
> 2019 00:05:12 +0300:
>
> > * korsar:
> >
> >> 1) ACE has no support at all, need to add it
> >
> > Not having seen ACE archives in the wild for more than 10 years, I don't
> > think so. Besides, to my knowledge ACE is a proprietary format with a
> > Windows focus and a license that does not permit including it in free
> > software.
> >
> >> 2) gzip - gzip -d command changes original file names of extracted
> >> files, [...] 7z, please.
> >
> > You can adjust filetype-to-decoder mappings in your amavisd.conf if you
> > don't like the defaults.
> >
> > -Ralph
>
> I mean 7zip supports 35 archive type, any of them may be used to hide
> ransomware in the .rar or .zip file and opened by end user. So the mail
> system is only half protected.
>
> How I can make filetype-to-decoder mappings in amavisd.conf?
> Set "$gzip       = '7z';"?
>

Example:
@decoders = (
[snip]
   ['7z',   \&do_7zip,       ['7zr','7za','7z'] ],
   ['rar',  \&do_unrar,       ['unrar-free','7zr','7za','7z'] ],
[snip]
);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190810/10b8268b/attachment.html>


More information about the amavis-users mailing list