[Mimedefang] mimedefang 3.3, filter_sender and md_dkim_verify()

Dianne Skoll dianne at skoll.ca
Fri Apr 21 16:45:13 EDT 2023


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

> Any suggestions how I can easily extract the arguments provided to 
> filter_sender() in a filter function after filter_begin() so that I
> can use DKIM tests to assist with this?

They should be in some global variables such as $Sender and
@Recipients.

If you are just beginning your MIMEDefang journey, I recommend
https://mailmunge.org/ instead, which is a fork with (IMO) a superior
Perl API.  In Mailmunge, everything is stored in a context object
$ctx, which is consistent across all callbacks.

Regards,

Dianne.



More information about the MIMEDefang mailing list