Inteq Solution - Dep. Tehnic skrev den 2014-06-01 07:11
/^CONTENT-(DISPOSITION|TYPE).*NAMES*=S*"?(.*(.|=2E)(ADE|ADP|ASP|BAS|BAT|CHM|CMD|COM|CPL|CRT|DLL|EXE|HLP|HT[AT]|INF|INS|ISP|JSE?|LNK|MD[BETW]|MS[CIPT]|NWS|{[[:XDIGIT:]]{8}(?:-[[:XDIGIT:]]{4}){3}-[[:XDIGIT:]]{12}}|OPS|PCD|PIF|PRF|REG|SC[FRT]|SH[BSM]|SWF|VB[ESX]?|VXD|WS[CFH]))(?=)?"?S*(;|$)/X REJECT ATTACHMENT NAME "$2" NOT ALLOWED
this can be done more simple with clamav and foxhole signatures, just google it
if you already use clamav milter with postfix