procmail
[Top] [All Lists]

Re: SPF?

2004-10-25 04:30:14


My answer is a little late but perhaps still helpful.

Lennart Andersen <lennart(_at_)rogers(_dot_)com> wrote:
Is there a way to incorporate SPF into one's procmailrc file?

I use the following recipe in procmail:

--- snip ---
:0
* ! ? /usr/local/bin/spfquery -ip=${IP} -sender=${FROM_}
{
   SPFRET = $?

   :0
   * SPFRET ?? 1
   $SPAMFOLDER/spf/

   :0
   * SPFRET ?? 3
   $SPAMFOLDER/spf_neutral/

   # all other return codes indicate some result which
   # isn't important to us

   SPFRET
}
--- snip ---

spfquery comes together with libSPF.

It creates a few false-positives. You should perhaps use some kind of
scoring.

HTH & HAND

/Seb

-- 
Computer games don't affect kids. I mean, if PacMan affected
us as kids,  we'd all run around in a darkened room munching
pills and listening to repetitive music!

Attachment: pgp31bUVIsmQf.pgp
Description: PGP signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>
  • SPF?, Lennart Andersen
    • Re: SPF?, Google ListKreme
    • Re: SPF?, Sebastian Krohn <=