git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673fcb1
)
Docs: allow for multiple return from dnsdb PTR lookup
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 3 Apr 2022 15:33:40 +0000
(16:33 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 3 Apr 2022 15:33:40 +0000
(16:33 +0100)
doc/doc-docbook/spec.xfpt
patch
|
blob
|
history
diff --git
a/doc/doc-docbook/spec.xfpt
b/doc/doc-docbook/spec.xfpt
index 6c885176fdbbc31fdc3537f359745bd144f84dd9..0ac98d668ca2a76c6c92ee6abdf8f7eeb1cd55f3 100644
(file)
--- a/
doc/doc-docbook/spec.xfpt
+++ b/
doc/doc-docbook/spec.xfpt
@@
-25508,7
+25508,8
@@
servers or different local IP addresses. For example, if you want the string
that is used for &%helo_data%& to be obtained by a DNS lookup of the outgoing
interface address, you could use this:
.code
-helo_data = ${lookup dnsdb{ptr=$sending_ip_address}{$value}\
+helo_data = ${lookup dnsdb{ptr=$sending_ip_address} \
+ {${listextract{1}{<\n $value}}} \
{$primary_hostname}}
.endd
The use of &%helo_data%& applies both to sending messages and when doing