"Jorge Valdes" wrote in message news:490269C5.1090807@intercom.com.sv...
>I have just discovered a small bug in 70_sare_header.cf:
>
> header SARE_FREE_WEBM_RuMail From =~ /\@mail\.ru/i
>
> which should be:
>
> header SARE_FREE_WEBM_RuMail From =~ /\@mail\.ru$/i
>
> otherwise it will always match other stuff like: @mail.runner.com, etc.
>
> --
> Jorge Valdes
> Intercom El Salvador
> jvaldes@intercom.com.sv
>


Wouldn't it be best like this?

header SARE_FREE_WEBM_RuMail From =~ /\@mail\.ru\b/i

That way, it would match a From header like this:

From: Joe Spammer

Using the $ in the regex means the above line would not match.

Cheers,
Jeremy