Well, your rule is pretty wildly off.. ToCc is going to look for a header named ToCc, not To headers and/or CC headers.


header __TO_EXISTS exists:to header __CC_EXISTS exists:cc

meta NO_TO_OR_NO_CC (!__TO_EXISTS || !__CC_EXISTS)

Or perhaps you want

meta NO_TO_AND_NO_CC (!__TO_EXISTS && !__CC_EXISTS)

It's not clear which logic you want. The first will trigger if either header is missing, the second will trigger only if both are missing.

At 11:18 AM 1/21/2004, st semps wrote:

Can someone tell me how to look for no To or CC field in the header.

I get several emails sent to me like this and would like to score them.

Best I could come up with is

ToCc !~ /To|cc/i

Can someone tell me how Im suppose to do this.


Regards Steve


____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to