[Mimedefang] mimedefang 3.3, filter_sender and md_dkim_verify()
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
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...
More information about the MIMEDefang