summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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() */