chiark
/
gitweb
/
~mdw
/
exim-config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f16f8ee
)
base.m4 (DKIM_SIGN_P): Check that the sending domain is actually listed.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 May 2024 01:45:27 +0000
(
02:45
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 May 2024 01:45:27 +0000
(
02:45
+0100)
base.m4
patch
|
blob
|
blame
|
history
diff --git
a/base.m4
b/base.m4
index 0aadb788b617824bbfd504f2650ded836706db8f..4f16e20a7f679bfd9b0e82035978ecfa3df7b0c8 100644
(file)
--- a/
base.m4
+++ b/
base.m4
@@
-424,7
+424,8
@@
m4_define(<:DKIM_SIGN_P:>,
{!def:h_DKIM-Signature:} \
{!def:h_List-ID:} \
{or {{def:authenticated_id} \
{!def:h_DKIM-Signature:} \
{!def:h_List-ID:} \
{or {{def:authenticated_id} \
- {def:authenticated_sender}}}}:>)
+ {def:authenticated_sender}}} \
+ {bool {DKIM_KEYS_INSTANCE(<:{true}:>, <:{false}:>)}}}:>)
m4_define(<:DKIM_KEYS_INSTANCE:>,
<:${lookup {${domain:$h_From:}} partial0-lsearch \
m4_define(<:DKIM_KEYS_INSTANCE:>,
<:${lookup {${domain:$h_From:}} partial0-lsearch \