summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2001-11-29 16:40:47 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2001-11-29 16:40:47 +0000
commit836d751b045084a9bc92432e7d43103b386ded50 (patch)
treec5aa0b7683d11a67e4147b0d182b44e07955f32d /gnu/usr.sbin
parenta6eb4e992183ab15b11a8d5acfb73ac99701ecb4 (diff)
use ipv6 when possible; transparent if you don't have ipv6 enabled
..without this, client only connects to remote ipv4 smtp sites, and yes, localhost is a 'remote' site during testing. millert@ ok.
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc4
-rw-r--r--gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc4
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc b/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc
index 2b5919fbaf5..eb969242752 100644
--- a/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc
+++ b/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc
@@ -18,7 +18,7 @@ divert(-1)
#
divert(0)dnl
-VERSIONID(`@(#)openbsd-localhost.mc $Revision: 1.2 $')
+VERSIONID(`@(#)openbsd-localhost.mc $Revision: 1.3 $')
OSTYPE(openbsd)
FEATURE(nouucp, `reject')
FEATURE(`no_default_msa')
@@ -28,6 +28,8 @@ DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::1, Name=MTA6, M=O')dnl
DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Port=587, Name=MSA, M=E')dnl
DAEMON_OPTIONS(`Family=inet6, address=::1, Port=587, Name=MSA6, M=O, M=E')dnl
+CLIENT_OPTIONS(`Family=inet6, Address=::')dnl
+CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl
dnl
dnl Some broken nameservers will return SERVFAIL (a temporary failure)
dnl on T_AAAA (IPv6) lookups.
diff --git a/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc b/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc
index 385eafa2456..1e2dd5d53ea 100644
--- a/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc
+++ b/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc
@@ -17,7 +17,7 @@ divert(-1)
#
divert(0)dnl
-VERSIONID(`@(#)openbsd-proto.mc $Revision: 1.5 $')
+VERSIONID(`@(#)openbsd-proto.mc $Revision: 1.6 $')
OSTYPE(openbsd)
FEATURE(nouucp, `reject')
FEATURE(`no_default_msa')
@@ -27,6 +27,8 @@ DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::, Name=MTA6, M=O')dnl
DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Port=587, Name=MSA, M=E')
DAEMON_OPTIONS(`Family=inet6, address=::, Port=587, Name=MSA6, M=O, M=E')
+CLIENT_OPTIONS(`Family=inet6, Address=::')dnl
+CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl
dnl
dnl Some broken nameservers will return SERVFAIL (a temporary failure)
dnl on T_AAAA (IPv6) lookups.