diff options
author | 2001-09-11 19:31:31 +0000 | |
---|---|---|
committer | 2001-09-11 19:31:31 +0000 | |
commit | db6d300fd8a89f899f4749968d177add949e391b (patch) | |
tree | f8d6155b074a7a822bdc0b89832f5e61f5885ed1 | |
parent | Scaffolding to support sendmail 8.12. Note that the new smmsp user/group (diff) | |
download | wireguard-openbsd-db6d300fd8a89f899f4749968d177add949e391b.tar.xz wireguard-openbsd-db6d300fd8a89f899f4749968d177add949e391b.zip |
localhost-only config
-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 |