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).
--
Richard
_______________________________________________
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 [email protected]
https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org