On Fri, Jul 05, 2024 at 08:42:31AM +0100, Gilgongo via Postfix-users wrote:

> # For OpenDKIM signing
> 127.0.0.1:10027    inet    n    -    n    -    -    smtpd
>       ... configs...
>       -o smtpd_milters=inet:127.0.0.1:8891
> 
> So I assume DKIM should come last. But the logs imply the spam/virus check
> is done after?

It does.

> postfix/cleanup[1685]: BB20880330:
> message-id=<20240705073351.001500@fre.localdomain>
> opendkim[700]: BB20880330: DKIM-Signature field added (s=dkim20200516, d=
> bakerbates.com)
> postfix/qmgr[1558]: BB20880330: from=<u...@domain.com>, size=945, nrcpt=1
> (queue active)
> amavis[1563]: (01563-01) Passed CLEAN {RelayedOutbound}, ORIGINATING LOCAL
> [192.168.0.241]:51084 [etc.]

The DKIM signature is added by the milter *before* the "." response is
sent to the client (amavis), which means amavis will log delivery after
the milter does its job, but amavis did process the message content
first.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to