From 03f68c52bd7d014304b03ad6394343350ea71b2c Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Thu, 24 Mar 2016 16:01:15 +0100 Subject: [PATCH] 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.) --- src/src/exim.c | 1 + 1 file changed, 1 insertion(+) 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() */ -- 2.30.2