1

Topic: 7zip protected archive

Hi, 7zip not worked on Ubuntu 24.04. Installed on system:
p7zip, 7zip-full, 7zip and files from site 7-zip.org.
On config:  ['7z',   &do_7zip,  ['7zr', '7za', '7z'] ],, qr'^UNDECIPHERABLE$',
When you check a password-protected archive, it displays an error and delivers the file to your mailbox. (!)Decoding of p003 (7-zip archive data, version 0.4) failed, leaving it unpacked: do_7zip: can't get a list of archive members: exit 255;
Break signaled relay=dovecot, delay=0.31, delays=0.15/0.01/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service).

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 7zip protected archive

iRedMail-1.7.4 default installed postgresql

3

Re: 7zip protected archive

How can amavis know the password?

4 (edited by BarSMutabor 2025-08-01 16:13:38)

Re: 7zip protected archive

It should block password-protected archives
qr'^UNDECIPHERABLE$',
:$final_banned_destiny = D_DISCARD;


password-protected Zip archives are blocked

5

Re: 7zip protected archive

With this configuration:   ['7z', ['7zr', '7za', '7z', '7zz', '7zzs']],
error:
(!)Decoding of p002 (7-zip archive data, version 0.4) failed, leaving it unpacked: Not a CODE reference at /usr/share/perl5/Amavis/Unpackers.pm line 375.

6

Re: 7zip protected archive

amavis does not check 7zip archives. You can see it in the logs.