I have the following config: smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination check_policy_service inet:127.0.0.1:10031
I assumed that it would mean that any attempt to send a mail to a recipient that is not a valid destination would be immediately rejected, and if the recipient was valid, it would be a matter for the grey-listing via policyd. (As in restrictions evaluated left-to-right.) However it appears that the policyd-service is queried first of all. Is this by design, or could it be changed? (Ok, it is not really a vital issue, mostly trying to learn the workings of postfix).