https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6680
Bug #: 6680
Summary: Add INLINE_ATTACHED_IMAGE to sandbox
Product: Spamassassin
Version: 3.4.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Rules
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 4982
--> https://issues.apache.org/SpamAssassin/attachment.cgi?id=4982
Patch
This is a regex I've been using in Postfix to very effectively block image spam
for 5 years. I don't know if image spam is even a problem anymore, but my mail
logs are showing some hits, so I thought I might as well throw it in.
The regex I had actually been using was /\bsrc\s*=(?:3D)?\s*["']?cid:/
I replaced the "*"s with "{0,30}".
I documented the hell out of this regex here:
http://www.chaosreigns.com/spam/#image
People do occasionally send legit mail with inline attached images, so this
will hit some legit email. It will not hit an email with an attached image
that is not embedded in the body, or an email with an embedded image that is
hosted on a web server.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.