summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2001-11-29 16:40:46 +0000
committertodd <todd@openbsd.org>2001-11-29 16:40:46 +0000
commit54ccdeda6d605f9dab98c04cb350641a341d3927 (patch)
tree5b76610f7ffab0b6b73081389b1aee1b92328cd4
parentvell.nsc.ru->ftp.openbsd.ru there as well. (diff)
downloadwireguard-openbsd-54ccdeda6d605f9dab98c04cb350641a341d3927.tar.xz
wireguard-openbsd-54ccdeda6d605f9dab98c04cb350641a341d3927.zip
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.
-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.