> mainly composed by an image and its subject is always "FW: blah" where
> "blah" is the destination account. This is, if the mail is sent to
> [EMAIL PROTECTED] the subject is always "Fw: john"
>
>   Can that be matched by a rule?

Depends.  Does the "to" also have the username of the account?  If so, you
could do a moderately ugly pair of rules and a meta:

header __LW_BLAH1    ALL =~ /\nTo:[^<\n]+<[EMAIL 
PROTECTED])[^\n]+.*\nSubject:\s*Fw:
\1\b/i
header __LW_BLAH2    ALL =~ /\nSubject:\s*Fw:
(\w+)[^\n]*.*\nTo:[^<\n]+<\1\@/i
meta    LW_BLAH    __LW_BLAH1 || __LW_BLAH2
score    LW_BLAH    1

This is assuming that the To address is of the form [EMAIL PROTECTED] rather 
than any
of the half dozen other legit formats.  There are ways to deal with that to,
but they get *really* messy.

        Loren

BTW, the above is off the top of my head and untested.  It may not even
lint, much less work.

Reply via email to