<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 4/22/23 14:14, Ralph Hayon via
MIMEDefang wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ff64af2d-7a21-f15a-6103-875699b3fe8e@naturalwireless.com">Got
it. What I needed was set as Global variables - $Sender and
$RelayHostname
</blockquote>
<p>As was already mentioned: $Sender is the envelope sender (from
SMTP time), not the From: header address. DKIM uses the From:
header</p>
<p>So keep that in mind.<br>
</p>
<p>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.</p>
<p>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).<br>
</p>
<pre class="moz-signature" cols="72">--
Richard</pre>
</body>
</html>