On Tue, 2020-10-20 at 21:34 +0100, Martin Gregorie wrote: > On Tue, 2020-10-20 at 19:29 +0100, Miki wrote: > > Hi, how to score this e-mails? > > I know I can give negative score if To: IS my domain, but I do not > > like this solution. > > Any suggestions? > > > Why do that? Its the exact reverse of something that does work pretty > well: write a rule that gives a positive score to any mail whose To: > or > BCC: headers contain your email address(es). > Brain fart: sorry. I should have said "give a positive score to an email where neither the To or BCC addresses contain your email adress(es), i.e write subrules for To and BCC that contain addresses you want,combine them and negate the result in a meta rule, something like this:
header __TORULE /(addr1addr2|...)/ header __BCCRULE /(add1|addr2|...)/ meta MYRULE !( __TORULE || __BCCRULE) score MYRULE 6.0 Martin