On Mon, Dec 15, 2014 at 02:28:29PM -0600, David Champion wrote:
> Francesco is right, this should work. ~f a@b will match a@b whether it's
> the actual address or inside the "name" portion.
>
> [..]
>
> So ~e [email protected] won't work because Sender: does not have your
> target pattern, but ~f [email protected] should.  If it does not there's
> something else wrong.

Indeed indeed. I sent myself an email and (once it arrived) went to
/mail/cur/ to modify its from header, which now is:

    From: "phoney bologna [email protected] [bademails]" 
<[email protected]>

<limit>~f [email protected] works, as does
score "~f [email protected]" -40

I stress that scoring *additive*, so if you have a +100 rule that matches
(among others) [email protected], that will offset your malus
provision.

The correct way to debug this is probably:

    1. try at first a simple limit (type l and then your mail
       address) to check whether matching works

    2. if 1. succeeds, provide a minimal working scores.rc file

Attachment: signature.asc
Description: Digital signature

Reply via email to