Hi, > > It's still not working, and I suspect the reason is that I somehow > > screwed up when I pasted it. Can I ask you to take a look at the > > attached? > > I don't see any rules below that would do that. There's a rule > for "mhtml" files, and a rule for ".pdf.html" files, but I fail > to see one for ".html". > > > /^Content-(Disposition|Type):\s+.+?(?:file)?name="?.+?(386|exe|ad[ept]|app|as[dpx]|ba[st]|bin|btm|cab|cb[lt]|cgi|chm|cil|cla(ss)?|cmd|cp[el]|crt|cs[chs]|cvp|dll|dot|drv|em(ai)?l|ex[_e]|fon|fxp|hlp|ht[ar]|in[fips]|isp|jar|jse?|keyreg|ksh|lib|lnk|md[abetw]|mht(m|ml)?|mp3|ms[ciopt]|nte|nws|obj|ocx|ops|ov.|pcd|pgm|pif|p[lm]|pot|pps|prg|reg|sc[rt]|sh[bs]?|slb|smm|sw[ft]|sys|url|vb[esx]?|vir|vmx|vxd|wm[dsz]|ws[cfh]|xlw|xms|\{[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}\})\b/ > > WARN ".$2" file attachment types not allowed > > /^Content-(Disposition|Type):\s+.+?(file)?name="?[^"]+?\.com(\.\S{2,4})?(\?=)?"?(;|$)/ > > REJECT ".com" file attachment types not allowed > > /^Content-(Disposition|Type):\s+.*?(file)?name="?.*?(your_details|application|document|screensaver|movie)\.zip/ > > REJECT jimsun1 > > /^Content-(Disposition|Type):\s+.+?(file)?name="?.+?\.zip\b/ WARN jimsun1 > > /^Content-(Disposition|Type):\s+.+?(file)?name="?.+?\.pdf\.html\b/ > > REJECT pdf.html not allowed
Now I feel silly because I was experimenting with adding "html" to the first regex, but apparently left it out when I sent the email, but neither the .pdf.html nor the html in the first regex works and I just don't understand why. I believe there's a dot missing in the first one, as in '.(386' but it's more than that, because I experimented with that too. Thanks so much, Alex