[exim] RE: Personal Rule

Pàgina inicial
Delete this message
Reply to this message
Autor: Herb Martin
Data:  
A: exim-users
Assumpte: [exim] RE: Personal Rule
> From: Mike Spamassassin [mailto:sa@ernstoff.net]
> Sent: Thursday, September 22, 2005 5:07 AM
> To: users@???
> Subject: Re: Personal Rule
>
> So far so good.
>
> I have given this rule a score of 1.
> 4 is classified as spam and 2 is filtered into a MaybeSpam folder.
>
> I have implemented the rule to allow blank/Mike/Michael


Have you looked at the method I suggested?

It was sketched out since I didn't have it running
in SpamAssassin but rather on my reject ACL in Exim,
but the SpamAssassin version is included below....

> > You'll be sooorrrrrryyyyyyyy! The idea is extremely susceptible to
> > false positives and negatives.


While I understand the general warnings about
trying to do this naively, I would LOVE it if
any of the naysayers can find a reason why the
following would be likely to cause problems:

header   __HM_USER         To =~
/"\w.*"\s*<(herb|martin).*@.*learnquick.*>/i
header   __HM_REALNAME     To =~ /".*(herb|hm|martin|carol).*"\s*</i
meta     HM_NAME_MISMATCH  __HM_USER && (!__HM_REALNAME)
describe HM_NAME_MISMATCH  Mail real name does not match username
score    HM_NAME_MISMATCH  3          # try lowering from 3 to 2



Seriously, if there is a problem then it needs to be fixed
but it seems solid.

Only count the name missing IF there is a "quoted portion"
for real name, AND IF none of my names or alias appear there.


--
Herb Martin

> >
> > {o.o}
> >
> >
> >
>
>