diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-11 19:31:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-11 19:31:32 +0000 |
commit | da25c3906c87b85468e64ed52b830fe02d3a8f26 (patch) | |
tree | eb59ffceecee15ce33a788f60912d78c382e06bb /gnu/usr.sbin/sendmail | |
parent | 4aee02f5334afe1e986d4c823514e2df60039af2 (diff) |
localhost-only config
Diffstat (limited to 'gnu/usr.sbin/sendmail')
-rw-r--r-- | gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc b/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc new file mode 100644 index 00000000000..f0882299e54 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/openbsd-localhost.mc @@ -0,0 +1,31 @@ +divert(-1) +# +# Copyright (c) 1998 Sendmail, Inc. All rights reserved. +# Copyright (c) 1983 Eric P. Allman. All rights reserved. +# Copyright (c) 1988, 1993 +# The Regents of the University of California. All rights reserved. +# +# By using this file, you agree to the terms and conditions set +# forth in the LICENSE file which can be found at the top level of +# the sendmail distribution. +# +# + +# +# This configuration only runs sendmail on the localhost interface. +# This allows mail on the local host to work without accepting +# connections from the net at large. +# + +divert(0)dnl +VERSIONID(`@(#)openbsd-localhost.mc $Revision: 1.1 $') +OSTYPE(openbsd) +FEATURE(nouucp, `reject') +MAILER(local) +MAILER(smtp) +DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Name=MTA')dnl +DAEMON_OPTIONS(`Family=inet6, address=::1, Name=MTA6, M=O')dnl +dnl +dnl Some broken nameservers will return SERVFAIL (a temporary failure) +dnl on T_AAAA (IPv6) lookups. +define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl |