Tim's SPF Page

Tim's SPF Page

Sender Policy Framework (Formerly known as Sender Permitted From and SPF) has a number if problems. I've created a sendmail.cf fixes to ad in a header when an SPF record exists.

In the header section add:
HX-SPF-Record: ${spfh}
Kspf dns -R TXT -T -r5

Then in the S Local_check_mail add:

SLocal_check_mail
R<$*@$*>                $: $(macro {user} $@ $1 $) $(macro {host} $@ $2 $)
R$*                     $: $&{user}:$&{host}
R$*                     $: $(macro {spfh} $@ No SPF Records $)
R$*                     $: $(spf $&{host} $: No TXT Record $)
Rv=spf1 $*              $: $(macro {spfh} $@ $1 $)
There is a tab before the $:.

Back to Tim's Homepage Back to current subject Related Links thogard@abnormal.com
 This page was last updated Saturday, 10-Apr-2004 08:39:57 UTC Copyright 2000-2020 thogard™ is a trademark of Tim Hogard