[Mimedefang] mimedefang 3.3, filter_sender and md_dkim_verify()

Richard Laager rlaager at wiktel.com
Sat Apr 22 17:51:13 EDT 2023

On 4/22/23 14:14, Ralph Hayon via MIMEDefang wrote:
> Got it. What I needed was set as Global variables - $Sender and 
> $RelayHostname 

As was already mentioned: $Sender is the envelope sender (from SMTP 
time), not the From: header address. DKIM uses the From: header

So keep that in mind.

For anti-spoofing purposes, you may want to check if either is in your 
domain. But keep in mind if any of your legitimate mail flows 
(especially automated messages) use mismatched addresses for any reason.

Also, keep in mind outbound mail, if it flows through the same filter. 
It won't be DKIM signed. You'll want to check that they authenticated 
(and if you're being strict, that they authenticated as that address).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20230422/a9520426/attachment.html>

More information about the MIMEDefang mailing list