[exim] Exim can't find a line of text in the message

Pàgina inicial
Delete this message
Reply to this message
Autor: Web Servant
Data:  
A: exim-users
Assumpte: [exim] Exim can't find a line of text in the message
Help! I'm writing some filters for my users and it's easy enough, but
there's one message that defies filtering. Here's the tail end of the
headers and the body that follows:
---
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-user: ::::89.190.238.230:box432.bluehost.com::::::
DomainKey-Status: no signature

Elite Medicinal Spot

http:// (spam URL here)

---

What I want to do is filter on the body containing "Elite" +
"Medicinal" (there's a remote chance that legitimate mail might contain
either one of those words but not both).  But that line does not appear
in the $message_headers or $message_body variable.  Why?  Because it's
not a true double-LF after the DomainKey-Status header... it's actually:
DomainKey-Status: no signature<LF>
<TAB><TAB><TAB><LF>        
Elite Medicinal Spot<LF><LF>


etc...

When I do a testprint command in the filter, testprint $message_headers
ends at DomainKey-Status and $message_body starts with the URL. That
Elite bit gets lost between the two.

I have read FAQs and the online docs back and forth and I can't find any
way to scan the entire message block as one stream of text. Any
suggestions on how I can catch junk like that? I'll feel really stupid
if this is covered in a FAQ but I missed it...

--
Peter B. Steiger
Cheyenne, WY