summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-12-23 19:50:07 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-12 18:58:35 +0000
commitf926e27276301de1e2fd011b7edcd1b85d8c4754 (patch)
tree37c4d07122f675a8be3a6970b10a05ce39622d3e /src
parent712240406dff5ac02645003ce1ea40b70a3080ac (diff)
Disable identd (rfc1413) lookups by default
Diffstat (limited to 'src')
-rw-r--r--src/src/configure.default25
-rw-r--r--src/src/globals.c4
2 files changed, 15 insertions, 14 deletions
diff --git a/src/src/configure.default b/src/src/configure.default
index 12743499c..c16221fc1 100644
--- a/src/src/configure.default
+++ b/src/src/configure.default
@@ -221,18 +221,19 @@ never_users = root
host_lookup = *
-# The settings below, which are actually the same as the defaults in the
-# code, cause Exim to make RFC 1413 (ident) callbacks for all incoming SMTP
-# calls. You can limit the hosts to which these calls are made, and/or change
-# the timeout that is used. If you set the timeout to zero, all RFC 1413 calls
-# are disabled. RFC 1413 calls are cheap and can provide useful information
-# for tracing problem messages, but some hosts and firewalls have problems
-# with them. This can result in a timeout instead of an immediate refused
-# connection, leading to delays on starting up SMTP sessions. (The default was
-# reduced from 30s to 5s for release 4.61.)
-
-rfc1413_hosts = *
-rfc1413_query_timeout = 5s
+# The settings below cause Exim to make RFC 1413 (ident) callbacks
+# for all incoming SMTP calls. You can limit the hosts to which these
+# calls are made, and/or change the timeout that is used. If you set
+# the timeout to zero, all RFC 1413 calls are disabled. RFC 1413 calls
+# are cheap and can provide useful information for tracing problem
+# messages, but some hosts and firewalls have problems with them.
+# This can result in a timeout instead of an immediate refused
+# connection, leading to delays on starting up SMTP sessions.
+# (The default was reduced from 30s to 5s for release 4.61. and to
+# disabled for release 4.86)
+#
+#rfc1413_hosts = *
+#rfc1413_query_timeout = 5s
# By default, Exim expects all envelope addresses to be fully qualified, that
diff --git a/src/src/globals.c b/src/src/globals.c
index 5cd738bbb..8cdfb0ee0 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -1076,8 +1076,8 @@ retry_config *retries = NULL;
uschar *return_path = NULL;
BOOL return_path_remove = TRUE;
int rewrite_existflags = 0;
-uschar *rfc1413_hosts = US"*";
-int rfc1413_query_timeout = 5;
+uschar *rfc1413_hosts = US"@[]";
+int rfc1413_query_timeout = 0;
/* BOOL rfc821_domains = FALSE; <<< on the way out */
uid_t root_gid = ROOT_GID;
uid_t root_uid = ROOT_UID;