aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 493cb247..8165fea0 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -664,7 +664,7 @@ static int load_params(int argc, char **argv, int optind)
#if !defined(HAVE_GETHOSTBYNAME) || !defined(HAVE_RES_SEARCH)
/* can't handle multidrop mailboxes unless we can do DNS lookups */
- if (ctl->localnames && ctl->localnames->next)
+ if (ctl->localnames && ctl->localnames->next && ctl->server.dns)
{
fputs("fetchmail: can't handle multidrop mailboxes without DNS\n",
stderr);