https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5692
Kent Oyer <kent.o...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kent.o...@gmail.com --- Comment #5 from Kent Oyer <kent.o...@gmail.com> --- I have written a plugin to handle this. It allows you to write rules like: attachment INVALID_HTML_TYPE name =~ /\.s?html?/i type != text/html attachment GEEKSQUAD_IMAGE_SPAM name =~ /^geek/i type =~ /^image\// attachment TRAILING_DOT name =~ /\.$/ attachment DOUBLE_EXTENSION name =~ /\.[^.\/\s]{2,4}\.[^.\/\s]{2,4}$/i The plugin is available here: https://github.com/mxguardian/Mail-SpamAssassin-Plugin-AttachmentDetail Everything you can do with this plugin, you can do with a mimeheader rule, it just makes writing rules easier. Hopefully someone finds it useful. Thanks Kent -- You are receiving this mail because: You are the assignee for the bug.