[Mimedefang] mimedefang 3.3, filter_sender and md_dkim_verify()

Dianne Skoll dianne at skoll.ca
Fri Apr 21 16:56:54 EDT 2023

On Fri, 21 Apr 2023 16:55:10 -0400
Ralph Hayon <ralph at naturalwireless.com> wrote:

> To confirm, with mailmunge, md_dkim_verify() should properly work
> with filter_sender() since mailmunge is consistent for all callbacks.

No.  You can't do any DKIM-checking until you have the message body and
that can't happen until filter_begin at the earliest.

However, the way you get the sender is $ctx->sender in filter_sender,
filter_recipient, and filter_begin... the accessor is consistent across
all the callbacks.



More information about the MIMEDefang mailing list