Possible to archive based on attachments?

Alex Neuman alex at rtpty.com
Tue Jan 5 17:48:42 GMT 2010


Would this work with some otherwise braindead and/or broken mailers like, I dunno, Outlook Express or whatever?

On Jan 5, 2010, at 12:37 PM, Randal, Phil 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



More information about the MailScanner mailing list