diff options
Diffstat (limited to 'debian/cf')
-rw-r--r-- | debian/cf/Makefile | 463 | ||||
-rw-r--r-- | debian/cf/debian/autoconf.m4 | 60 | ||||
-rw-r--r-- | debian/cf/debian/sendmail.mc | 104 | ||||
-rw-r--r-- | debian/cf/debian/sendmail.mc.in | 6 | ||||
-rw-r--r-- | debian/cf/debian/submit.mc | 56 | ||||
-rw-r--r-- | debian/cf/debian/submit.mc.in | 6 | ||||
-rw-r--r-- | debian/cf/domain/debian-msp.m4 | 73 | ||||
-rw-r--r-- | debian/cf/domain/debian-mta.m4 | 112 | ||||
-rw-r--r-- | debian/cf/hack/debian_auth.m4 | 47 | ||||
-rw-r--r-- | debian/cf/hack/virthost_by_ip.m4 | 77 | ||||
-rw-r--r-- | debian/cf/ostype/debian.m4 | 113 |
11 files changed, 6 insertions, 1111 deletions
diff --git a/debian/cf/Makefile b/debian/cf/Makefile deleted file mode 100644 index 5af2b2d..0000000 --- a/debian/cf/Makefile +++ /dev/null @@ -1,463 +0,0 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. -# cf/Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -pkgdatadir = $(datadir)/sendmail -pkglibdir = $(libdir)/sendmail -pkgincludedir = $(includedir)/sendmail -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = x86_64-pc-linux-gnu -host_triplet = x86_64-pc-linux-gnu -target_triplet = x86_64-pc-linux-gnu -subdir = cf -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/./build/mkinstalldirs -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/src/sendmail/sendmail-8.14.2/debian/build/missing --run aclocal-1.10 -AMTAR = ${SHELL} /home/src/sendmail/sendmail-8.14.2/debian/build/missing --run tar -AUTOCONF = ${SHELL} /home/src/sendmail/sendmail-8.14.2/debian/build/missing --run autoconf -AUTOHEADER = ${SHELL} /home/src/sendmail/sendmail-8.14.2/debian/build/missing --run autoheader -AUTOMAKE = ${SHELL} /home/src/sendmail/sendmail-8.14.2/debian/build/missing --run automake-1.10 -AWK = gawk -CC = cc -CCDEPMODE = depmode=none -CFLAGS = -g -Wall -O2 -fPIC -fstack-protector-all -CPP = cc -E -CPPFLAGS = -CYGPATH_W = echo -DEBIAN = yes -DEBIAN_DH = 4.1 -DEB_BUILD_ARCH = amd64 -DEB_BUILD_GNU_CPU = x86_64 -DEB_BUILD_GNU_SYSTEM = linux-gnu -DEB_BUILD_GNU_TYPE = x86_64-linux-gnu -DEB_HOST_ARCH = amd64 -DEB_HOST_GNU_CPU = x86_64 -DEB_HOST_GNU_SYSTEM = linux-gnu -DEB_HOST_GNU_TYPE = x86_64-linux-gnu -DEFS = -DPACKAGE_NAME=\"Sendmail\" -DPACKAGE_TARNAME=\"sendmail\" -DPACKAGE_VERSION=\"8.14.1\" -DPACKAGE_STRING=\"Sendmail\ 8.14.1\" -DPACKAGE_BUGREPORT=\"bug/reportbug\ or\ sendmail@packages.debian.org\" -DPACKAGE=\"sendmail\" -DVERSION=\"8.14.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGEX_H=1 -DHAVE_DB_H=1 -DHAVE_DB_185_H=1 -DHAVE_RPCSVC_YPCLNT_H=1 -DHAVE_RPCSVC_NIS_H=1 -DHAVE_LDAP_H=1 -DHAVE_RESOLV_H=1 -DHAVE_TCPD_H=1 -DHAVE_NETINET_IP6_H=1 -DHAVE_GETADDRINFO=1 -DHAVE_MAILLOCK_H=1 -DHAVE_SASL_SASL_H=1 -DHAVE_OPENSSL_SSL_H=1 -DEPDIR = .deps -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = -GREP = /bin/grep -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -pie -Wl,-z,noexecstack,-z,relro,-z,now -Wl,--warn-shared-textrel -LIBOBJS = -LIBS = -LN_S = ln -s -LTLIBOBJS = -MAINT = # -MAKEINFO = ${SHELL} /home/src/sendmail/sendmail-8.14.2/debian/build/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -OBJEXT = o -PACKAGE = sendmail -PACKAGE_BUGREPORT = bug/reportbug or sendmail@packages.debian.org -PACKAGE_NAME = Sendmail -PACKAGE_STRING = Sendmail 8.14.2 -PACKAGE_TARNAME = sendmail -PACKAGE_VERSION = 8.14.2 -PATH_SEPARATOR = : -SET_MAKE = -SHELL = /bin/sh -SM_CPYRT = 2007 -SM_DATE = 2007-10-04 21:42:00 -SM_MAXVERS = 9.0.0 -SM_MINVERS = 8.7.6 -SM_VERS = 8.14.1 -STRIP = -VERSION = 8.14.1 -abs_builddir = /home/src/sendmail/sendmail-8.14.2/debian/cf -abs_srcdir = /home/src/sendmail/sendmail-8.14.2/debian/cf -abs_top_builddir = /home/src/sendmail/sendmail-8.14.2/debian -abs_top_srcdir = /home/src/sendmail/sendmail-8.14.2/debian -ac_ct_CC = cc -ac_version = 2.61 -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -am_version = 1.10 -bindir = /usr/bin -build = x86_64-pc-linux-gnu -build_alias = x86_64-linux-gnu -build_cpu = x86_64 -build_os = linux-gnu -build_vendor = pc -builddir = . -buildtree = build-tree/sendmail-8.14.2 -datadir = /usr/share -datarootdir = /usr/share -docdir = /usr/share/doc -dvidir = ${docdir} -exec_prefix = /usr -host = x86_64-pc-linux-gnu -host_alias = -host_cpu = x86_64 -host_os = linux-gnu -host_vendor = pc -htmldir = ${docdir} -includedir = /usr/include -infodir = /usr/share/info -install_sh = $(SHELL) /home/src/sendmail/sendmail-8.14.2/debian/build/install-sh -libdir = /usr/lib -libexecdir = /usr/lib/sm.bin -localedir = ${datarootdir}/locale -localstatedir = /var -mandir = /usr/share/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = /usr/sbin -sharedstatedir = /usr/com -sm_auth_lib = 2 -sm_badepends = , libdb4.6-dev, libldap2-dev, libwrap0-dev, liblockfile-dev, libsasl2-dev, libssl-dev -sm_build_arch = amd64 -sm_custom = -sm_custom_s = -sm_databases = REGEX, DB, NIS, NIS+, LDAP, DNS -sm_date = 2007-11-02 -sm_depends = -sm_dist_name = Debian -sm_dist_vers = lenny/sid -sm_editmap_envdef = -sm_editmap_libs = -ldb-4.6 -lldap -llber -sm_enable_auth = yes -sm_enable_bind = no -sm_enable_hesiod = no -sm_enable_ipv6 = yes -sm_enable_ldap = yes -sm_enable_maillock = yes -sm_enable_milter = yes -sm_enable_ndbm = no -sm_enable_newdb = yes -sm_enable_nis = yes -sm_enable_nisplus = yes -sm_enable_regex = yes -sm_enable_sfio = no -sm_enable_shm = yes -sm_enable_tcpd = yes -sm_enable_tls = yes -sm_envdef = -DHASFCHMOD=1 -DHASSETRLIMIT=1 -DHASFLOCK=0 -DUSESETEUID=1 -DHASGETUSERSHELL=1 -DNETINET6 -sm_features = TCPWrappers, IPv6, LockFile, SMTP AUTH(SASL), STARTTLS(SSL) -sm_ffr = -D_FFR_QUEUE_SCHED_DBG -D_FFR_SKIP_DOMAINS -D_FFR_GROUPREADABLEAUTHINFOFILE -D_FFR_DAEMON_NETUNIX -D_FFR_NO_PIPE -D_FFR_SHM_STATUS -D_FFR_RHS -D_FFR_MAIL_MACRO -D_FFR_QUEUEDELAY=1 -D_FFR_RESET_MACRO_GLOBALS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL -sm_hesiod_parms = -sm_host_arch = amd64 -sm_incdirs = -sm_ldap_lib = -lldap -llber -sm_libmilter_envdef = -fPIC -DSM_CONF_POLL=1 -D_FFR_MULTILINE -D_FFR_SMFI_PROGRESS -sm_libmilter_libs = -sm_libmilter_version = 1 -sm_libs = -sm_libsm_envdef = -fPIC -DHAVE_NANOSLEEP=1 -D_LDAP_EXAMPLE_ -DLDAP_REFERRALS -D_FFR_LDAP_URI -D_FFR_LDAP_SETVERSION -DSM_CONF_LDAP_MEMFREE -sm_libsm_libs = -lldap -llber -sm_libsmdb_envdef = -sm_libsmdb_libs = -sm_libsmutil_envdef = -fPIC -sm_libsmutil_libs = -sm_m4_ffr = define(`_FFR_MAIL_MACRO') -sm_mail_local_envdef = -DCONTENTLENGTH -DMAILLOCK -sm_mail_local_libs = -lldap -llber -llockfile -sm_mailstats_envdef = -sm_mailstats_libs = -lldap -llber -sm_makemap_envdef = -sm_makemap_libs = -ldb-4.6 -lldap -llber -sm_mapdef = -DSOCKETMAP -DMAP_REGEX -DNEWDB -DNIS -DNISPLUS -DLDAPMAP -sm_newdb_lib = -ldb-4.6 -sm_praliases_envdef = -sm_praliases_libs = -ldb-4.6 -lldap -llber -sm_recommends = -sm_revision = -1 -sm_rmail_envdef = -sm_rmail_libs = -lldap -llber -sm_sendmail_envdef = -D_PATH_SENDMAILPID=\"/var/run/sendmail/mta/sendmail.pid\" -DIP_SRCROUTE=1 -DLDAP_REFERRALS -D_FFR_LDAP_URI -D_FFR_LDAP_SETVERSION -DTCPWRAPPERS -DSASL -I/usr/include/sasl -DSTARTTLS -D_FFR_QUEUE_SCHED_DBG -D_FFR_SKIP_DOMAINS -D_FFR_GROUPREADABLEAUTHINFOFILE -D_FFR_DAEMON_NETUNIX -D_FFR_NO_PIPE -D_FFR_SHM_STATUS -D_FFR_RHS -D_FFR_MAIL_MACRO -D_FFR_QUEUEDELAY=1 -D_FFR_RESET_MACRO_GLOBALS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL -sm_sendmail_libs = -ldb-4.6 -lnsl -lldap -llber -lresolv -lwrap -lsasl2 -lcrypto -lssl -sm_smrsh_envdef = -DCMDDIR=\"/etc/mail/smrsh\" -DPATH=\"/usr/bin:/bin\" -sm_smrsh_libs = -lldap -llber -sm_suggests = , sasl2-bin, libsasl2-modules | libsasl2-modules-plain | libsasl2-digestmd5-plain | libsasl2-digestmd5-des, openssl -sm_time = 22:20:56 -sm_utc = +0000 -sm_vacation_envdef = -sm_vacation_libs = -ldb-4.6 -lldap -llber -sm_version = 8.14.2 -sm_version_beta = -sm_version_major = 8.14 -sm_version_math = 527874 -sm_version_minor = 2 -sm_version_r = 14 -sm_version_v = 8 -srcdir = . -sysconfdir = /etc -target = x86_64-pc-linux-gnu -target_alias = -target_cpu = x86_64 -target_os = linux-gnu -target_vendor = pc -top_builddir = .. -top_srcdir = .. - -#!/usr/bin/make -f -#------------------------------------------------------------------------------ -# vim: syntax=make -# -# $Sendmail: Makefile,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 1998-2007 Richard Nelson. All Rights Reserved. -# -# cf/Makefile. Generated from Makefile.in by configure. -# -# Rules file for Sendmail 8.14.2-1(527874) -# on Debian lenny/sid -# via Debhelper V4.1 -# -# Note: the .in file supports Sendmail 8.7.6 - 9.0.0 -# on Debian slink, potato, woody, testing, sid, ... -# but the generated file is customized to the version noted above. -# -# Richard Nelson <cowboy@debian.org> 2007-11-02 22:20:56 (+0000) -#------------------------------------------------------------------------------ -# -# Shipped data -# -# Installed cf subdirectories -CF_DIRS = cf debian domain feature hack m4 mailer ostype -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cf/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu cf/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: # $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): # $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-data-hook - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-data-am install-strip - -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-data-hook install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am - -# -# Local customisation... not automake friendly -# -install-data-hook: - $(INSTALL) -d ${DESTDIR}${pkgdatadir}/cf; - cp -a ${top_srcdir}/../${buildtree}/cf/* ${DESTDIR}${pkgdatadir}/cf; - chmod a+x ${DESTDIR}${pkgdatadir}/cf/sh/makeinfo.sh; - $(RM) ${DESTDIR}${pkgdatadir}/cf/README; - $(RM) ${DESTDIR}${pkgdatadir}/cf/sendmail.schema; - $(RM) ${DESTDIR}${pkgdatadir}/cf/cf/Build; - $(RM) ${DESTDIR}${pkgdatadir}/cf/cf/Makefile; - $(RM) ${DESTDIR}${pkgdatadir}/cf/cf/*.cf; - for dir in ${CF_DIRS}; do \ - $(INSTALL) -d ${DESTDIR}${pkgdatadir}/cf/$$dir; \ - find $$dir -type f -name '*.mc' -o -name '*.m4' \ - | xargs -ri \ - $(INSTALL_DATA) '{}' ${DESTDIR}${pkgdatadir}/cf/'{}'; \ - done; - if [ -f ${top_srcdir}/../${buildtree}/contrib/domainmap.m4 ]; then \ - $(INSTALL_DATA) ${top_srcdir}/../${buildtree}/contrib/domainmap.m4 \ - ${DESTDIR}${pkgdatadir}/cf/feature; \ - fi; - if [ -f ${top_srcdir}/../${buildtree}/contrib/dnsblaccess.m4 ]; then \ - $(INSTALL_DATA) ${top_srcdir}/../${buildtree}/contrib/dnsblaccess.m4 \ - ${DESTDIR}${pkgdatadir}/cf/hack; \ - fi; -# -# Debian targets, phase out (this needs to be treated as -arch, not -indep) -# -.PHONY: build-indep build-arch -.PHONY: install-indep install-arch -build-indep: -build-arch: -install-indep: install -install-arch: -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/debian/cf/debian/autoconf.m4 b/debian/cf/debian/autoconf.m4 deleted file mode 100644 index 34d14f1..0000000 --- a/debian/cf/debian/autoconf.m4 +++ /dev/null @@ -1,60 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: autoconf.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 2001-2007 Richard Nelson. All Rights Reserved. -# -# cf/debian/autoconf.m4. Generated from autoconf.m4.in by configure. -# -# m4 autoconf config file for building Sendmail 8.14.2-1 -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -#----------------------------------------------------------------------------- -# -divert(0)dnl -VERSIONID(`$Id: autoconf.m4, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -dnl # -dnl #--------------------------------------------------------------------- -dnl # Export (from autoconf to m4) some items of dubious value -dnl #--------------------------------------------------------------------- -define(`SM_VERS', `8.14.1')dnl -define(`SM_DATE', `2007-10-04 21:42:00')dnl -define(`SM_MINVERS', `8.7.6')dnl -define(`SM_MAXVERS', `9.0.0')dnl -define(`SM_CPYRT', `2007')dnl -define(`sm_date', `2007-11-02')dnl -define(`sm_time', `22:20:56')dnl -define(`sm_utc', `+0000')dnl -define(`sm_version', `8.14.2')dnl -define(`sm_revision', `-1')dnl -define(`sm_version_v', `8')dnl -define(`sm_version_r', `14')dnl -define(`sm_version_major', `8.14')dnl -define(`sm_version_minor', `2')dnl -define(`sm_version_beta', `')dnl -define(`sm_version_math', `527874')dnl -define(`sm_enable_regex', `yes')dnl -define(`sm_enable_ndbm', `no')dnl -define(`sm_enable_newdb', `yes')dnl -define(`sm_newdb_lib', `-ldb-4.6')dnl -define(`sm_enable_nis', `yes')dnl -define(`sm_enable_nisplus', `yes')dnl -define(`sm_enable_ldap', `yes')dnl -define(`sm_ldap_lib', `-lldap -llber')dnl -define(`sm_enable_hesiod', `no')dnl -define(`sm_hesiod_parms', `')dnl -define(`sm_enable_tcpd', `yes')dnl -define(`sm_enable_ipv6', `yes')dnl -define(`sm_enable_maillock',`yes')dnl -define(`sm_enable_milter', `yes')dnl -define(`sm_enable_sfio', `no')dnl -define(`sm_enable_auth', `yes')dnl -define(`sm_auth_lib', `2')dnl -define(`sm_enable_tls', `yes')dnl -define(`sm_enable_shm', `yes')dnl -define(`sm_ffr', ` -D_FFR_QUEUE_SCHED_DBG -D_FFR_SKIP_DOMAINS -D_FFR_GROUPREADABLEAUTHINFOFILE -D_FFR_DAEMON_NETUNIX -D_FFR_NO_PIPE -D_FFR_SHM_STATUS -D_FFR_RHS -D_FFR_MAIL_MACRO -D_FFR_QUEUEDELAY=1 -D_FFR_RESET_MACRO_GLOBALS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL')dnl -define(`sm_m4_ffr', ` define(`_FFR_MAIL_MACRO')')dnl -define(`sm_enable_dev', `@sm_enable_dev@')dnl -define(`sm_enable_doc', `@sm_enable_doc@')dnl diff --git a/debian/cf/debian/sendmail.mc b/debian/cf/debian/sendmail.mc deleted file mode 100644 index 157aa9b..0000000 --- a/debian/cf/debian/sendmail.mc +++ /dev/null @@ -1,104 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: debproto.mc,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 1998-2007 Richard Nelson. All Rights Reserved. -# -# cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure. -# -# sendmail.mc prototype config file for building Sendmail 8.14.2 -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -# This file is used to configure Sendmail for use with Debian systems. -# -# If you modify this file, you will have to regenerate /etc/mail/sendmail.cf -# by running this file through the m4 preprocessor via one of the following: -# * `sendmailconfig` -# * `make` -# * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf` -# The first two options are preferred as they will also update other files -# that depend upon the contents of this file. -# -# The best documentation for this .mc file is: -# /usr/share/doc/sendmail-doc/cf.README.gz -# -#----------------------------------------------------------------------------- -divert(0)dnl -# -# Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved. -# -# This file is used to configure Sendmail for use with Debian systems. -# -define(`_USE_ETC_MAIL_')dnl -include(`/usr/share/sendmail/cf/m4/cf.m4')dnl -VERSIONID(`$Id: sendmail.mc, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -OSTYPE(`debian')dnl -DOMAIN(`debian-mta')dnl -dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE -dnl undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS= -dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE -dnl # -dnl # General defines -dnl # -dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot() -dnl # into this directory before writing files. -dnl # If *all* your user accounts are under /home then use that -dnl # instead - it will prevent any writes outside of /home ! -dnl # define(`confSAFE_FILE_ENV', `')dnl -dnl # -dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!! -dnl # Remove `, Addr=' clauses to receive from any interface -dnl # If you want to support IPv6, switch the commented/uncommentd lines -dnl # -FEATURE(`no_default_msa')dnl -dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl -DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl -dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl -DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, Addr=127.0.0.1')dnl -dnl # -dnl # Be somewhat anal in what we allow -define(`confPRIVACY_FLAGS',dnl -`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl -dnl # -dnl # Define connection throttling and window length -define(`confCONNECTION_RATE_THROTTLE', `15')dnl -define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl -dnl # -dnl # Features -dnl # -dnl # use /etc/mail/local-host-names -FEATURE(`use_cw_file')dnl -dnl # -dnl # The access db is the basis for most of sendmail's checking -FEATURE(`access_db', , `skip')dnl -dnl # -dnl # The greet_pause feature stops some automail bots - but check the -dnl # provided access db for details on excluding localhosts... -FEATURE(`greet_pause', `1000')dnl 1 seconds -dnl # -dnl # Delay_checks allows sender<->recipient checking -FEATURE(`delay_checks', `friend', `n')dnl -dnl # -dnl # If we get too many bad recipients, slow things down... -define(`confBAD_RCPT_THROTTLE',`3')dnl -dnl # -dnl # Stop connections that overflow our concurrent and time connection rates -FEATURE(`conncontrol', `nodelay', `terminate')dnl -FEATURE(`ratecontrol', `nodelay', `terminate')dnl -dnl # -dnl # If you're on a dialup link, you should enable this - so sendmail -dnl # will not bring up the link (it will queue mail for later) -dnl define(`confCON_EXPENSIVE',`True')dnl -dnl # -dnl # Dialup/LAN connection overrides -dnl # -include(`/etc/mail/m4/dialup.m4')dnl -include(`/etc/mail/m4/provider.m4')dnl -dnl # -dnl # Default Mailer setup -MAILER_DEFINITIONS -MAILER(`local')dnl -MAILER(`smtp')dnl - diff --git a/debian/cf/debian/sendmail.mc.in b/debian/cf/debian/sendmail.mc.in index f10f29e..2c97995 100644 --- a/debian/cf/debian/sendmail.mc.in +++ b/debian/cf/debian/sendmail.mc.in @@ -15,9 +15,9 @@ divert(-1)dnl # # If you modify this file, you will have to regenerate /etc/mail/sendmail.cf # by running this file through the m4 preprocessor via one of the following: -# * `sendmailconfig` -# * `make` -# * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf` +# * make (or make -C /etc/mail) +# * sendmailconfig +# * m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf # The first two options are preferred as they will also update other files # that depend upon the contents of this file. # diff --git a/debian/cf/debian/submit.mc b/debian/cf/debian/submit.mc deleted file mode 100644 index 7d64506..0000000 --- a/debian/cf/debian/submit.mc +++ /dev/null @@ -1,56 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: submit.mc,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 2000-2007 Richard Nelson. All Rights Reserved. -# -# cf/debian/submit.mc. Generated from submit.mc.in by configure. -# -# submit.mc prototype config file for building Sendmail 8.14.2 -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -# This file is used to configure Sendmail for use with Debian systems. -# -# If you modify this file, you will have to regenerate /etc/mail/submit.cf -# by running this file through the m4 preprocessor via one of the following: -# * `sendmailconfig` -# * `make` -# * `m4 /etc/mail/submit.mc > /etc/mail/submit.cf` -# The first two options are preferred as they will also update other files -# that depend upon the contents of this file. -# -# The best documentation for this .mc file is: -# /usr/share/doc/sendmail-doc/cf.README.gz -# -#----------------------------------------------------------------------------- -divert(0)dnl -# -# Copyright (c) 2000-2002 Richard Nelson. All Rights Reserved. -# -# This file is used to configure Sendmail for use with Debian systems. -# -define(`_USE_ETC_MAIL_')dnl -include(`/usr/share/sendmail/cf/m4/cf.m4')dnl -VERSIONID(`$Id: submit.mc, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -OSTYPE(`debian')dnl -DOMAIN(`debian-msp')dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Masquerading information, if needed, should go here -dnl # You likely will not need this, as the MTA will do it -dnl #--------------------------------------------------------------------- -dnl MASQUERADE_AS()dnl -dnl FEATURE(`masquerade_envelope')dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # The real reason we're here: the FEATURE(msp) -dnl #--------------------------------------------------------------------- -FEATURE(`msp', `[127.0.0.1]', `MSA')dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Some minor cleanup from FEATURE(msp) -dnl #--------------------------------------------------------------------- -dnl # -dnl #--------------------------------------------------------------------- diff --git a/debian/cf/debian/submit.mc.in b/debian/cf/debian/submit.mc.in index 572b638..b7c652f 100644 --- a/debian/cf/debian/submit.mc.in +++ b/debian/cf/debian/submit.mc.in @@ -15,9 +15,9 @@ divert(-1)dnl # # If you modify this file, you will have to regenerate /etc/mail/submit.cf # by running this file through the m4 preprocessor via one of the following: -# * `sendmailconfig` -# * `make` -# * `m4 /etc/mail/submit.mc > /etc/mail/submit.cf` +# * make (or make -C /etc/mail) +# * sendmailconfig +# * m4 /etc/mail/submit.mc > /etc/mail/submit.cf # The first two options are preferred as they will also update other files # that depend upon the contents of this file. # diff --git a/debian/cf/domain/debian-msp.m4 b/debian/cf/domain/debian-msp.m4 deleted file mode 100644 index 303401f..0000000 --- a/debian/cf/domain/debian-msp.m4 +++ /dev/null @@ -1,73 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: debian-msp.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 1998-2007 Richard Nelson. All Rights Reserved. -# -# cf/domain/debian-msp.m4. Generated from debian-msp.m4.in by configure. -# -# domain(debian-msp) config file for building Sendmail 8.14.2-1 -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -#----------------------------------------------------------------------------- -# -divert(0)dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Bring in Autoconf results -dnl #--------------------------------------------------------------------- -ifdef(`sm_version', `dnl', -`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl') -dnl # -VERSIONID(`$Id: debian-msp.m4, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -define(`DEBIAN_MSP')dnl -define(`confCF_VERSION', `Submit')dnl -dnl # -dnl # changes made herein *must* be reflected in parse_mc,update_db,debian.m4 -dnl # -define(`MSP_QUEUE_DIR', `/var/spool/mqueue-client')dnl -define(`STATUS_FILE', `/var/lib/sendmail/sm-client.st')dnl -dnl # -dnl # Since MSP only delivers to MTA, persistant status isn't needed -define(`confHOST_STATUS_DIRECTORY', `')dnl -dnl # -dnl # For FHS, we use a subdirectory in /var/run (multiple files) -dnl # For permissions, we use separate MSP/MTA subdirectories -define(`confPID_FILE', `/var/run/sendmail/msp/sendmail.pid')dnl -define(`confCONTROL_SOCKET_NAME', - `/var/run/sendmail/msp/smcontrol')dnl -dnl # -dnl # flags -define(`confPROCESS_TITLE_PREFIX', `MSP')dnl -define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl -define(`confRRT_IMPLIES_DSN', `False')dnl -define(`confSAFE_FILE_ENV', `/')dnl -define(`confSAFE_QUEUE', `True')dnl -define(`confQUEUE_FILE_MODE', `0660')dnl -define(`confTEMP_FILE_MODE', `0644')dnl -dnl # -dnl # Provide some 'more reasonable' timeout values -dnl # See SASL/TLS sections below for more timeout values -dnl # -define(`confTO_ICONNECT', `2s')dnl # rfc min= , def=5m -define(`confTO_MAIL', `2m')dnl # rfc min=5m, def=10m, too long -define(`confTO_DATAINIT', `2m')dnl # rfc min=2m, def=5m -define(`confTO_RSET', `1m')dnl # rfc min= , def=5m -define(`confTO_QUIT', `2m')dnl # rfc min= , def=2m -define(`confTO_COMMAND', `5m')dnl # rfc min=5m, def=1h -define(`confTO_IDENT', `5s')dnl # , def=5s, 0=skip -define(`confTO_HOSTSTATUS',`0')dnl # , def=30m -dnl # -dnl # by default, disable Message Submission Agent (8.10.0+) -ifelse(eval(sm_version_math >= 526848), `1',dnl -`FEATURE(`no_default_msa')') -dnl # -dnl # Mail Submission Program uid/gid -define(`confRUN_AS_USER', `smmsp')dnl -define(`confTRUSTED_USER', confRUN_AS_USER)dnl -dnl # -dnl # Optional items (should be a subset site.config.m4 used for build) -dnl # to prevent sendmail error messages -dnl # diff --git a/debian/cf/domain/debian-mta.m4 b/debian/cf/domain/debian-mta.m4 deleted file mode 100644 index 41b9657..0000000 --- a/debian/cf/domain/debian-mta.m4 +++ /dev/null @@ -1,112 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: debian-mta.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 1998-2007 Richard Nelson. All Rights Reserved. -# -# cf/domain/debian-mta.m4. Generated from debian-mta.m4.in by configure. -# -# domain(debian-mta) config file for building Sendmail 8.14.2-1 -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -#----------------------------------------------------------------------------- -# -divert(0)dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Bring in Autoconf results -dnl #--------------------------------------------------------------------- -ifdef(`sm_version', `dnl' , -`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl') -dnl # -VERSIONID(`$Id: debian-mta.m4, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -define(`DEBIAN_MTA')dnl -dnl # -dnl # changes made herein *must* be reflected in parse_mc,update_db,debian.m4 -dnl # -define(`STATUS_FILE', `/var/lib/sendmail/sendmail.st')dnl -define(`confHOST_STATUS_DIRECTORY', - `/var/lib/sendmail/host_status')dnl -dnl # -dnl # For FHS, we use a subdirectory in /var/run (multiple files) -dnl # For permissions, we use separate MSP/MTA subdirectories -define(`confPID_FILE', `/var/run/sendmail/mta/sendmail.pid')dnl -define(`confCONTROL_SOCKET_NAME', - `/var/run/sendmail/mta/smcontrol')dnl -dnl # -dnl # flags -define(`confPROCESS_TITLE_PREFIX', `MTA')dnl -define(`confMAX_DAEMON_CHILDREN', `0')dnl -define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl -define(`confRRT_IMPLIES_DSN', `False')dnl -define(`confSAFE_FILE_ENV', `/')dnl -define(`confSAFE_QUEUE', `True')dnl -define(`confQUEUE_FILE_MODE', `0600')dnl -define(`confTEMP_FILE_MODE', `0600')dnl -dnl # -dnl # Provide some 'more reasonable' timeout values -dnl # See SASL/TLS sections below for more timeout values -dnl # -define(`confTO_ICONNECT', `2m')dnl # rfc min= , def=5m -define(`confTO_MAIL', `2m')dnl # rfc min=5m, def=10m, too long -define(`confTO_DATAINIT', `2m')dnl # rfc min=2m, def=5m -define(`confTO_RSET', `1m')dnl # rfc min= , def=5m -define(`confTO_QUIT', `2m')dnl # rfc min= , def=2m -define(`confTO_COMMAND', `5m')dnl # rfc min=5m, def=1h -define(`confTO_IDENT', `5s')dnl # , def=5s, 0=skip -dnl # -dnl RFC 2821 recommends a higher value for max-hop than the default(25) -define(`confMAX_HOP', `100')dnl -dnl # -dnl # Debian users have group writable directories/files by default (8.9.0+) -ifelse(eval(sm_version_math >= 526592), `1',dnl -`define(`confDONT_BLAME_SENDMAIL',dnl - defn(`confDONT_BLAME_SENDMAIL')`,AssumeSafeChown,ForwardFileInGroupWritableDirPath,GroupWritableForwardFileSafe,GroupWritableIncludeFileSafe,IncludeFileInGroupWritableDirPath')dnl' -)dnl -dnl # -dnl # Don't warn for non-existant forward files (8.10.0+) -ifelse(eval(sm_version_math >= 526848), `1',dnl -`define(`confDONT_BLAME_SENDMAIL',dnl - defn(`confDONT_BLAME_SENDMAIL')`,DontWarnForwardFileInUnsafeDirPath,TrustStickyBit,NonRootSafeAddr')dnl' -)dnl -dnl # -dnl # Allow group-writable include files (8.12.0+) -ifelse(eval(sm_version_math >= 527360), `1',dnl -`define(`confDONT_BLAME_SENDMAIL',dnl - defn(`confDONT_BLAME_SENDMAIL')`,GroupWritableIncludeFile,GroupReadableaDefaultAuthInfoFile')dnl' -)dnl -dnl # -dnl # by default, disable Message Submission Agent (8.10.0+) -dnl # except for 8.12.0+, where its needed for MSA ! -ifelse(eval(sm_version_math >= 526848), `1',dnl -`ifelse(eval(sm_version_math < 527360), `1',dnl -`FEATURE(`no_default_msa')',`dnl')') -dnl # -dnl # Allow mailq/hoststat to work with both MSP/MTA queues -ifelse(eval(sm_version_math >= 527360), `1',dnl -`define(`confQUEUE_FILE_MODE', `0640')dnl' -`define(`confTEMP_FILE_MODE', `0644')dnl') -dnl # -dnl # For security, we default to not letting lusers run the queues -dnl # If possible, we prevent sendmail -bv from reading things they shouldn't -dnl # -define(`confPRIVACY_FLAGS', `restrictqrun') -ifelse(eval(sm_version_math >= 527360), `1',dnl -`define(`confPRIVACY_FLAGS',dnl - defn(`confPRIVACY_FLAGS')`,restrictexpand')dnl') -dnl # -dnl # Define trusted user to be the new mta uid (smmta) -dnl # -ifdef(`confTRUSTED_USER',,`define(`confTRUSTED_USER',`smmta')dnl') -dnl # -dnl # Provide a more reasonable default for number of queue-runners -dnl # because many/most? people will not discover this themselves -dnl # and the sendmail default is one! -dnl # -define(`confMAX_RUNNERS_PER_QUEUE', `5')dnl -dnl # -dnl # Optional items (should be a subset site.config.m4 used for build) -dnl # to prevent sendmail error messages -dnl # diff --git a/debian/cf/hack/debian_auth.m4 b/debian/cf/hack/debian_auth.m4 deleted file mode 100644 index 833ae9a..0000000 --- a/debian/cf/hack/debian_auth.m4 +++ /dev/null @@ -1,47 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: debian_auth.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 2001-2007 Richard Nelson. All Rights Reserved. -# -# cf/hack/debian_auth.m4. Generated from debian_auth.m4.in by configure. -# -# debian_trustauth.m4 m4 file for -# * supporting MSP->MTA and MTA->MTA authentication -# * supporting the auth= parameter on the mail from: command. -# -# This file is an extremely simple example that lets *ALL* trusted users -# sendmail, daemon, root, uucp, etc. proxy for any user. -# -# If you've a better idea, please let me know -# -#----------------------------------------------------------------------------- -divert(0)dnl -VERSIONID(`$Id: debian_auth.m4,v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -dnl # -dnl # MTA as Client authentication - only if authinfo/access_db *NOT* used... -define(`confDEF_AUTH_INFO', `MAIL_SETTINGS_DIR`'default-auth-info')dnl -dnl # -dnl # add (fake) uid 'sendmail' to trusted users - it is used as the id -dnl # for MSP->MTA, and MTA->MTA proxying. -ifdef(`confTRUSTED_USERS', - `define(`confTRUSTED_USERS', - defn(`confTRUSTED_USERS')`,sendmail')', - `define(`confTRUSTED_USERS', `sendmail')')dnl -dnl # -dnl # Define local rulesets for trust_auth -LOCAL_RULESETS -# -#----------------------------------------------------------------------------- -# Local_trust_auth: Define who is able to authenticate for whom... -# The sendmail default is to allow *IFF* authen == author -# This ruleset also allows trusted users to authenicate as anyone - needed -# for MSP->MTA and MTA->MTA forwarding of mail from: <...> auth=... -SLocal_trust_auth -R$* $: $&{auth_authen} Put authentication id in the workspace -ifdef(`DEBIAN_DEBUG',dnl -`R$* $: $(log authtype:$&{auth_type} $) $1 -R$* $: $(log authauthen:$&{auth_authen} $) $1 -R$* $: $(log authauthor:$&{auth_author} $) $1') -R$=t $@ $#ok Trusted users... Allow trusted users to auth= as anyone -#----------------------------------------------------------------------------- diff --git a/debian/cf/hack/virthost_by_ip.m4 b/debian/cf/hack/virthost_by_ip.m4 deleted file mode 100644 index 8877dda..0000000 --- a/debian/cf/hack/virthost_by_ip.m4 +++ /dev/null @@ -1,77 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: virthost_by_ip.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 2001-2007 Richard Nelson. All Rights Reserved. -# -# cf/hack/virthost_by_ip.m4. Generated from virthost_by_ip.m4.in by configure. -# -# hack(virthost_by_ip) config file for building Sendmail 8.14.2-1 -# Note: Also check op.{ps,txt} for the 'b' modifier to daemon_options - it -# extends ip based virtual hosting. -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -#----------------------------------------------------------------------------- -# -divert(0)dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Bring in Autoconf results -dnl #--------------------------------------------------------------------- -ifdef(`sm_version', `dnl', -`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl') -dnl # -VERSIONID(`$Id: virthost_by_ip.m4, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -dnl # -dnl #--------------------------------------------------------------------- -dnl # Virtual hosting extensions - Login (greeting message) -dnl #--------------------------------------------------------------------- -define(`confSMTP_LOGIN_MSG', `$?{if_name}${if_name}$|$j$. Sendmail $v/$Z; $b; (No UCE/UBE) $?{client_addr}logging access from: ${client_name}(${client_resolve})-$_$.')dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Virtual hosting extensions - Received-by headers (8.12.0 style) -dnl #--------------------------------------------------------------------- -dnl # 8.7.0+ -ifdef(`_REC_HDR_', `dnl', -`define(`_REC_HDR_', `$?sfrom $s $.$?_($?s$|from $.$_)')dnl' -`define(`_REC_END_', `for $u; $|; - $.$b')dnl' -) -dnl # AUTH(SASL) 8.10.0+ -ifdef(`_REC_AUTH_', `dnl', -`define(`_REC_AUTH_', `$.$?{auth_type}(authenticated')dnl' -`define(`_REC_FULL_AUTH_', `$.$?{auth_type}(user=${auth_authen} $?{auth_author}author=${auth_author} $.mech=${auth_type}')dnl' -) -dnl # TLS(SSL) 8.11.0+ -ifdef(`_REC_BY_', `dnl', -`define(`_REC_BY_', `$.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version}')dnl' -`define(`_REC_TLS_', `(version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u')dnl' -) -dnl # Now, override default settings for virtual hosting -define(`_REC_BY_', `$.by $?{if_name}${if_name}$|$j$. ($v/$Z)$?r with $r$. id $i$?{tls_version}')dnl -define(`confRECEIVED_HEADER', `_REC_HDR_ - _REC_FULL_AUTH_$?{auth_ssf} bits=${auth_ssf}$.) - _REC_BY_ - _REC_TLS_ - _REC_END_')dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Virtual hosting extensions - ClientPortOptions (modifier=h) -dnl # -- Use name of interface for HELO command -dnl #--------------------------------------------------------------------- -ifelse(eval(sm_version_math >= 526848), `1',dnl -`ifelse(defn(`_CPO_'), `dnl', -`CLIENT_OPTIONS(`Modifier=h')dnl')dnl') -dnl # -dnl #--------------------------------------------------------------------- -dnl # Virtual hosting extensions - DaemonPortOptions (modifier=b) -dnl # -- Bind to interface mail was received on -dnl # I can't do this for you, because each use of DAEMON_OPTIONS will -dnl # create a new listener ! -dnl #--------------------------------------------------------------------- -dnl ifelse(eval(sm_version_math >= 526848), `1',dnl -dnl `ifelse(defn(`_DPO_'), `dnl', -dnl `DAEMON_OPTIONS(`Modifier=b')dnl')dnl') - diff --git a/debian/cf/ostype/debian.m4 b/debian/cf/ostype/debian.m4 deleted file mode 100644 index 68843e1..0000000 --- a/debian/cf/ostype/debian.m4 +++ /dev/null @@ -1,113 +0,0 @@ -divert(-1)dnl -#----------------------------------------------------------------------------- -# $Sendmail: debian.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $ -# -# Copyright (c) 1998-2007 Richard Nelson. All Rights Reserved. -# -# cf/ostype/debian.m4. Generated from debian.m4.in by configure. -# -# ostype(debian) config file for building Sendmail 8.14.2-1 -# -# Note: the .in file supports 8.7.6 - 9.0.0, but the generated -# file is customized to the version noted above. -# -#----------------------------------------------------------------------------- -# -divert(0)dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # Bring in Autoconf results -dnl #--------------------------------------------------------------------- -ifdef(`sm_version', `dnl', -`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl') -dnl # -VERSIONID(`$Id: debian.m4, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $') -define(`confCF_VERSION', `Debian-1')dnl -dnl # -dnl # changes made herein *must* be reflected in parse_mc,update_db,debian.m4 -dnl # -ifdef(`MAIL_SETTINGS_DIR', `dnl', - `define(`MAIL_SETTINGS_DIR', `/etc/mail/')dnl') -dnl # support 8.9.3 migration to 8.10.0 naming convention -dnl # Note: this is too late... needs to be in sendmail.mc - at top -ifdef(`_USE_ETC_MAIL_', `dnl', `define(`_USE_ETC_MAIL_')dnl') -dnl # -dnl # Define default greeting -define(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z; $b; (No UCE/UBE) $?{client_addr}logging access from: ${client_name}(${client_resolve})-$_$.')dnl -dnl # -dnl # Keep dead letter drop, it is the last resort home for abused mail -define(`confDEAD_LETTER_DROP', `/var/lib/sendmail/dead.letter')dnl -dnl # -dnl # Put status file in other than /etc/mail (sendmail default) -dnl # Many people run with R/O /etc -define(`STATUS_FILE', `/var/lib/sendmail/sendmail.st')dnl -define(`confHOST_STATUS_DIRECTORY', - `/var/lib/sendmail/host_status')dnl -dnl # -dnl # Allow scanf extensions for common text files -define(`confCR_FILE', `-o '`MAIL_SETTINGS_DIR`'relay-domains %[^\#]')dnl -define(`confCT_FILE', `MAIL_SETTINGS_DIR`'trusted-users %[^\#]')dnl -define(`confCW_FILE', `MAIL_SETTINGS_DIR`'local-host-names %[^\#]')dnl -dnl # -dnl # This *really* needs a better home -define(`confEBINDIR', `/usr/lib/sm.bin')dnl -dnl # -dnl # add .' to mustquote chars (and match the binary default) -changequote([, ])dnl -define([confMUST_QUOTE_CHARS], [.'])dnl -changequote(`, ')dnl -dnl # -dnl # Default in 8.10+, used to be false (iirc), deprecated -define(`confME_TOO', `True')dnl -dnl # -dnl # Set the default user/group for mailers (mail:mail) -dnl # this should help NIS startup time -dnl # -define(`confDEF_USER_ID', `mail:mail')dnl -dnl # -dnl #--------------------------------------------------------------------- -dnl # mailer paths and options -dnl #--------------------------------------------------------------------- -define(`LOCAL_MAILER_PATH', `/usr/sbin/sensible-mda')dnl -define(`LOCAL_MAILER_ARGS', `sensible-mda $g $u $h ${client_addr}')dnl -MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl #do keep root -MODIFY_MAILER_FLAGS(`LOCAL', `-r')dnl #do not munge args -MODIFY_MAILER_FLAGS(`LOCAL', `-m')dnl #do not try LMTP -define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl -define(`PROCMAIL_MAILER_ARGS', `procmail -m $h $f $u')dnl -define(`USENET_MAILER_PATH', `/usr/bin/inews')dnl -define(`UUCP_MAILER_ARGS',`uux - -r -z -a$g -gC $h!rmail ($u)')dnl -dnl define(`confDEF_CHAR_SET', `iso-8859-1')dnl -dnl # -dnl # Optional items (should be a subset site.config.m4 used for build) -dnl # to prevent sendmail error messages -dnl # -dnl #--------------------------------------------------------------------- -dnl # IPv6 support (new option for 8.12+) -dnl # IPv6 causes problems for some DNS servers, work around them -dnl #--------------------------------------------------------------------- -ifelse(sm_enable_ipv6, `yes',dnl -`ifelse(eval(sm_version_math >= 527360), `1',dnl -`define(`confBIND_OPTS', `+WorkAroundBrokenAAAA')dnl')') -dnl # -dnl #--------------------------------------------------------------------- -dnl # Milter (8.10.0-8.11.0) built-in with 8.12.0+ -dnl #--------------------------------------------------------------------- -ifelse(sm_enable_milter, `yes',dnl -`define(`_FFR_MILTER')dnl') -# -#------------------------------------------------------------------------- -# -# Undocumented features are available in Debian Sendmail 8.14.2-1. -# * none -# -# _FFR_ features are available in Debian Sendmail 8.14.2-1. -ifelse(sm_enable_milter, `yes',dnl -`# * milter') -# * sm_ffr -#------------------------------------------------------------------------- -# -# These _FFR_ features are for sendmail.mc processing -# - define(`_FFR_MAIL_MACRO') -#------------------------------------------------------------------------- |