How do you change the file decoder in amavisd-new?

Nick Tait nick at tait.net.nz
Wed Sep 1 01:00:06 CEST 2021


On 29/08/2021 8:13 pm, Dominic Raferd wrote:

> $log_level = 1

Thanks for the tip about $log_level. I set that in 50-user and now I can 
see that it is using 7z for those file types:

Sep  1 10:44:45 mx amavis[25141]: No ext program for   .rpm, tried: 
rpm2cpio.pl, rpm2cpio
...
Sep  1 10:44:45 mx amavis[25141]: No ext program for   .rar, tried: 
unrar-free
Sep  1 10:44:45 mx amavis[25141]: No ext program for   .arj, tried: arj, 
unarj
...
Sep  1 10:44:45 mx amavis[25141]: No ext program for   .cab, tried: 
cabextract
...
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .zip  at /usr/bin/7za
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .kmz  at /usr/bin/7za
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .7z   at /usr/bin/7zr
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .jar  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .arj  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .rar  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .swf  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .lha  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .iso  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .cab  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: Found decoder for    .rpm  at /usr/bin/7z
Sep  1 10:44:45 mx amavis[25141]: No ext program for   .exe, tried: 
unrar-free; arj, unarj
Sep  1 10:44:45 mx amavis[25141]: No decoder for       .F
Sep  1 10:44:45 mx amavis[25141]: No decoder for       .doc
Sep  1 10:44:45 mx amavis[25141]: No decoder for       .exe
Sep  1 10:44:45 mx amavis[25141]: No decoder for       .zoo

So rather than messing around with @decoders, I'm happy to ignore the 
"No ext program" warnings, in order to keep the configuration as 
standard as possible. :-)

Thanks again,

Nick.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20210901/cccfeae7/attachment.htm>


More information about the amavis-users mailing list