Bug 6727 - matching headers in rfc822 attachment
Summary: matching headers in rfc822 attachment
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 10:46 UTC by Matus UHLAR - fantomas
Modified: 2011-12-14 10:46 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Matus UHLAR - fantomas 2011-12-14 10:46:26 UTC
I was trying to match within Received: headers of message/rfc822 attachment for specific content. I need to bump score if a mesage contains rfc822 attachment with specific content in headers of the attachment.

Unfortunately neither of the rules allows this:
- headers searches only main message headers
- body/rawbody search only bodies of message and attachments 
- mimeheader is not designed to match other than MIME headers.

Full searches even in main message headers, which is not what I want
I can not make a meta rule to exclude content matching in main headers, because both headers can match, and I need match specifically headers of included message.