Re: How to reject mails on SPF_FAIL
> Tony Earnshaw wrote:Milters can reject at RCPT TO/MAIL FROM/HELO/CONNECT time.
> > lau den 29.07.2006 Klokka 09:15 (-0700) skreiv Darren:
> >>> How do I reject mails on SPF_FAIL with postfix 2.3.
> >> Get an SPF policy daemon, set up as policy service in master.cf
> >> and use the check_policy_service restriction. Versions of Postfix
> >> patched to support SPF directly are not supported, so you need to use
> >> the policy service approach.
> >> 1: http://www.postfix.org/addon.html#policy
> >> 2: http://www.postfix.org/SMTPD_POLICY_README.html
> >> 3: http://www.postfix.org/postconf.5.html#check_policy_service
> > Alternatively, since this is Postfix 2.3, use the milter facility (for
> > SPF see http://spf.pobox.com/).
> > For milters, make sure you're running the latest patch level p.t. PF
> > 2.3.2.
> Waiting until after the DATA phase to do checks on the envelope is wasteful.