summaryrefslogtreecommitdiff
path: root/debian/examples
diff options
context:
space:
mode:
authorRichard A Nelson (Rick) <cowboy@debian.org>2007-11-23 22:02:00 +0000
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 20:07:34 +0200
commitd920c2bbf44af5fa0af8d4112290cb55a0de3c94 (patch)
tree89e7f6bd71eb51c4de65da605366eefcd87affbe /debian/examples
parente2c9ad1abeb477b91d72eaa49080e255de79c907 (diff)
downloadsendmail-d920c2bbf44af5fa0af8d4112290cb55a0de3c94.tar.gz
Imported Debian patch 8.14.2-2debian/8.14.2-2
Diffstat (limited to 'debian/examples')
-rw-r--r--debian/examples/Makefile653
-rw-r--r--debian/examples/dhcp3/dhclient-exit-hooks.d/sendmail49
-rw-r--r--debian/examples/network/if-down.d/sendmail42
-rw-r--r--debian/examples/network/if-up.d/sendmail63
-rw-r--r--debian/examples/ppp/ip-down.d/sendmail47
-rw-r--r--debian/examples/ppp/ip-up.d/sendmail57
-rw-r--r--debian/examples/resolvconf/update-libc.d/sendmail13
-rw-r--r--debian/examples/sasl/sasl.m481
-rw-r--r--debian/examples/tls/starttls.m461
9 files changed, 0 insertions, 1066 deletions
diff --git a/debian/examples/Makefile b/debian/examples/Makefile
deleted file mode 100644
index 9216a2c..0000000
--- a/debian/examples/Makefile
+++ /dev/null
@@ -1,653 +0,0 @@
-# Makefile.in generated by automake 1.10 from Makefile.am.
-# examples/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 = examples
-DIST_COMMON = $(dist_man_MANS) $(dist_sbin_SCRIPTS) \
- $(nobase_dist_sysconf_DATA) $(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 =
-am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" \
- "$(DESTDIR)$(sysconfdir)"
-dist_sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT)
-SCRIPTS = $(dist_sbin_SCRIPTS)
-SOURCES =
-DIST_SOURCES =
-man8dir = $(mandir)/man8
-NROFF = nroff
-MANS = $(dist_man_MANS)
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-nobase_dist_sysconfDATA_INSTALL = $(install_sh_DATA)
-DATA = $(nobase_dist_sysconf_DATA)
-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/examples
-abs_srcdir = /home/src/sendmail/sendmail-8.14.2/debian/examples
-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.
-#
-# examples/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 programs
-#
-dist_sbin_SCRIPTS = checksendmail/checksendmail
-#
-# Shipped manpages
-#
-dist_man_MANS = checksendmail/checksendmail.8
-#
-# Shipped data
-#
-# Installed example subdirectories
-EXAMPLES_DIRS = amavis db dhcp3 \
- ldap logcheck milter network \
- pam.d ppp resolvconf sasl tls
-
-#
-# Sigh... I wanted to use sysconf_SCRIPTS, but automake says NO!
-nobase_dist_sysconf_DATA = dhcp3/dhclient-exit-hooks.d/sendmail \
- logcheck/ignore.d.paranoid/sendmail \
- logcheck/ignore.d.server/sendmail \
- logcheck/ignore.d.workstation/sendmail \
- logcheck/violations.ignore.d/logcheck-sendmail \
- network/if-down.d/sendmail network/if-post-down.d/sendmail \
- network/if-up.d/sendmail pam.d/smtp ppp/ip-down.d/sendmail \
- ppp/ip-up.d/sendmail resolvconf/update-libc.d/sendmail
-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 examples/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu examples/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
-install-dist_sbinSCRIPTS: $(dist_sbin_SCRIPTS)
- @$(NORMAL_INSTALL)
- test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
- @list='$(dist_sbin_SCRIPTS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f $$d$$p; then \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " $(dist_sbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
- $(dist_sbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sbindir)/$$f"; \
- else :; fi; \
- done
-
-uninstall-dist_sbinSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(dist_sbin_SCRIPTS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
- rm -f "$(DESTDIR)$(sbindir)/$$f"; \
- done
-install-man8: $(man8_MANS) $(man_MANS)
- @$(NORMAL_INSTALL)
- test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
- @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.8*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
- else file=$$i; fi; \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 8*) ;; \
- *) ext='8' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
- done
-uninstall-man8:
- @$(NORMAL_UNINSTALL)
- @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.8*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 8*) ;; \
- *) ext='8' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
- rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
- done
-install-nobase_dist_sysconfDATA: $(nobase_dist_sysconf_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
- @$(am__vpath_adj_setup) \
- list='$(nobase_dist_sysconf_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- $(am__vpath_adj) \
- echo " $(nobase_dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
- $(nobase_dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
- done
-
-uninstall-nobase_dist_sysconfDATA:
- @$(NORMAL_UNINSTALL)
- @$(am__vpath_adj_setup) \
- list='$(nobase_dist_sysconf_DATA)'; for p in $$list; do \
- $(am__vpath_adj) \
- echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
- rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
- done
-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 $(SCRIPTS) $(MANS) $(DATA)
-installdirs:
- for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(sysconfdir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-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: install-man
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
-
-install-dvi: install-dvi-am
-
-install-exec-am: install-dist_sbinSCRIPTS \
- install-nobase_dist_sysconfDATA
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man: install-man8
-
-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: uninstall-dist_sbinSCRIPTS uninstall-man \
- uninstall-nobase_dist_sysconfDATA
-
-uninstall-man: uninstall-man8
-
-.MAKE: install-am install-data-am install-exec-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-dist_sbinSCRIPTS install-dvi \
- install-dvi-am install-exec install-exec-am install-exec-hook \
- install-html install-html-am install-info install-info-am \
- install-man install-man8 install-nobase_dist_sysconfDATA \
- 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 \
- uninstall-dist_sbinSCRIPTS uninstall-man uninstall-man8 \
- uninstall-nobase_dist_sysconfDATA
-
-#
-# Local customisation... not automake friendly
-#
-install-data-hook:
- $(INSTALL) -d ${DESTDIR}${pkgdatadir}/examples;
- for dir in ${EXAMPLES_DIRS}; do \
- $(INSTALL) -d ${DESTDIR}${pkgdatadir}/examples/$$dir; \
- find $$dir -type f \
- ! -name '*.in' -a ! -name '*.am' -a ! -name '*.old' \
- | xargs -ri \
- $(INSTALL_DATA) '{}' ${DESTDIR}${pkgdatadir}/examples/'{}'; \
- done;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/milter/Makefile;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/dhcp3/dhclient-exit-hooks.d/sendmail;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/network/if-down.d/sendmail;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/network/if-post-down.d/sendmail;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/network/if-up.d/sendmail;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/ppp/ip-down.d/sendmail;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/ppp/ip-up.d/sendmail;
- chmod a+rx ${DESTDIR}${pkgdatadir}/examples/resolvconf/update-libc.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/dhcp3/dhclient-exit-hooks.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/network/if-down.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/network/if-post-down.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/network/if-up.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/ppp/ip-down.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/ppp/ip-up.d/sendmail;
- chmod a+rx ${DESTDIR}${sysconfdir}/resolvconf/update-libc.d/sendmail;
- $(INSTALL_DATA) checksendmail/address.resolve \
- ${DESTDIR}${sysconfdir}/mail/;
-install-exec-hook:
- sed -e "s?/etc/sendmail.cf?${sysconfdir}/mail/sendmail.cf?g" \
- -e "s?address.resolve?${sysconfdir}/mail/address.resolve?g" \
- checksendmail/checksendmail \
- > ${DESTDIR}${sbindir}/checksendmail;
- chmod 0755 ${DESTDIR}${sbindir}/checksendmail;
- if [ -f ${top_srcdir}/../${buildtree}/contrib/buildvirtuser ]; then \
- $(INSTALL_SCRIPT) ${top_srcdir}/../${buildtree}/contrib/buildvirtuser \
- ${DESTDIR}${pkgdatadir}/; \
- fi;
- sed 's?/bin/perl?/usr/bin/perl?g' \
- ${top_srcdir}/../${buildtree}/contrib/passwd-to-alias.pl \
- > ${DESTDIR}${pkgdatadir}/examples/passwd-to-alias;
- chmod 0755 ${DESTDIR}${pkgdatadir}/examples/passwd-to-alias;
- sed -e 's?/usr/local/bin/perl?/usr/bin/perl?g' \
- -e "s?/etc/sendmail.cf?${sysconfdir}/mail/sendmail.cf?g" \
- ${top_srcdir}/../${buildtree}/contrib/etrn.pl \
- > ${DESTDIR}${sbindir}/etrn;
- chmod 0755 ${DESTDIR}${sbindir}/etrn;
- if [ -f ${top_srcdir}/../${buildtree}/contrib/etrn.0 ]; then \
- sed -e 's?/usr/local/bin/perl?/usr/bin/perl?g' \
- -e 's?etrn(1M)?etrn(8)?g' \
- ${top_srcdir}/../${buildtree}/contrib/etrn.0 \
- > ${DESTDIR}${mandir}/man8/etrn.8; \
- else \
- sed -e 's?/usr/local/bin/perl?/usr/bin/perl?g' \
- -e 's?etrn(1M)?etrn(8)?g' \
- ${top_srcdir}/../${buildtree}/contrib/etrn.pl \
- > ${DESTDIR}${mandir}/man8/etrn.8; \
- fi;
- sed -e 's?/usr/local/bin/perl?/usr/bin/perl?g' \
- ${top_srcdir}/../${buildtree}/contrib/expn.pl \
- > ${DESTDIR}${bindir}/expn;
- chmod 0755 ${DESTDIR}${bindir}/expn;
- sed -e 's?/usr/local/bin/perl?/usr/bin/perl?g' \
- ${top_srcdir}/../${buildtree}/contrib/expn.pl \
- > ${DESTDIR}${mandir}/man1/expn.1;
- sed -e 's?/usr/local/bin/perl?/usr/bin/perl?g' \
- -e 's?/usr/sbin/sendmail -q30m -bd?/etc/init.d/sendmail start?g' \
- ${top_srcdir}/../${buildtree}/contrib/smcontrol.pl \
- > ${DESTDIR}${pkgdatadir}/smcontrol.pl;
- chmod 0755 ${DESTDIR}${pkgdatadir}/smcontrol.pl;
- $(INSTALL_SCRIPT) ${top_srcdir}/../${buildtree}/contrib/doublebounce.pl \
- ${DESTDIR}${pkgdatadir};
- if [ -f ${top_srcdir}/../${buildtree}/contrib/qtool.pl ]; then \
- sed -e 's?/usr/bin/env perl?/usr/bin/perl?g' \
- ${top_srcdir}/../${buildtree}/contrib/qtool.pl \
- > ${DESTDIR}${pkgdatadir}/qtool.pl; \
- chmod 0755 ${DESTDIR}${datadir}/sendmail/qtool.pl; \
- $(INSTALL_DATA) ${top_srcdir}/../${buildtree}/contrib/qtool.8 \
- ${DESTDIR}${mandir}/man8/; \
- 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/examples/dhcp3/dhclient-exit-hooks.d/sendmail b/debian/examples/dhcp3/dhclient-exit-hooks.d/sendmail
deleted file mode 100644
index 7135a80..0000000
--- a/debian/examples/dhcp3/dhclient-exit-hooks.d/sendmail
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# This script is called when a dhcp event occurs.
-#
-# Here is where we'll start/stop sendmail if needed.
-#
-# Written By Richard Nelson <cowboy@debian.org>
-#
-# NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc:
-# include(`/etc/mail/dialup.m4')dnl
-# include(`/etc/mail/provider.m4')dnl
-#
-# NOTE: The dhcp DNS name is used as the peer name in /etc/mail/peers.
-#
-
-# No need to continue if we're called with an unsupported option
-case "$reason" in
- EXPIRE|FAIL|RELEASE|STOP) #down... and TIMEOUT too ???
- ;;
- BOUND|RENEW|REBIND|REBOOT|TIMEOUT) #up... why TIMEOUT here ???
- ;;
- *)
- return;
- ;;
- esac;
-
-# Bring in some script functions to handle dynamic configuration
-. /usr/share/sendmail/dynamic;
-
-# Note the interface that just changed
-update_interface "$interface" "$reason";
-
-# If the domain name has changed, update the provider information
-if [ "$new_domain_name" != "$old_domain_name" ]; then
- update_provider "$new_domain_name";
- fi;
-
-# If the ip address has changed, update the host information
-if [ "$new_ip_address" != "$oldnew_ip_address" ]; then
- update_host "$new_ip_address";
- fi;
-
-# If anything has been changed, update sendmail.cf and reload
-# Actually, we'll delay the reload because we'll be hit in a moment
-# to handle the change by /etc/network/if-up.d/sendmail
-update_sendmail "dhcp" Delayed;
-
-return;
-
diff --git a/debian/examples/network/if-down.d/sendmail b/debian/examples/network/if-down.d/sendmail
deleted file mode 100644
index 5cb9322..0000000
--- a/debian/examples/network/if-down.d/sendmail
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# This script is called when a network device goes down.
-#
-# Here is where we'll stop sendmail if needed
-#
-# Written By Richard Nelson <cowboy@debian.org>
-#
-# NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc:
-# include(`/etc/mail/dialup.m4')dnl
-# include(`/etc/mail/provider.m4')dnl
-#
-
-# These variables are for the use of the scripts run by run-parts
-#IFACE=;
-#IF_ADDRESS=;
-#IF_PROVIDER=;
-
-if [ ! -z "$IFACE" ]; then
- addr=$IF_ADDRESS;
- provider=$IF_PROVIDER;
- iface=$IFACE;
-else
- addr=$1;
- provider=$2;
- iface=$3;
- fi;
-
-if [ -z "$provider" ]; then
- exit 0;
- fi;
-
-# Bring in some script functions to handle dynamic configuration
-. /usr/share/sendmail/dynamic;
-
-# Note the interface that just changed
-update_interface "$iface" "STOP";
-
-# If anything has been changed, update sendmail.cf and reload
-update_sendmail "ifupdown";
-
-exit 0;
diff --git a/debian/examples/network/if-up.d/sendmail b/debian/examples/network/if-up.d/sendmail
deleted file mode 100644
index e6aa213..0000000
--- a/debian/examples/network/if-up.d/sendmail
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-#
-# This script is called when a network device comes up.
-#
-# Here is where we'll start sendmail if needed.
-#
-# Written By Richard Nelson <cowboy@debian.org>
-#
-# NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc:
-# include(`/etc/mail/dialup.m4')dnl
-# include(`/etc/mail/provider.m4')dnl
-#
-# ALSO: make sure to use a 'provider <isp>' tag in /etc/network/interfaces
-# it will be used as the name of a file in /etc/mail/peers
-# If you don't use provider, we'll use DNS_DOMAIN, or lacking that,
-# the first entry in DNS_SEARCH
-#
-
-
-# These variables are for the use of the scripts run by run-parts
-#IFACE=; <-- ifupdown
-#IF_ADDRESS=; <-- ifupdown
-#IF_PROVIDER=; <-- sendmail specific
-#IF_DNS_DOMAIN=; <-- resolvconf
-#IF_DNS_SEARCH=; <-- resolvconf
-
-if [ ! -z "$IFACE" ]; then
- addr=$IF_ADDRESS;
- if [ -n "$IF_PROVIDER" ]; then
- provider="$IF_PROVIDER";
- elif [ -n "$IF_DNS_DOMAIN" ]; then
- provider="$IF_DNS_DOMAIN";
- elif [ -n "$IF_DNS_SEARCH" ]; then
- provider=$(echo "$IF_DNS_SEARCH" | /usr/bin/cut -d' ' -f 1);
- fi;
- iface=$IFACE;
-else
- addr=$1;
- provider=$2;
- iface=$3;
- fi;
-
-# Bring in some script functions to handle dynamic configuration
-. /usr/share/sendmail/dynamic;
-
-# Note the interface that just changed
-update_interface "$iface" "BOUND";
-
-# If the domain name has changed, update the provider information
-if [ -n "$provider" ]; then
- update_provider "$provider";
- fi;
-
-# If the ip address has changed, update the host information
-if [ -n "$addr" ]; then
- update_host "$addr";
- fi;
-
-# If anything has been changed, update sendmail.cf and reload
-update_sendmail "ifupdown";
-
-exit 0;
-
diff --git a/debian/examples/ppp/ip-down.d/sendmail b/debian/examples/ppp/ip-down.d/sendmail
deleted file mode 100644
index 8b4188e..0000000
--- a/debian/examples/ppp/ip-down.d/sendmail
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# This script is called when ppp disconnects from the network.
-#
-# Here is where we'll stop sendmail if needed
-#
-# Written By Richard Nelson <cowboy@debian.org>
-#
-# NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc:
-# include(`/etc/mail/dialup.m4')dnl
-# include(`/etc/mail/provider.m4')dnl
-#
-
-# These variables are for the use of the scripts run by run-parts
-#PPP_IFACE="$1";
-#PPP_TTY="$2";
-#PPP_SPEED="$3";
-#PPP_LOCAL="$4";
-#PPP_REMOTE="$5";
-#PPP_IPPARAM="$6";
-
-if [ ! -z "$PPP_LOCAL" ]; then
- addr=$PPP_LOCAL;
- provider=$PPP_IPPARAM;
- iface=$PPP_IFACE;
-else
- addr=$1;
- provider=$2;
- iface=$3;
- fi;
-
-if [ -z "$provider" ]; then
- exit 0;
- fi;
-
-# Bring in some script functions to handle dynamic configuration
-. /usr/share/sendmail/dynamic;
-
-# Note the interface that just changed
-update_interface "$iface" "STOP";
-
-# If anything has been changed, update sendmail.cf and reload
-# Actually, we'll delay the reload because we'll be hit in a moment
-# to handle the change by /etc/network/if-up.d/sendmail
-update_sendmail "ppp" Delayed;
-
-exit 0;
diff --git a/debian/examples/ppp/ip-up.d/sendmail b/debian/examples/ppp/ip-up.d/sendmail
deleted file mode 100644
index 2ec9854..0000000
--- a/debian/examples/ppp/ip-up.d/sendmail
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# This script is called when ppp connects to the network.
-#
-# Here is where we'll start sendmail if needed.
-#
-# Written By Richard Nelson <cowboy@debian.org>
-#
-# NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc:
-# include(`/etc/mail/dialup.m4')dnl
-# include(`/etc/mail/provider.m4')dnl
-#
-# ALSO: make sure ipparam is specified somewhere in the ppp options;
-# it will be used as the name of a file in /etc/mail/peers
-#
-
-# Define our domain name (from PPP) for sendmail.
-
-# These variables are for the use of the scripts run by run-parts
-#PPP_IFACE="$1";
-#PPP_TTY="$2";
-#PPP_SPEED="$3";
-#PPP_LOCAL="$4";
-#PPP_REMOTE="$5";
-#PPP_IPPARAM="$6";
-
-if [ ! -z "$PPP_LOCAL" ]; then
- addr=$PPP_LOCAL;
- provider=$PPP_IPPARAM;
- iface=$PPP_IFACE;
-else
- addr=$1;
- provider=$2;
- iface=$3;
- fi;
-
-if [ -z "$provider" ]; then
- exit 0;
- fi;
-
-# Bring in some script functions to handle dynamic configuration
-. /usr/share/sendmail/dynamic;
-
-# Note the interface that just changed
-update_interface "$iface" "BOUND";
-
-# If the domain name has changed, update the provider information
-update_provider "$provider";
-
-# If the ip address has changed, update the host information
-update_host "$addr";
-
-# If anything has been changed, update sendmail.cf and reload
-update_sendmail "ppp";
-
-exit 0;
-
diff --git a/debian/examples/resolvconf/update-libc.d/sendmail b/debian/examples/resolvconf/update-libc.d/sendmail
deleted file mode 100644
index 31a1638..0000000
--- a/debian/examples/resolvconf/update-libc.d/sendmail
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# Make sendmail aware of changes to resolv.conf
-# so that we can reset the statistics for unresolvable hostnames
-
-# Bring in some script functions to handle dynamic configuration
-. /usr/share/sendmail/dynamic;
-
-# Note the interface that just changed - unfortunately, we know not how :(
-update_resolv;
-
-# If anything has been changed, update sendmail.cf and reload
-update_sendmail;
diff --git a/debian/examples/sasl/sasl.m4 b/debian/examples/sasl/sasl.m4
deleted file mode 100644
index 32c70ff..0000000
--- a/debian/examples/sasl/sasl.m4
+++ /dev/null
@@ -1,81 +0,0 @@
-divert(-1)dnl
-#-----------------------------------------------------------------------------
-# $Sendmail: sasl.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $
-#
-# Copyright (c) 2003-2007 Richard Nelson. All Rights Reserved.
-#
-# examples/sasl/sasl.m4. Generated from sasl.m4.in by configure.
-#
-# sasl.m4 m4 file to support user->MTA, MSP->MTA, and MTA->MTA
-# encryption and/or authentication.
-#
-# To use this file, add this line to sendmail.mc and possibly submit.mc:
-# `include(`/etc/mail/sasl/sasl.m4')dnl'
-#
-#-----------------------------------------------------------------------------
-#
-divert(0)dnl
-VERSIONID(`$Id: sasl.m4, v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $')
-dnl #
-dnl #---------------------------------------------------------------------
-dnl # Bring in Autoconf results
-dnl #---------------------------------------------------------------------
-ifdef(`sm_version', `dnl' ,
-`include(`/usr/share/sendmail/cf/debian/autoconf.m4')')dnl
-dnl #
-dnl #---------------------------------------------------------------------
-dnl # SMTP AUTH (SASL) support (sendmail 8.10.0 +)
-dnl # PLAIN/LOGIN needed to support SASL auth via PAM ;(
-dnl # if this bothers you, you allow them only in conjunction w/STARTTLS !
-dnl #---------------------------------------------------------------------
-ifelse(eval(sm_version_math >= 526848), `1', `dnl
-ifelse(sm_enable_auth, `yes', `dnl
-dnl #
-dnl # Set a more reasonable timeout on negotiation
-dnl #
-define(`confTO_AUTH', `2m')dnl # , def=10m
-dnl #
-dnl # Do not touch anything above this line...
-dnl #
-dnl # Available Authentication methods
-dnl #
-define(`confAUTH_MECHANISMS',dnl
-`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
-dnl #
-dnl # These, we will trust for relaying
-dnl #
-TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')
-dnl #
-dnl # for 8.12.0+, add EXTERNAL as an available & trusted mech (w/STARTTLS)
-dnl # and allow sharing of /etc/sasldb(2) file, allow group read/write
-dnl #
-ifelse(eval(sm_version_math >= 527360), `1', `dnl
-define(`confAUTH_MECHANISMS',dnl
-`EXTERNAL 'defn(`confAUTH_MECHANISMS'))dnl
-TRUST_AUTH_MECH(`EXTERNAL')
-define(`confDONT_BLAME_SENDMAIL',dnl
-defn(`confDONT_BLAME_SENDMAIL')`,GroupReadableSASLDBFile,GroupWritableSASLDBFile')dnl
-')dnl
-dnl #
-dnl # To support SMTP AUTH in `sendmail -bs' :
-dnl # Sigh: SASLV1 MSP AUTH does not work in -bs mode (/etc/sasldb !o+r)
-dnl # so, we have the MSP not use Auth (or ETRN)
-dnl # SASLV2 (w/saslauth) chose to prohibit user authentication - it can
-dnl # be made to work by:
-dnl # 1) changing /etc/sasldb2 {root,sasl,smmta}:smmsp 0660
-dnl # 2) dpkg-statoverride --remove /var/run/saslauthd
-dnl # 3) dpkg-statoverride --add root sasl 711 /var/run/saslauthd
-dnl #
-ifelse(eval(sm_auth_lib < 2), `1', `dnl
-ifdef(`DEBIAN_MSP', `dnl
-ifelse(defn(`_DPO_'), `', `dnl
-DAEMON_OPTIONS(`Name=NoMTA, Addr=0.0.0.0, M=EA')dnl
-')')')dnl
-dnl #
-dnl # Define the REALM passed to sasl (8.13.0+)
-ifelse(eval(sm_version_math >= 527616), `1', `dnl
-dnl define(`confAUTH_REALM', `')dnl # Fill this in and uncomment it
-')dnl
-dnl #
-dnl # Do not touch anything below this line...
-')')dnl
diff --git a/debian/examples/tls/starttls.m4 b/debian/examples/tls/starttls.m4
deleted file mode 100644
index f6f8ddb..0000000
--- a/debian/examples/tls/starttls.m4
+++ /dev/null
@@ -1,61 +0,0 @@
-divert(-1)dnl
-#-----------------------------------------------------------------------------
-# $Sendmail: starttls.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $
-#
-# Copyright (c) 2002-2007 Richard Nelson. All Rights Reserved.
-#
-# examples/tls/starttls.m4. Generated from starttls.m4.in by configure.
-#
-# starttls.m4 m4 file to support user->MTA, MSP->MTA, and MTA->MTA
-# encryption and/or authentication.
-#
-# To use this file, add this line to sendmail.mc and possibly submit.mc:
-# `include(`/etc/mail/tls/starttls.m4')dnl'
-#
-#-----------------------------------------------------------------------------
-#
-divert(0)dnl
-VERSIONID(`$Id: starttls.m4,v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $')
-dnl #
-dnl #---------------------------------------------------------------------
-dnl # Bring in Autoconf results
-dnl #---------------------------------------------------------------------
-ifdef(`sm_version', `dnl',
-`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl')
-dnl #
-dnl # Check to see if inclusion is valid (version >= 8.11.0, tls enabled)
-ifelse(eval(sm_version_math >= 527104), `1', `dnl
-ifelse(sm_enable_tls, `yes', `dnl
-dnl #
-dnl # To support shared keyfiles, we need it to be group readable
-dnl #
-define(`confDONT_BLAME_SENDMAIL',dnl
- defn(`confDONT_BLAME_SENDMAIL')`,GroupReadableKeyFile')dnl
-dnl #
-dnl # Set a more reasonable timeout on negotiation
-dnl #
-define(`confTO_STARTTLS', `2m')dnl # , def=10m
-dnl #
-dnl # Do not touch anything above this line...
-dnl #
-dnl # CA directory - CA certs should be herein
-define(`confCACERT_PATH', `/etc/ssl/certs')dnl
-dnl #
-dnl # CA file (may be the same as client/server certificate)
-define(`confCACERT', `/etc/mail/tls/sendmail-server.crt')dnl
-dnl #
-dnl # Server certificate/key (can be in the same file, and shared w/client)
-dnl # NOTE: The key must *NOT* be encrypted !!!
-define(`confSERVER_CERT', `/etc/mail/tls/sendmail-server.crt')dnl
-define(`confSERVER_KEY', `/etc/mail/tls/sendmail-common.key')dnl
-dnl #
-dnl # Clien certificate/key (can be in the same file, and shared w/server)
-dnl # NOTE: The key must *NOT* be encrypted !!!
-define(`confCLIENT_CERT', `/etc/mail/tls/sendmail-client.crt')dnl
-define(`confCLIENT_KEY', `/etc/mail/tls/sendmail-common.key')dnl
-dnl #
-dnl # Optional settings
-define(`confTLS_SRV_OPTIONS', `V')dnl # do not request user certs
-dnl #
-dnl # Do not touch anything below this line...
-')')dnl