> The problem with this is that the !__FORGED_YH2 matches
> when there is *NO* Reply-To header at all!
> 
> You need something like this:
> 
> header __FORGED_YH2 Reply-To =~ /\@([^y]|y[^a]|ya[^h]|yah[^o])/i
> meta     FORGED_YAHOO     (__FORGED_YH1 && __FORGED_YH2)
> 
> (remove the negation from the meta)
> This directly tests for an existing Reply-To specifically to a domain
> that does not begin with 'yaho'.

Wouldn't that meta rule trigger when the reply-to contained 'yaho'?  I
want to trigger when the from contains yahoo.com and the reply-to does
not.

> 
> However, keep in mind that the headers for *this* mailing list would 
> trigger your rule. So you will also need to meta this with a rule that 
> tests for yahoo mail server being the sending SMTP client....
> 

Good point.  I didn't think about that..

--Dennis

Reply via email to