Example 2 require [ "for.every.part", "enclose" ];for.every.part { if mime :filename :matches ["*.com", "*.exe", "*.vbs", "*.scr", "*.pif", "*.hta", "*.bat", "*.zip" ] { # these attachment types are executable enclose “WARNING! The enclosed message contains executable attachments.These attachments types may contain a computer virus programthat can infect your computer and potentently damage your dataBefore clicking on these message attachments, you should verify withthe sender that this message was sent by them and not a computer virus."; break; }} |