Howdie all,
mighty confused about postfix. Specifically how whitelisting works.
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,check_policy_service unix:private/policy,check_sender_access hash:/etc/postfix/maps/sender_access, check_sender_access hash:/etc/postfix/maps/whitelist-senderaddress, check_policy_service inet:localhost:10023
my understanding was that if a sender email address is in /etc/postfix/maps/whitelist-senderaddress then the last part “check_policy_service inet:localhost:10023” (postgrey) would not get executed. But greylisting is executed for all received emails. Even if sender address is in the whitelist.
whitelist is postmapped and in the form of “xyz@domain.ltd ok” per line
What am I missing?
any help greatly appreciated.