[Mimedefang] mimedefang 3.3, filter_sender and md_dkim_verify()

Ralph Hayon ralph at naturalwireless.com
Fri Apr 21 17:47:59 EDT 2023


Ok, thanks.

If that is the case, how can I do the same with mimedefang ?

Is there a way to easily extract the select fields I need from INPUTMSG 
(sender, host, etc) after filter_begin()?

Thanks.

Ralph

On 4/21/2023 4:56 PM, Dianne Skoll via MIMEDefang wrote:
> 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.
>
> Regards,
>
> Dianne.
>
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID.  You may ignore it.
>
> MIMEDefang mailing list MIMEDefang at lists.mimedefang.org
> https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org


-- 
***************************************
Ralph Hayon
Natural Wireless

60 Saddle River Ave, Unit B
South Hackensack, New Jersey 07606

email: 	ralph at naturalwireless.com
www:	naturalwireless.com

office: 201-438-2865 x 403
fax:	201-438-1803
cell: 	201-315-7397

        Natural Wireless
An Ultra Internet Service Provider
***************************************




More information about the MIMEDefang mailing list