postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: SPF and greylisting conditioning

Re: SPF and greylisting conditioning

From: Eugene V. Boontseff <eugene_at_nospam>
Date: Sat Oct 02 2010 - 12:55:49 GMT
To: postfix-users@postfix.org

On 26.09.2010 13:24, Michal Bruncko wrote:
> Hello list
>
> I am using postfix (v 2.7.0) with sender policy framework
> (postfix-policyd-spf-perl-2.001) and greylisting (postgrey-1.32) with
> following configuration:
>
> smtpd_recipient_restrictions =
> ...
> check_policy_service unix:private/policy
> check_policy_service unix:/var/spool/postfix/postgrey/socket
> ...
>
> where unix:private/policy is SPF socket and followed by greylist rule.
>
> It is possible in some way to configure postfix, that SPF Passed mails
> will be automatically accepted with postfix without greylisting? And
> using greylist only for mails with other SPF result codes (none,
> softfail,..)?
> Current configuration only denies mails with SPF Fail and all other
> mails where being greylisted.

Use the attached patch for postfix-policyd-spf-perl-2.007, and you get
what you want.

>
> thanks
>
> michal
>
-- Eugene