Matthew Yette wrote: > When I wrote quotes, it was just to imply the actual subject. I'm > looking to detect messages that have a space before the first letter > of the subject.
If I recall the appropriate RFC correctly, you're looking for something that - by definition - doesn't exist. Whitespace is whitespace, so the content of a header begins with the first non-whitespace character after the colon. That said, the rule I think you're looking for might look something like: header SUBJ_SPACE_START Subject:raw =~ /^\s+/ But I don't think that will ever trigger. -kgd -- Get your mouse off of there! You don't know where that email has been!