----- Message from Benny Pedersen <m...@junc.eu> ---------
Date: Thu, 01 Apr 2021 01:50:15 +0200
From: Benny Pedersen <m...@junc.eu>
Subject: Re: Milters and policy
To: postfix-users@postfix.org
On 2021-04-01 01:43, Simon Wilson wrote:
Quick question please:
Which does Postfix run first - a milter specified in smtpd_milters or
a check_policy_service in smtpd_recipient_restrictions?
milters is run after check policy service, to keep performance at top
Thank you sir...
I just found this too which helped:
https://groups.google.com/g/mailing.postfix.users/c/3vGc-RMYV94/m/W3xYtyiovQcJ
"...The Milter comes after smtpd/cleanup. Wietse"
So in my config above, the SPF policy is run before OpenDKIM milter is called.
Simon.
--
Simon Wilson
M: 0400 12 11 16