Has anyone ever set amavisd to block 2 extension ?

Watthanachai Kekhua via amavis-users amavis-users at amavis.org
Thu Aug 15 10:07:22 CEST 2013


Dear Amavisd-ML,

                I would like to block 2 extensions when email come to me with attach file like "aaa.jpeg.exe.zip"
                And for normal zip file will allow to receive normally.

                Have anyone implement and test amavisd like this issue ?

                Could I edit from this configuration below ?
                  # block certain double extensions in filenames
                  qr'\.[^./]*[A-Za-z][^./]*\.\s*(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)[.\s]*$'i,


Please do not hesitate to contact us , If you have any questions .
Best Regards.
################################
#  Watthanachai KEKHUA (Golf)
#  Operation And Maintenance Department (OAM)
#  Tel: 02-2367227 Ext. 1624
#  NTT Communications (Thailand) Co., Ltd.
#################################

DISCLAIMER :
This email is for the use of the intended recipient(s) only.
If you have received this email in error, please notify the sender immediately and then delete it.
If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission.
We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message.
We cannot accept liability for any loss or damage caused by software viruses.
The information contained in this communication may be confidential and may be subject to the attorney-client privilege.
If you are the intended recipient and you do not wish to receive similar electronic messages from us in future then please respond to the sender to this effect.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20130815/16a068d6/attachment.html>


More information about the amavis-users mailing list