summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authorRichard Nelson <cowboy@debian.org>1998-06-23 10:00:00 -0500
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 19:58:37 +0200
commit6202a816311c5e56f71ecd358850b1e6d8cd7065 (patch)
treede47ad4f657df101b6f36a07a6c6e19191be7de9 /src/conf.c
parent6c193ce1dd1d07ebdc1372e38bc4908ab1c37705 (diff)
downloadsendmail-debian/8.8.8-20.tar.gz
Imported Debian patch 8.8.8-20debian/8.8.8-20
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index cd51efc..d708a27 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -368,6 +368,9 @@ setupmaps()
MAPDEF("bestmx", NULL, MCF_OPTFILE,
map_parseargs, null_map_open, null_map_close,
bestmx_map_lookup, null_map_store);
+ MAPDEF("ismx", NULL, MCF_OPTFILE,
+ map_parseargs, null_map_open, null_map_close,
+ ismx_map_lookup, null_map_store);
#endif
MAPDEF("host", NULL, 0,
@@ -4118,7 +4121,8 @@ validate_connection(sap, hostname, e)
}
#if TCPWRAPPERS
- if (!hosts_ctl("sendmail", hostname, anynet_ntoa(sap), STRING_UNKNOWN))
+ if (TcpWrappers &&
+ !hosts_ctl("sendmail", hostname, anynet_ntoa(sap), STRING_UNKNOWN))
{
if (tTd(48, 4))
printf(" ... validate_connection: BAD (tcpwrappers)\n");