Hi, On Mon, Mar 19, 2018 at 11:08 PM, Pedro David Marco <pedrod_ma...@yahoo.com> wrote: > Hi Alex, > > There is a plugin that may help in here... > > https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_URIDetail.html > > so a rule like this as a first protoype may help: > > uri_detail FAKE_URL_FILE_TYPE text =~ /\.pdf\b/i cleaned > =~ /\.(zip|docx)\b/i
Works a treat, thanks!