So, because of @filippo_carletti previous post about his setup example, I simple enabled Email > Filter > Custom List and added zip to the field.
log…
Sep 2 15:41:52 server9b amavis[12661]: (12661-01) Blocked BANNED (CLASS Arch:application/zip,.zip,Harber GroupKkeo0.zip)
This is the rejection msg to the sending email account.
SMTP error from remote mail server after end of data:
host email.com [0.0.0.0]: 554 5.7.0 Reject, id=12661-01 - BANNED:
CLASS Arch:application/zip,.zip,Harber GroupKkeo0.zip
and now…
[root@server9b ~]# config show amavisd
amavisd=service
AdminNotificationStatus=disabled
AvailableDecoders=mail,asc,uue,hqx,ync,F,Z,gz,bz2,lzo,rpm,cpio,tar,deb,zip,7z,rar,arj,arc,zoo,lha,doc,cab,tnef,exe
BlockAttachmentClassList=Exec,Arch
BlockAttachmentCustomList=zip
BlockAttachmentCustomStatus=enabled
BlockAttachmentStatus=enabled
EnabledDecoders=mail,asc,uue,hqx,ync,F,Z,gz,bz2,lzo,rpm,cpio,tar,deb,zip,7z,rar,arj,arc,zoo,lha,doc,cab,tnef,exe
MaxProcesses=4
RecipientWhiteList=
SenderBlackList=
SenderWhiteList=
SpamCheckStatus=disabled
SpamDsnLevel=20
SpamKillLevel=15.0
SpamSubjectPrefixStatus=disabled
SpamSubjectPrefixString=SPAM
SpamTag2Level=5.0
SpamTagLevel=2.0
TCPPorts=
VirusCheckStatus=enabled
status=enabled
So, this NS install is now blocking zips.
But, should not zip be part of Email > FIlter > Archive?
Is this list perhaps not being applied? I have only tested a zip file.
I have not applied the proposed config file change per Nas yet.