6 msgDSN relay host
1 msgRestrict sender and from to one domain on outbo...
10 msgOutbound postfix routing issue
25 msgProblem with Black List
3 msgLooking at new mail server layout
26 msgwhy every minute: 'reload configuration /etc/po...
2 msgmyhostname parameter
17 msgRBL problems with smarthost on private address ...
34 msgBackscatting filter?
3 msghow to setup postfix in 'deliver-only' mode?
7 msgSlow queue configuration
17 msgSome Windows SMTP Server have problems with STA...
5 msgFor each check_ns or each check_mx, the value i...

postfix and spf
\ AlxFrag (6 May 2008)
. \ (Wietse Venema) (6 May 2008)
. . \ Matt Rude (6 May 2008)
. . . \ (Wietse Venema) (6 May 2008)

2 msgPassword Validation in postfix
4 msgcatching some spam with warn_if_reject and reje...
9 msgRFC: Check mail quota at a mail relay (backscat...
31 msgGPS vs GLD (greylisting)
3 msgUnmeant update from 2.2.10 to 2.5.1
27 msgmailq lockups
Subject:Re: postfix and spf
Group:Postfix-users
From:(Wietse Venema)
Date:6 May 2008


 
Matt Rude:
> On Tue, May 6, 2008 5:51 am, Wietse Venema wrote:
> > AlxFrag:
> >> hi,
> >> i'm thinking to implement postfix with spf. In the postfix add-on
> >> software web page there are a few patches available.
> >> There is also a notice saying that postfix ships with SPF support, in
> >> the form of a plug-in policy daemon.
> >>
> >> Any recommendations on how to use that daemon?
> >
> > The Postfix source code is distributed with README.SPF.
>
> Look at http://www.openspf.org/Software there are two options, the perl
> version and the compiled python version, were using the python version,
> it's very fast and was easy to setup.
>
> Read the docs but here's the basics of it
>
> In main.cf add something like this:
> smtpd_recipient_restrictions =
> check_policy_service unix:private/policy
>
> And in master.cf add something like this:
> policy unix - n n - - spawn
> user=nobody argv=/usr/local/bin/policyd-spf

To prevent ugly warning messages, do not forget to include:

/etc/postfix/main.cf:
policy_time_limit = 3600

As documented in the Postfix SMTPD_POLICY_README file.

Wietse


© 2004-2008 readlist.com