<div dir="ltr"><div>Hi, <br><br></div>I want to block files having double extensions. while users surf internet, some files such as<b> e7ea.tmp.exe</b> will be automatically downloaded. <br><br><div><div><br>e7ea.tmp.exe is a ransomware. Attackers can send mails with files of these types as well. <br><br></div><div>Now, I want to block files having double extension such as filenames<b>.tmp.exe</b> format. <br></div><div><br><br></div><div>I think below regex is OK to insert in to amavisd.conf file. <br><br></div><div><br><b>qr'.\.(tmp)\.exe$'i, </b> # block this double extension <br><br><br></div><div>any comment? <br><br></div><div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">cat /etc/motd<br><br>Thank you<br>Indunil Jayasooriya <br><a href="http://www.theravadanet.net/" target="_blank">http://www.theravadanet.net/</a><br><a href="http://www.siyabas.lk/sinhala_how_to_install.html" target="_blank">http://www.siyabas.lk/sinhala_how_to_install.html</a> - Download Sinhala Fonts<br><br></div></div>
</div></div></div>