On 8/10/2011 1:47 AM, Steve Fatula wrote:
Using Postfix 2.8.4, I have the following options to smtpd:
-o content_filter=dspam:unix:/var/dspam/dspam.sock -o
smtpd_milters=unix:/var/run/clamav/clamav-milter.sock,unix:/var/run/opendkim/opendkim.sock,unix:/usr/local/var/milter-greylist/milter-greylist.sock
Reading the postfix doc, it says that "Milter applications are applied in the order
as specified". Yet, in the maillog I see milter-greylist listing messages before
opendkim. I was wanting to use the results of opendkim in milter-greylist. Perhaps that
is not really possible?
My guess, from my limited milter understanding, is they are executed piecemeal
and that order is perhaps not so predictable.
Steve
Postfix supplies data to the milters in the order you specify.
However, the milters may not supply results in that specific
order. The greylist will give a result after it knows
client/sender/recipient info. The dkim needs to see all the
message body and can't supply a result until after end-of-data.
-- Noel Jones