On Mon, Jan 26, 2009 at 11:01:07AM -0600, McDonald, Dan wrote:
> I've been using the FreeMail.pm plugin to good effect, but I would like
> to expand it slightly.
> 
> Currently it fires if the From: header contains a freemail address, or
> if the From: and Reply-to: headers contain different freemail addresses.
> 
> I would like to add a test that scores a From: not in the freemail list,
> with a Reply-to: in the freemail list.  Shouldn't be worth much
> (maybe .5) but I think it will get enough to push some of these
> advance-fee scams over the top.
> 
> Anyone hacked up that plugin to do that?

I added a simple check_freemail_header function for now. If I have time, I
will rewrite everything to be flexible..

You can now do something like:

header __FREEMAIL_H_REPLYTO eval:check_freemail_header('Reply-To')
header __FREEMAIL_H_FROM eval:check_freemail_header('From')
header __FREEMAIL_H_ENVFROM eval:check_freemail_header('EnvelopeFrom')
meta FREEMAIL_FOO __FREEMAIL_H_REPLYTO && !__FREEMAIL_H_FROM && 
!__FREEMAIL_H_ENVFROM

http://sa.hege.li/FreeMail.pm

PS. 1.11 has also fixed a nasty case bug resulting in FPs

Cheers,
Henrik

Reply via email to