Possible to archive based on attachments?

shuttlebox shuttlebox at gmail.com
Tue Jan 5 18:16:02 GMT 2010


On Tue, Jan 5, 2010 at 6:37 PM, Randal, Phil
<prandal at herefordshire.gov.uk> wrote:
> You could use a rule like (off the top of my head, so don't shoot me if
> it isn't correct):
>
> ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
> mimeheader LOCAL_ATTACHED_PDF  Content-Disposition =~
> /filename=\".{1,32}\.pdf\"/i
> score LOCAL_ATTACHED_PDF 0.01
> endif

Thanks! This together with a rule action should do what I want.

-- 
/peter


More information about the MailScanner mailing list