Hi there,
I am open to suggestions but for now I am running Postfix 2.11.3
(Debian Stable), Postgrey 1.35 and postfix-policyd-spf-python 2.0.1,
joined together with
smtpd_recipient_restrictions = (...)
reject_unauth_destination
check_policy_service unix:private/policyd-spf
# postgrey
check_policy_service inet:127.0.0.1:60000
I not yet very familiar with the many details of Postfix but if I am
not mistaken a policy service can only return 1 action (AFAIK this is
still the case in 3.x, too!? cf. [1]).
So, policyd-spf is bound to either PREPEND a header _or_ send an OK.
Is there a way to configure this so that policyd-spf in case of
SPF-Pass causes Postfix to prepend a header _and_ skip the
greylisting?
I haven't tried it but I assume that I could call policyd-spf twice
with 2 different configs, the 1st to send PREPEND, the 2nd to send OK.
However, if possible I wanted to avoid this waste of resources.
I found a thread from 2014 by Wietse re. [Idea: multiple actions in
access/header_checks/policy results][1]. It seems this is what I am
looking for, but it hasn't been hacked into Postfix, or have I just
missed the respective documentation?
[1]:
http://postfix.1071664.n5.nabble.com/Idea-multiple-actions-in-access-header-checks-policy-results-td71906.html
--
-- Andreas
:-)