diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2003-10-19 00:03:13 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2003-10-19 00:03:13 +0000 |
commit | 7d4f685f3e78681b75df269cc3a586acd73757f8 (patch) | |
tree | 8b42adc8f832e33d46f936b0685fa4c5dc67dfa1 /etc/sendmail | |
parent | 61abce26110a709ad4817d82f94638dfab02fcf9 (diff) | |
download | FreeBSD-src-7d4f685f3e78681b75df269cc3a586acd73757f8.zip FreeBSD-src-7d4f685f3e78681b75df269cc3a586acd73757f8.tar.gz |
Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
the number of broken DNS servers out there in the world. Since we are
diverging from the sendmail.org submit.mc, it's time to make our own
freebsd.submit.mc.
PR: conf/57733
Reviewed by: nork
MFC after: 2 weeks
Diffstat (limited to 'etc/sendmail')
-rw-r--r-- | etc/sendmail/Makefile | 12 | ||||
-rw-r--r-- | etc/sendmail/freebsd.submit.mc | 28 |
2 files changed, 29 insertions, 11 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 66f5a5a..79cd394 100644 --- a/etc/sendmail/Makefile +++ b/etc/sendmail/Makefile @@ -60,13 +60,6 @@ ${mc:T:R}.cf: ${mc} all: ${ALL} -# Build the installed submit.cf from the sendmail distributed submit.mc. -freebsd.submit.cf: ${SENDMAIL_CF_DIR}/cf/submit.mc - ${RM} ${.TARGET} - ${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_M4_FLAGS} \ - ${SENDMAIL_CF_DIR}/m4/cf.m4 ${.ALLSRC} > ${.TARGET} - ${CHMOD} ${ROMODE} ${.TARGET} - install distribution: .if defined(SENDMAIL_MC) && defined(SENDMAIL_CF) @echo ">>> ERROR: Both SENDMAIL_MC and SENDMAIL_CF cannot be set" @@ -76,10 +69,7 @@ install distribution: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/freebsd.mc freebsd.cf ${DESTDIR}/etc/mail ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${SENDMAIL_CF_DIR}/cf/submit.mc \ - ${DESTDIR}/etc/mail/freebsd.submit.mc - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ - freebsd.submit.cf ${DESTDIR}/etc/mail + ${.CURDIR}/freebsd.submit.mc freebsd.submit.cf ${DESTDIR}/etc/mail ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${SMDIR}/helpfile ${DESTDIR}/etc/mail ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 \ diff --git a/etc/sendmail/freebsd.submit.mc b/etc/sendmail/freebsd.submit.mc new file mode 100644 index 0000000..bfc98a2 --- /dev/null +++ b/etc/sendmail/freebsd.submit.mc @@ -0,0 +1,28 @@ +divert(-1) +# +# Copyright (c) 2001-2003 Sendmail, Inc. and its suppliers. +# 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 is the FreeBSD configuration for a set-group-ID sm-msp sendmail +# that acts as a initial mail submission program. +# +# + +divert(0)dnl +VERSIONID(`$FreeBSD$') +define(`confCF_VERSION', `Submit')dnl +define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining +define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet +define(`confTIME_ZONE', `USE_TZ')dnl +define(`confDONT_INIT_GROUPS', `True')dnl +define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl +dnl +dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] +FEATURE(`msp', `[127.0.0.1]')dnl |