summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-03-24 16:01:15 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-04-07 10:40:23 +0200
commit03f68c52bd7d014304b03ad6394343350ea71b2c (patch)
treecdba36c5210d64250378c88d4ad3b68c73b9ff3d
parent2f680c0c44778f97c056fb06d60fb03f4cf69c31 (diff)
Init the resolver even in -be mode.
This gives us consistent behaviour if we use the resolver in -be and in -bh, and probably other modes. (Perl uses the resolver library linked into Exim and Perl's Socket6::getaddrinfo() returned different results in -be and -bh mode.)
-rw-r--r--src/src/exim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index c89fe03b1..ddb35982d 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -4940,6 +4940,7 @@ Otherwise, if -bem was used, read a message from stdin. */
if (expansion_test)
{
+ dns_init(FALSE, FALSE, FALSE);
if (msg_action_arg > 0 && msg_action == MSG_LOAD)
{
uschar spoolname[256]; /* Not big_buffer; used in spool_read_header() */