1

Topic: How to bypass greylisting if SPF check has passed?

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
==== ==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: openSUSE 12.2
- Related log if you're reporting an issue:
====

I've installed python-pypolicyd-spf according to
http://www.iredmail.org/wiki/index.php? … _SPF_check and I want to bypass greylisting if SPF check has passed. Is it possible and how do I do it? In my /etc/postfix/main.cf I have

smtpd_recipient_restrictions =
    ...
    reject_unauth_destination
    check_policy_service unix:private/spfpolicy
    check_policy_service inet:127.0.0.1:7777
    reject_non_fqdn_helo_hostname
    reject_invalid_helo_hostname
    check_policy_service inet:127.0.0.1:10031

and greylisting is enabled in /etc/polcyd.conf.