summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/cf/feature
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/cf/feature')
-rw-r--r--contrib/sendmail/cf/feature/accept_unqualified_senders.m416
-rw-r--r--contrib/sendmail/cf/feature/accept_unresolvable_domains.m416
-rw-r--r--contrib/sendmail/cf/feature/access_db.m449
-rw-r--r--contrib/sendmail/cf/feature/allmasquerade.m425
-rw-r--r--contrib/sendmail/cf/feature/always_add_domain.m422
-rw-r--r--contrib/sendmail/cf/feature/authinfo.m422
-rw-r--r--contrib/sendmail/cf/feature/badmx.m422
-rw-r--r--contrib/sendmail/cf/feature/bestmx_is_local.m451
-rw-r--r--contrib/sendmail/cf/feature/bitdomain.m425
-rw-r--r--contrib/sendmail/cf/feature/blacklist_recipients.m419
-rw-r--r--contrib/sendmail/cf/feature/block_bad_helo.m418
-rw-r--r--contrib/sendmail/cf/feature/compat_check.m433
-rw-r--r--contrib/sendmail/cf/feature/conncontrol.m436
-rw-r--r--contrib/sendmail/cf/feature/delay_checks.m425
-rw-r--r--contrib/sendmail/cf/feature/dnsbl.m439
-rw-r--r--contrib/sendmail/cf/feature/domaintable.m425
-rw-r--r--contrib/sendmail/cf/feature/enhdnsbl.m453
-rw-r--r--contrib/sendmail/cf/feature/generics_entire_domain.m416
-rw-r--r--contrib/sendmail/cf/feature/genericstable.m425
-rw-r--r--contrib/sendmail/cf/feature/greet_pause.m444
-rw-r--r--contrib/sendmail/cf/feature/ldap_routing.m446
-rw-r--r--contrib/sendmail/cf/feature/limited_masquerade.m419
-rw-r--r--contrib/sendmail/cf/feature/local_lmtp.m428
-rw-r--r--contrib/sendmail/cf/feature/local_no_masquerade.m418
-rw-r--r--contrib/sendmail/cf/feature/local_procmail.m436
-rw-r--r--contrib/sendmail/cf/feature/lookupdotdomain.m422
-rw-r--r--contrib/sendmail/cf/feature/loose_relay_check.m416
-rw-r--r--contrib/sendmail/cf/feature/mailertable.m425
-rw-r--r--contrib/sendmail/cf/feature/masquerade_entire_domain.m419
-rw-r--r--contrib/sendmail/cf/feature/masquerade_envelope.m419
-rw-r--r--contrib/sendmail/cf/feature/msp.m478
-rw-r--r--contrib/sendmail/cf/feature/mtamark.m433
-rw-r--r--contrib/sendmail/cf/feature/no_default_msa.m416
-rw-r--r--contrib/sendmail/cf/feature/nocanonify.m424
-rw-r--r--contrib/sendmail/cf/feature/notsticky.m421
-rw-r--r--contrib/sendmail/cf/feature/nouucp.m427
-rw-r--r--contrib/sendmail/cf/feature/nullclient.m438
-rw-r--r--contrib/sendmail/cf/feature/preserve_local_plus_detail.m416
-rw-r--r--contrib/sendmail/cf/feature/preserve_luser_host.m420
-rw-r--r--contrib/sendmail/cf/feature/promiscuous_relay.m419
-rw-r--r--contrib/sendmail/cf/feature/queuegroup.m427
-rw-r--r--contrib/sendmail/cf/feature/ratecontrol.m436
-rw-r--r--contrib/sendmail/cf/feature/redirect.m426
-rw-r--r--contrib/sendmail/cf/feature/relay_based_on_MX.m421
-rw-r--r--contrib/sendmail/cf/feature/relay_entire_domain.m416
-rw-r--r--contrib/sendmail/cf/feature/relay_hosts_only.m416
-rw-r--r--contrib/sendmail/cf/feature/relay_local_from.m420
-rw-r--r--contrib/sendmail/cf/feature/relay_mail_from.m423
-rw-r--r--contrib/sendmail/cf/feature/require_rdns.m416
-rw-r--r--contrib/sendmail/cf/feature/smrsh.m426
-rw-r--r--contrib/sendmail/cf/feature/stickyhost.m419
-rw-r--r--contrib/sendmail/cf/feature/use_client_ptr.m421
-rw-r--r--contrib/sendmail/cf/feature/use_ct_file.m424
-rw-r--r--contrib/sendmail/cf/feature/use_cw_file.m425
-rw-r--r--contrib/sendmail/cf/feature/uucpdomain.m425
-rw-r--r--contrib/sendmail/cf/feature/virtuser_entire_domain.m416
-rw-r--r--contrib/sendmail/cf/feature/virtusertable.m425
57 files changed, 0 insertions, 1503 deletions
diff --git a/contrib/sendmail/cf/feature/accept_unqualified_senders.m4 b/contrib/sendmail/cf/feature/accept_unqualified_senders.m4
deleted file mode 100644
index 4c39884..0000000
--- a/contrib/sendmail/cf/feature/accept_unqualified_senders.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: accept_unqualified_senders.m4,v 8.6 1999/02/07 07:26:07 gshapiro Exp $')
-divert(-1)
-
-define(`_ACCEPT_UNQUALIFIED_SENDERS_', 1)
diff --git a/contrib/sendmail/cf/feature/accept_unresolvable_domains.m4 b/contrib/sendmail/cf/feature/accept_unresolvable_domains.m4
deleted file mode 100644
index a54507c..0000000
--- a/contrib/sendmail/cf/feature/accept_unresolvable_domains.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: accept_unresolvable_domains.m4,v 8.10 1999/02/07 07:26:07 gshapiro Exp $')
-divert(-1)
-
-define(`_ACCEPT_UNRESOLVABLE_DOMAINS_', 1)
diff --git a/contrib/sendmail/cf/feature/access_db.m4 b/contrib/sendmail/cf/feature/access_db.m4
deleted file mode 100644
index 8aa90c8..0000000
--- a/contrib/sendmail/cf/feature/access_db.m4
+++ /dev/null
@@ -1,49 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2002, 2004, 2006 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: access_db.m4,v 8.27 2006/07/06 21:10:10 ca Exp $')
-divert(-1)
-
-define(`_ACCESS_TABLE_', `')
-define(`_TAG_DELIM_', `:')dnl should be in OperatorChars
-ifelse(lower(_ARG2_),`skip',`define(`_ACCESS_SKIP_', `1')')
-ifelse(lower(_ARG2_),`lookupdotdomain',`define(`_LOOKUPDOTDOMAIN_', `1')')
-ifelse(lower(_ARG2_),`relaytofulladdress',`define(`_RELAY_FULL_ADDR_', `1')')
-ifelse(lower(_ARG3_),`skip',`define(`_ACCESS_SKIP_', `1')')
-ifelse(lower(_ARG3_),`lookupdotdomain',`define(`_LOOKUPDOTDOMAIN_', `1')')
-ifelse(lower(_ARG3_),`relaytofulladdress',`define(`_RELAY_FULL_ADDR_', `1')')
-ifelse(lower(_ARG4_),`skip',`define(`_ACCESS_SKIP_', `1')')
-ifelse(lower(_ARG4_),`lookupdotdomain',`define(`_LOOKUPDOTDOMAIN_', `1')')
-ifelse(lower(_ARG4_),`relaytofulladdress',`define(`_RELAY_FULL_ADDR_', `1')')
-define(`_ATMPF_', `<TMPF>')dnl
-dnl check whether arg contains -T`'_ATMPF_
-dnl unless it is a sequence map
-ifelse(defn(`_ARG_'), `', `',
- defn(`_ARG_'), `LDAP', `',
- `ifelse(index(_ARG_, `sequence '), `0', `',
- `ifelse(index(_ARG_, _ATMPF_), `-1',
- `errprint(`*** WARNING: missing -T'_ATMPF_` in argument of FEATURE(`access_db',' defn(`_ARG_')`)
-')
- define(`_ABP_', index(_ARG_, ` '))
- define(`_NARG_', `substr(_ARG_, 0, _ABP_) -T'_ATMPF_` substr(_ARG_, _ABP_)')
- ')
- ')
- ')
-ifdef(`_GREET_PAUSE_',
- `errprint(`*** WARNING: FEATURE(`greet_pause') before FEATURE(`access_db')
- greet_pause will not use access_db!')')
-
-LOCAL_CONFIG
-# Access list database (for spam stomping)
-Kaccess ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE -T`'_ATMPF_ MAIL_SETTINGS_DIR`access',
- defn(`_ARG_'), `LDAP', `ldap -T`'_ATMPF_ -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=access)(sendmailMTAKey=%0))',
- defn(`_NARG_'), `', `_ARG_', `_NARG_')
diff --git a/contrib/sendmail/cf/feature/allmasquerade.m4 b/contrib/sendmail/cf/feature/allmasquerade.m4
deleted file mode 100644
index aa264f9..0000000
--- a/contrib/sendmail/cf/feature/allmasquerade.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: allmasquerade.m4,v 8.13 2000/09/12 22:00:53 ca Exp $')
-divert(-1)
-
-ifdef(`_MAILER_local_',
- `errprint(`*** MAILER(`local') must appear after FEATURE(`allmasquerade')')
-')dnl
-ifdef(`_MAILER_uucp_',
- `errprint(`*** MAILER(`uucp') must appear after FEATURE(`allmasquerade')')
-')dnl
-define(`_ALL_MASQUERADE_', 1)
diff --git a/contrib/sendmail/cf/feature/always_add_domain.m4 b/contrib/sendmail/cf/feature/always_add_domain.m4
deleted file mode 100644
index a29956a..0000000
--- a/contrib/sendmail/cf/feature/always_add_domain.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: always_add_domain.m4,v 8.11 2000/09/12 22:00:53 ca Exp $')
-divert(-1)
-
-ifdef(`_MAILER_local_',
- `errprint(`*** MAILER(`local') must appear after FEATURE(`always_add_domain')')
-')dnl
-define(`_ALWAYS_ADD_DOMAIN_', ifelse(len(X`'_ARG_),`1',`',_ARG_))
diff --git a/contrib/sendmail/cf/feature/authinfo.m4 b/contrib/sendmail/cf/feature/authinfo.m4
deleted file mode 100644
index 99dd6e9..0000000
--- a/contrib/sendmail/cf/feature/authinfo.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000-2002 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: authinfo.m4,v 1.9 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_AUTHINFO_TABLE_', `')
-
-LOCAL_CONFIG
-# authinfo list database: contains info for authentication as client
-Kauthinfo ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`authinfo',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=authinfo)(sendmailMTAKey=%0))',
- `_ARG_')
diff --git a/contrib/sendmail/cf/feature/badmx.m4 b/contrib/sendmail/cf/feature/badmx.m4
deleted file mode 100644
index dc0dc88..0000000
--- a/contrib/sendmail/cf/feature/badmx.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2006 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: badmx.m4,v 1.1 2006/12/16 00:56:32 ca Exp $')
-divert(-1)
-
-define(`_BADMX_CHK_', 1)
-
-LOCAL_CONFIG
-Kmxlist bestmx -z: -T<TEMP>
-Kbadmx regex -a<BADMX> ^(([0-9]{1,3}\.){3}[0-9]){0,1}\.$
-KdnsA dns -R A -a. -T<TEMP>
-KBadMXIP regex -a<BADMXIP> ifelse(defn(`_ARG_'), `', `^(127\.|10\.|0\.0\.0\.0)', `_ARG_')
diff --git a/contrib/sendmail/cf/feature/bestmx_is_local.m4 b/contrib/sendmail/cf/feature/bestmx_is_local.m4
deleted file mode 100644
index 911d2b5..0000000
--- a/contrib/sendmail/cf/feature/bestmx_is_local.m4
+++ /dev/null
@@ -1,51 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: bestmx_is_local.m4,v 8.26 2000/09/17 17:30:00 gshapiro Exp $')
-divert(-1)
-
-define(`_BESTMX_IS_LOCAL_', _ARG_)
-
-LOCAL_CONFIG
-# turn on bestMX lookup table
-Kbestmx bestmx
-ifelse(defn(`_ARG_'), `', `dnl',`
-# limit bestmx to these domains
-CB`'_ARG_')
-
-LOCAL_NET_CONFIG
-
-# If we are the best MX for a site, then we want to accept
-# its mail as local. We assume we've already weeded out mail to
-# UUCP sites which are connected to us, which should also have
-# listed us as their best MX.
-#
-# Warning: this may generate a lot of extra DNS traffic -- a
-# lower cost method is to list all the expected best MX hosts
-# in $=w. This should be fine (and easier to administer) for
-# low to medium traffic hosts. If you use the limited bestmx
-# by passing in a set of possible domains it will improve things.
-
-ifelse(defn(`_ARG_'), `', `dnl
-# unlimited bestmx
-R$* < @ $* > $* $: $1 < @ $2 @@ $(bestmx $2 $) > $3',
-`dnl
-# limit bestmx to $=B
-R$* < @ $* $=B . > $* $: $1 < @ $2 $3 . @@ $(bestmx $2 $3 . $) > $4')
-R$* $=O $* < @ $* @@ $=w . > $* $@ $>Recurse $1 $2 $3
-R< @ $* @@ $=w . > : $* $@ $>Recurse $3
-dnl we cannot use _LOCAL_ here since it is defined too late
-R$* < @ $* @@ $=w . > $* $@ $>CanonLocal < $1 >
-R$* < @ $* @@ $* > $* $: $1 < @ $2 > $4
diff --git a/contrib/sendmail/cf/feature/bitdomain.m4 b/contrib/sendmail/cf/feature/bitdomain.m4
deleted file mode 100644
index 2ff3fa6..0000000
--- a/contrib/sendmail/cf/feature/bitdomain.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: bitdomain.m4,v 8.30 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_BITDOMAIN_TABLE_', `')
-
-LOCAL_CONFIG
-# BITNET mapping table
-Kbitdomain ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`bitdomain',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=bitdomain)(sendmailMTAKey=%0))',
- `_ARG_')
diff --git a/contrib/sendmail/cf/feature/blacklist_recipients.m4 b/contrib/sendmail/cf/feature/blacklist_recipients.m4
deleted file mode 100644
index d6218d1..0000000
--- a/contrib/sendmail/cf/feature/blacklist_recipients.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: blacklist_recipients.m4,v 8.13 1999/04/02 02:25:13 gshapiro Exp $')
-divert(-1)
-
-ifdef(`_ACCESS_TABLE_',
- `define(`_BLACKLIST_RCPT_', 1)',
- `errprint(`*** ERROR: FEATURE(blacklist_recipients) requires FEATURE(access_db)
-')')
diff --git a/contrib/sendmail/cf/feature/block_bad_helo.m4 b/contrib/sendmail/cf/feature/block_bad_helo.m4
deleted file mode 100644
index 6f6d792..0000000
--- a/contrib/sendmail/cf/feature/block_bad_helo.m4
+++ /dev/null
@@ -1,18 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2006 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.
-#
-#
-
-divert(0)dnl
-VERSIONID(`$Id: block_bad_helo.m4,v 1.1 2006/06/15 22:49:30 ca Exp $')
-divert(-1)
-
-define(`_BLOCK_BAD_HELO_', `')dnl
-RELAY_DOMAIN(`127.0.0.1')dnl
-LOCAL_DOMAIN(`[127.0.0.1]')dnl
diff --git a/contrib/sendmail/cf/feature/compat_check.m4 b/contrib/sendmail/cf/feature/compat_check.m4
deleted file mode 100644
index a6125ed..0000000
--- a/contrib/sendmail/cf/feature/compat_check.m4
+++ /dev/null
@@ -1,33 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000-2002 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.
-#
-#
-divert(0)
-VERSIONID(`$Id: compat_check.m4,v 1.4 2002/02/26 22:15:31 gshapiro Exp $')
-divert(-1)
-ifdef(`_ACCESS_TABLE_', `',
-`errprint(`FEATURE(`compat_check') requires FEATURE(`access_db')
-')')
-
-LOCAL_RULESETS
-Scheck_compat
-# look up the pair of addresses
-# (we use <@> as the separator. Note this in the map too!)
-R< $+ > $| $+ $: $1 $| $2
-R$+ $| < $+ > $: $1 $| $2
-R$+ $| $+ $: <$(access Compat:$1<@>$2 $:OK $)>
-R$* $| $* $@ ok
-# act on the result,
-# it must be one of the following... anything else will be allowed..
-dnl for consistency with the other two even though discard does not take a
-dnl reply code
-R< DISCARD:$* > $#discard $: $1 " - discarded by check_compat"
-R< DISCARD $* > $#discard $: $1 " - discarded by check_compat"
-R< TEMP:$* > $#error $@ TEMPFAIL $: $1 " error from check_compat. Try again later"
-R< ERROR:$* > $#error $@ UNAVAILABLE $: $1 " error from check_compat"
diff --git a/contrib/sendmail/cf/feature/conncontrol.m4 b/contrib/sendmail/cf/feature/conncontrol.m4
deleted file mode 100644
index 87c23b0..0000000
--- a/contrib/sendmail/cf/feature/conncontrol.m4
+++ /dev/null
@@ -1,36 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2003, 2004 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: conncontrol.m4,v 1.4 2004/02/19 21:31:47 ca Exp $')
-
-divert(-1)
-ifdef(`_ACCESS_TABLE_', `
- define(`_CONN_CONTROL_', `1')
- ifelse(defn(`_ARG_'), `', `',
- strcasecmp(defn(`_ARG_'), `nodelay'), `1',
- `ifdef(`_DELAY_CHECKS_',
- `
- define(`_CONN_CONTROL_IMMEDIATE_', `1')
- define(`_CONTROL_IMMEDIATE_', `1')
- ',
- `errprint(`*** ERROR: FEATURE(`conncontrol', `nodelay') requires FEATURE(`delay_checks')')'
- )',
- `errprint(`*** ERROR: unknown parameter '"defn(`_ARG_')"` for FEATURE(`conncontrol')')')
- define(`_FFR_SRCHLIST_A', `1')
- ifelse(len(X`'_ARG2_), `1', `',
- _ARG2_, `terminate', `define(`_CONN_CONTROL_REPLY', `421')',
- `errprint(`*** ERROR: FEATURE(`conncontrol'): unknown argument '"_ARG2_"
-)'
- )
- ', `errprint(`*** ERROR: FEATURE(`conncontrol') requires FEATURE(`access_db')
-')')
-ifdef(`_CONN_CONTROL_REPLY',,`define(`_CONN_CONTROL_REPLY', `452')')
diff --git a/contrib/sendmail/cf/feature/delay_checks.m4 b/contrib/sendmail/cf/feature/delay_checks.m4
deleted file mode 100644
index 151df95..0000000
--- a/contrib/sendmail/cf/feature/delay_checks.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1999-2000 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: delay_checks.m4,v 8.8 2000/12/05 18:50:45 ca Exp $')
-divert(-1)
-
-define(`_DELAY_CHECKS_', 1)
-ifelse(defn(`_ARG_'), `', `',
- lower(substr(_ARG_,0,1)), `f', `define(`_SPAM_FRIEND_', 1) define(`_SPAM_FH_', 1)',
- lower(substr(_ARG_,0,1)), `h', `define(`_SPAM_HATER_', 1) define(`_SPAM_FH_', 1)',
- `errprint(`*** ERROR: illegal argument _ARG_ for FEATURE(delay_checks)
-')
- ')
-
-dnl be backward compatible by default
-ifelse(len(X`'_ARG2_), `1', `define(`_DELAY_COMPAT_8_10_', 1)', `')
diff --git a/contrib/sendmail/cf/feature/dnsbl.m4 b/contrib/sendmail/cf/feature/dnsbl.m4
deleted file mode 100644
index be0e2be..0000000
--- a/contrib/sendmail/cf/feature/dnsbl.m4
+++ /dev/null
@@ -1,39 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2002, 2005-2007 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.
-#
-#
-
-ifdef(`DNSBL_MAP', `', `define(`DNSBL_MAP', `dns -R A')')
-divert(0)
-ifdef(`_DNSBL_R_',`dnl',`dnl
-VERSIONID(`$Id: dnsbl.m4,v 8.33 2007/01/05 18:49:29 ca Exp $')
-define(`_DNSBL_R_',`')
-ifelse(defn(`_ARG_'), `',
- `errprint(`*** ERROR: missing argument for FEATURE(`dnsbl')')')
-LOCAL_CONFIG
-# map for DNS based blacklist lookups
-Kdnsbl DNSBL_MAP -T<TMP>ifdef(`DNSBL_MAP_OPT',` DNSBL_MAP_OPT')')
-divert(-1)
-define(`_DNSBL_SRV_', `_ARG_')dnl
-define(`_DNSBL_MSG_', `ifelse(len(X`'_ARG2_),`1',`"550 Rejected: " $`'&{client_addr} " listed at '_DNSBL_SRV_`"',`_ARG2_')')dnl
-define(`_DNSBL_MSG_TMP_', `ifelse(_ARG3_,`t',`"451 Temporary lookup failure of " $`'&{client_addr} " at '_DNSBL_SRV_`"',`_ARG3_')')dnl
-divert(8)
-# DNS based IP address spam list _DNSBL_SRV_
-R$* $: $&{client_addr}
-R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1._DNSBL_SRV_. $: OK $)
-R<?>OK $: OKSOFAR
-ifelse(len(X`'_ARG3_),`1',
-`R<?>$+<TMP> $: TMPOK',
-`R<?>$+<TMP> $#error $@ 4.4.3 $: _DNSBL_MSG_TMP_')
-ifelse(`X'_ARG2_,`Xquarantine',
-`R<?>$+ $#error $@ quarantine $: _DNSBL_SRV_',
-`X'_ARG2_,`Xdiscard',
-`R<?>$+ $#discard $: _DNSBL_SRV_',
-`R<?>$+ $#error $@ 5.7.1 $: _DNSBL_MSG_')
-divert(-1)
diff --git a/contrib/sendmail/cf/feature/domaintable.m4 b/contrib/sendmail/cf/feature/domaintable.m4
deleted file mode 100644
index fadf816..0000000
--- a/contrib/sendmail/cf/feature/domaintable.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: domaintable.m4,v 8.24 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_DOMAIN_TABLE_', `')
-
-LOCAL_CONFIG
-# Domain table (adding domains)
-Kdomaintable ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`domaintable',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=domain)(sendmailMTAKey=%0))',
- `_ARG_')
diff --git a/contrib/sendmail/cf/feature/enhdnsbl.m4 b/contrib/sendmail/cf/feature/enhdnsbl.m4
deleted file mode 100644
index bb467ef..0000000
--- a/contrib/sendmail/cf/feature/enhdnsbl.m4
+++ /dev/null
@@ -1,53 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000-2002, 2005-2007 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.
-#
-#
-
-ifelse(defn(`_ARG_'), `',
- `errprint(`*** ERROR: missing argument for FEATURE(`enhdnsbl')')')
-divert(0)
-ifdef(`_EDNSBL_R_',`dnl',`dnl
-VERSIONID(`$Id: enhdnsbl.m4,v 1.12 2007/01/08 18:22:05 ca Exp $')
-LOCAL_CONFIG
-define(`_EDNSBL_R_',`')dnl
-# map for enhanced DNS based blacklist lookups
-Kednsbl dns -R A -a. -T<TMP> -r`'ifdef(`EDNSBL_TO',`EDNSBL_TO',`5')
-')
-divert(-1)
-define(`_EDNSBL_SRV_', `_ARG_')dnl
-define(`_EDNSBL_MSG_',
- `ifelse(len(X`'_ARG2_),`1',`"550 Rejected: " $`'&{client_addr} " listed at '_EDNSBL_SRV_`"',
- X`'_ARG2_,`Xquarantine',`_EDNSBL_SRV_',
- `_ARG2_')')dnl
-define(`_EDNSBL_MSG_TMP_', `ifelse(_ARG3_,`t',`"451 Temporary lookup failure of " $`'&{client_addr} " at '_EDNSBL_SRV_`"',`_ARG3_')')dnl
-define(`_EDNSBL_MATCH_', `ifelse(len(X`'_ARG4_),`1',`$`'+',_ARG4_)')dnl
-define(`_EDNSBL_ACTION_',
- `ifelse(X`'_ARG2_,`Xquarantine',`$`'#error $`'@ quarantine',
- X`'_ARG2_,`Xdiscard',`$`'#discard',
- `$`'#error $`'@ 5.7.1')')dnl
-divert(8)
-# DNS based IP address spam list _EDNSBL_SRV_
-R$* $: $&{client_addr}
-R$-.$-.$-.$- $: <?> $(ednsbl $4.$3.$2.$1._EDNSBL_SRV_. $: OK $)
-R<?>OK $: OKSOFAR
-ifelse(len(X`'_ARG3_),`1',
-`R<?>$+<TMP> $: TMPOK',
-`R<?>$+<TMP> $#error $@ 4.4.3 $: _EDNSBL_MSG_TMP_')
-R<?>_EDNSBL_MATCH_ _EDNSBL_ACTION_ $: _EDNSBL_MSG_
-ifelse(len(X`'_ARG5_),`1',`dnl',
-`R<?>_ARG5_ _EDNSBL_ACTION_ $: _EDNSBL_MSG_')
-ifelse(len(X`'_ARG6_),`1',`dnl',
-`R<?>_ARG6_ _EDNSBL_ACTION_ $: _EDNSBL_MSG_')
-ifelse(len(X`'_ARG7_),`1',`dnl',
-`R<?>_ARG7_ _EDNSBL_ACTION_ $: _EDNSBL_MSG_')
-ifelse(len(X`'_ARG8_),`1',`dnl',
-`R<?>_ARG8_ _EDNSBL_ACTION_ $: _EDNSBL_MSG_')
-ifelse(len(X`'_ARG9_),`1',`dnl',
-`R<?>_ARG9_ _EDNSBL_ACTION_ $: _EDNSBL_MSG_')
-divert(-1)
diff --git a/contrib/sendmail/cf/feature/generics_entire_domain.m4 b/contrib/sendmail/cf/feature/generics_entire_domain.m4
deleted file mode 100644
index fab586a..0000000
--- a/contrib/sendmail/cf/feature/generics_entire_domain.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: generics_entire_domain.m4,v 8.1 1999/03/16 00:43:05 ca Exp $')
-divert(-1)
-
-define(`_GENERICS_ENTIRE_DOMAIN_', 1)
diff --git a/contrib/sendmail/cf/feature/genericstable.m4 b/contrib/sendmail/cf/feature/genericstable.m4
deleted file mode 100644
index dfdfeac..0000000
--- a/contrib/sendmail/cf/feature/genericstable.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: genericstable.m4,v 8.23 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_GENERICS_TABLE_', `')
-
-LOCAL_CONFIG
-# Generics table (mapping outgoing addresses)
-Kgenerics ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`genericstable',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=generics)(sendmailMTAKey=%0))',
- `_ARG_')
diff --git a/contrib/sendmail/cf/feature/greet_pause.m4 b/contrib/sendmail/cf/feature/greet_pause.m4
deleted file mode 100644
index 1dddb58..0000000
--- a/contrib/sendmail/cf/feature/greet_pause.m4
+++ /dev/null
@@ -1,44 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2004 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: greet_pause.m4,v 1.4 2004/07/06 20:49:51 ca Exp $')
-divert(-1)
-
-ifelse(len(X`'_ARG_),`1',`ifdef(`_ACCESS_TABLE_', `',
- `errprint(`*** ERROR: FEATURE(`greet_pause') requires FEATURE(`access_db')
-')')')
-
-define(`_GREET_PAUSE_', `')
-
-LOCAL_RULESETS
-######################################################################
-### greet_pause: lookup pause time before 220 greeting
-###
-### Parameters:
-### $1: {client_name}
-### $2: {client_addr}
-######################################################################
-SLocal_greet_pause
-Sgreet_pause
-R$* $: <$1><?> $| $>"Local_greet_pause" $1
-R<$*><?> $| $#$* $#$2
-R<$*><?> $| $* $: $1
-ifdef(`_ACCESS_TABLE_', `dnl
-R$+ $| $+ $: $>D < $1 > <?> <! GreetPause> < $2 >
-R $| $+ $: $>A < $1 > <?> <! GreetPause> <> empty client_name
-R<?> <$+> $: $>A < $1 > <?> <! GreetPause> <> no: another lookup
-ifelse(len(X`'_ARG_),`1',
-`R<?> <$*> $@',
-`R<?> <$*> $# _ARG_')
-R<$* <TMPF>> <$*> $@
-R<$+> <$*> $# $1',`dnl
-R$* $# _ARG_')
diff --git a/contrib/sendmail/cf/feature/ldap_routing.m4 b/contrib/sendmail/cf/feature/ldap_routing.m4
deleted file mode 100644
index a474f17..0000000
--- a/contrib/sendmail/cf/feature/ldap_routing.m4
+++ /dev/null
@@ -1,46 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1999-2002, 2004, 2007 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: ldap_routing.m4,v 8.15 2007/05/01 17:38:25 ca Exp $')
-divert(-1)
-
-# Check first two arguments. If they aren't set, may need to warn in proto.m4
-ifelse(len(X`'_ARG1_), `1', `define(`_LDAP_ROUTING_WARN_', `yes')')
-ifelse(len(X`'_ARG2_), `1', `define(`_LDAP_ROUTING_WARN_', `yes')')
-ifelse(len(X`'_ARG5_), `1', `', `define(`_LDAP_ROUTE_NODOMAIN_', `yes')')
-
-# Check for third argument to indicate how to deal with non-existant
-# LDAP records
-ifelse(len(X`'_ARG3_), `1', `define(`_LDAP_ROUTING_', `_PASS_THROUGH_')',
- _ARG3_, `passthru', `define(`_LDAP_ROUTING_', `_PASS_THROUGH_')',
- _ARG3_, `sendertoo', `define(`_LDAP_ROUTING_', `_MUST_EXIST_')define(`_LDAP_SENDER_MUST_EXIST_')',
- `define(`_LDAP_ROUTING_', `_MUST_EXIST_')')
-
-# Check for fourth argument to indicate how to deal with +detail info
-ifelse(len(X`'_ARG4_), `1', `',
- _ARG4_, `strip', `define(`_LDAP_ROUTE_DETAIL_', `_STRIP_')',
- _ARG4_, `preserve', `define(`_LDAP_ROUTE_DETAIL_', `_PRESERVE_')')
-
-# Check for sixth argument to indicate how to deal with tempfails
-ifelse(len(X`'_ARG6_), `1', `define(`_LDAP_ROUTE_MAPTEMP_', `_QUEUE_')',
- _ARG6_, `tempfail', `define(`_LDAP_ROUTE_MAPTEMP_', `_TEMPFAIL_')',
- _ARG6_, `queue', `define(`_LDAP_ROUTE_MAPTEMP_', `_QUEUE_')')
-
-LOCAL_CONFIG
-# LDAP routing maps
-Kldapmh ifelse(len(X`'_ARG1_), `1',
- `ldap -1 -T<TMPF> -v mailHost -k (&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))',
- `_ARG1_')
-
-Kldapmra ifelse(len(X`'_ARG2_), `1',
- `ldap -1 -T<TMPF> -v mailRoutingAddress -k (&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))',
- `_ARG2_')
diff --git a/contrib/sendmail/cf/feature/limited_masquerade.m4 b/contrib/sendmail/cf/feature/limited_masquerade.m4
deleted file mode 100644
index f86ebd4..0000000
--- a/contrib/sendmail/cf/feature/limited_masquerade.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: limited_masquerade.m4,v 8.9 1999/02/07 07:26:09 gshapiro Exp $')
-divert(-1)
-
-define(`_LIMITED_MASQUERADE_', 1)
diff --git a/contrib/sendmail/cf/feature/local_lmtp.m4 b/contrib/sendmail/cf/feature/local_lmtp.m4
deleted file mode 100644
index 6f3888a..0000000
--- a/contrib/sendmail/cf/feature/local_lmtp.m4
+++ /dev/null
@@ -1,28 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2000, 2002 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: local_lmtp.m4,v 8.17 2002/11/17 04:41:04 ca Exp $')
-divert(-1)
-
-ifdef(`_MAILER_local_',
- `errprint(`*** FEATURE(local_lmtp) must occur before MAILER(local)
-')')dnl
-
-define(`LOCAL_MAILER_PATH',
- ifelse(defn(`_ARG_'), `',
- ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/mail.local',
- _ARG_))
-define(`LOCAL_MAILER_FLAGS', `PSXmnz9')
-define(`LOCAL_MAILER_ARGS',
- ifelse(len(X`'_ARG2_), `1', `mail.local -l', _ARG2_))
-define(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE', `SMTP')
-define(`_LOCAL_LMTP_', `1')
diff --git a/contrib/sendmail/cf/feature/local_no_masquerade.m4 b/contrib/sendmail/cf/feature/local_no_masquerade.m4
deleted file mode 100644
index de2300f..0000000
--- a/contrib/sendmail/cf/feature/local_no_masquerade.m4
+++ /dev/null
@@ -1,18 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000 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.
-#
-
-divert(0)
-VERSIONID(`$Id: local_no_masquerade.m4,v 1.2 2000/08/03 15:54:59 ca Exp $')
-divert(-1)
-
-ifdef(`_MAILER_local_',
- `errprint(`*** MAILER(`local') must appear after FEATURE(`local_no_masquerade')')
-')dnl
-define(`_LOCAL_NO_MASQUERADE_', `1')
diff --git a/contrib/sendmail/cf/feature/local_procmail.m4 b/contrib/sendmail/cf/feature/local_procmail.m4
deleted file mode 100644
index 694c3d9..0000000
--- a/contrib/sendmail/cf/feature/local_procmail.m4
+++ /dev/null
@@ -1,36 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2002 Sendmail, Inc. and its suppliers.
-# All rights reserved.
-# Copyright (c) 1994 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: local_procmail.m4,v 8.22 2002/11/17 04:24:19 ca Exp $')
-divert(-1)
-
-ifdef(`_MAILER_local_',
- `errprint(`*** FEATURE(local_procmail) must occur before MAILER(local)
-')')dnl
-
-define(`LOCAL_MAILER_PATH',
- ifelse(defn(`_ARG_'), `',
- ifdef(`PROCMAIL_MAILER_PATH',
- PROCMAIL_MAILER_PATH,
- `/usr/local/bin/procmail'),
- _ARG_))
-define(`LOCAL_MAILER_ARGS',
- ifelse(len(X`'_ARG2_), `1', `procmail -Y -a $h -d $u', _ARG2_))
-define(`LOCAL_MAILER_FLAGS',
- ifelse(len(X`'_ARG3_), `1', `SPfhn9', _ARG3_))
-dnl local_procmail conflicts with local_lmtp but the latter might be
-dnl defined in an OS/ file (solaris8). Let's just undefine it.
-undefine(`_LOCAL_LMTP_')
-undefine(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE')
diff --git a/contrib/sendmail/cf/feature/lookupdotdomain.m4 b/contrib/sendmail/cf/feature/lookupdotdomain.m4
deleted file mode 100644
index f8c2a31..0000000
--- a/contrib/sendmail/cf/feature/lookupdotdomain.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: lookupdotdomain.m4,v 1.1 2000/04/13 22:32:49 ca Exp $')
-divert(-1)
-
-ifdef(`_ACCESS_TABLE_',
- `define(`_LOOKUPDOTDOMAIN_')',
- `errprint(`*** ERROR: FEATURE(`lookupdotdomain') requires FEATURE(`access_db')
-')')
-ifdef(`_RELAY_HOSTS_ONLY_',
- `errprint(`*** WARNING: FEATURE(`lookupdotdomain') does not work well with FEATURE(`relay_hosts_only')
-')')
diff --git a/contrib/sendmail/cf/feature/loose_relay_check.m4 b/contrib/sendmail/cf/feature/loose_relay_check.m4
deleted file mode 100644
index abd1b9c9..0000000
--- a/contrib/sendmail/cf/feature/loose_relay_check.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: loose_relay_check.m4,v 8.6 1999/02/07 07:26:10 gshapiro Exp $')
-divert(-1)
-
-define(`_LOOSE_RELAY_CHECK_', 1)
diff --git a/contrib/sendmail/cf/feature/mailertable.m4 b/contrib/sendmail/cf/feature/mailertable.m4
deleted file mode 100644
index e3e1d03..0000000
--- a/contrib/sendmail/cf/feature/mailertable.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: mailertable.m4,v 8.25 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_MAILER_TABLE_', `')
-
-LOCAL_CONFIG
-# Mailer table (overriding domains)
-Kmailertable ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`mailertable',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=mailer)(sendmailMTAKey=%0))',
- `_ARG_')
diff --git a/contrib/sendmail/cf/feature/masquerade_entire_domain.m4 b/contrib/sendmail/cf/feature/masquerade_entire_domain.m4
deleted file mode 100644
index e2bcc65..0000000
--- a/contrib/sendmail/cf/feature/masquerade_entire_domain.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: masquerade_entire_domain.m4,v 8.9 1999/02/07 07:26:10 gshapiro Exp $')
-divert(-1)
-
-define(`_MASQUERADE_ENTIRE_DOMAIN_', 1)
diff --git a/contrib/sendmail/cf/feature/masquerade_envelope.m4 b/contrib/sendmail/cf/feature/masquerade_envelope.m4
deleted file mode 100644
index 74d3aa0..0000000
--- a/contrib/sendmail/cf/feature/masquerade_envelope.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: masquerade_envelope.m4,v 8.9 1999/02/07 07:26:10 gshapiro Exp $')
-divert(-1)
-
-define(`_MASQUERADE_ENVELOPE_', 1)
diff --git a/contrib/sendmail/cf/feature/msp.m4 b/contrib/sendmail/cf/feature/msp.m4
deleted file mode 100644
index 6ecf334..0000000
--- a/contrib/sendmail/cf/feature/msp.m4
+++ /dev/null
@@ -1,78 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000-2002, 2004 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.
-#
-#
-
-divert(0)dnl
-VERSIONID(`$Id: msp.m4,v 1.33 2004/02/09 22:32:38 ca Exp $')
-divert(-1)
-undefine(`ALIAS_FILE')
-define(`confDELIVERY_MODE', `i')
-define(`confUSE_MSP', `True')
-define(`confFORWARD_PATH', `')
-define(`confPRIVACY_FLAGS', `goaway,noetrn,restrictqrun')
-define(`confDONT_PROBE_INTERFACES', `True')
-dnl ---------------------------------------------
-dnl run as this user (even if called by root)
-ifdef(`confRUN_AS_USER',,`define(`confRUN_AS_USER', `smmsp')')
-ifdef(`confTRUSTED_USER',,`define(`confTRUSTED_USER',
-`ifelse(index(confRUN_AS_USER,`:'), -1, `confRUN_AS_USER',
-`substr(confRUN_AS_USER,0,index(confRUN_AS_USER,`:'))')')')
-dnl ---------------------------------------------
-dnl This queue directory must have the same group
-dnl as sendmail and it must be group-writable.
-dnl notice: do not test for QUEUE_DIR, it is set in some ostype/*.m4 files
-ifdef(`MSP_QUEUE_DIR',
-`define(`QUEUE_DIR', `MSP_QUEUE_DIR')',
-`define(`QUEUE_DIR', `/var/spool/clientmqueue')')
-define(`_MTA_HOST_', ifelse(defn(`_ARG_'), `', `[localhost]', `_ARG_'))
-define(`_MSP_FQHN_',`dnl used to qualify addresses
-ifdef(`MASQUERADE_NAME', ifdef(`_MASQUERADE_ENVELOPE_', `$M', `$j'), `$j')')
-ifelse(_ARG2_, `MSA', `define(`RELAY_MAILER_ARGS', `TCP $h 587')')
-dnl ---------------------------------------------
-ifdef(`confPID_FILE', `dnl',
-`define(`confPID_FILE', QUEUE_DIR`/sm-client.pid')')
-define(`confQUEUE_FILE_MODE', `0660')dnl
-ifdef(`STATUS_FILE',
-`define(`_F_',
-`define(`_b_', index(STATUS_FILE, `sendmail.st'))ifelse(_b_, `-1', `STATUS_FILE', `substr(STATUS_FILE, 0, _b_)sm-client.st')')
-define(`STATUS_FILE', _F_)
-undefine(`_b_') undefine(`_F_')',
-`define(`STATUS_FILE', QUEUE_DIR`/sm-client.st')')
-FEATURE(`no_default_msa')dnl
-ifelse(defn(`_DPO_'), `',
-`DAEMON_OPTIONS(`Name=NoMTA, Addr=127.0.0.1, M=E')dnl')
-define(`_DEF_LOCAL_MAILER_FLAGS', `')dnl
-define(`_DEF_LOCAL_SHELL_FLAGS', `')dnl
-define(`LOCAL_MAILER_PATH', `[IPC]')dnl
-define(`LOCAL_MAILER_FLAGS', `lmDFMuXkw5')dnl
-define(`LOCAL_MAILER_ARGS', `TCP $h')dnl
-define(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE', `SMTP')dnl
-define(`LOCAL_SHELL_PATH', `[IPC]')dnl
-define(`LOCAL_SHELL_FLAGS', `lmDFMuXk5')dnl
-define(`LOCAL_SHELL_ARGS', `TCP $h')dnl
-MODIFY_MAILER_FLAGS(`SMTP', `+k5')dnl
-MODIFY_MAILER_FLAGS(`ESMTP', `+k5')dnl
-MODIFY_MAILER_FLAGS(`DSMTP', `+k5')dnl
-MODIFY_MAILER_FLAGS(`SMTP8', `+k5')dnl
-MODIFY_MAILER_FLAGS(`RELAY', `+k')dnl
-MAILER(`local')dnl
-MAILER(`smtp')dnl
-
-LOCAL_CONFIG
-D{MTAHost}_MTA_HOST_
-
-LOCAL_RULESETS
-SLocal_localaddr
-R$+ $: $>ParseRecipient $1
-R$* < @ $+ > $* $#relay $@ ${MTAHost} $: $1 < @ $2 > $3
-ifdef(`_USE_DECNET_SYNTAX_',
-`# DECnet
-R$+ :: $+ $#relay $@ ${MTAHost} $: $1 :: $2', `dnl')
-R$* $#relay $@ ${MTAHost} $: $1 < @ _MSP_FQHN_ >
diff --git a/contrib/sendmail/cf/feature/mtamark.m4 b/contrib/sendmail/cf/feature/mtamark.m4
deleted file mode 100644
index c306c44..0000000
--- a/contrib/sendmail/cf/feature/mtamark.m4
+++ /dev/null
@@ -1,33 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2004, 2005 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.
-#
-#
-
-divert(0)
-ifdef(`_MTAMARK_R',`dnl',`dnl
-VERSIONID(`$Id: mtamark.m4,v 1.2 2005/07/25 20:56:53 ca Exp $')
-LOCAL_CONFIG
-define(`_MTAMARK_R',`')dnl
-# map for MTA mark
-Kmtamark dns -R TXT -a. -T<TMP> -r`'ifdef(`MTAMARK_TO',`MTAMARK_TO',`5')
-')
-divert(-1)
-define(`_MTAMARK_RR_', `ifelse(len(X`'_ARG3_),`1',`_perm._smtp._srv',`_ARG3_')')dnl
-define(`_MTAMARK_MSG_', `ifelse(len(X`'_ARG_),`1',`"550 Rejected: " $`'&{client_addr} " not listed as MTA"',`_ARG_')')dnl
-define(`_MTAMARK_MSG_TMP_', `ifelse(_ARG2_,`t',`"451 Temporary lookup failure of " _MTAMARK_RR_.$`'&{client_addr}',`_ARG2_')')dnl
-divert(8)
-# DNS based IP MTA list
-R$* $: $&{client_addr}
-R$-.$-.$-.$- $: <?> $(mtamark _MTAMARK_RR_.$4.$3.$2.$1.in-addr.arpa. $: OK $)
-R<?>1. $: OKSOFAR
-R<?>0. $#error $@ 5.7.1 $: _MTAMARK_MSG_
-ifelse(len(X`'_ARG2_),`1',
-`R<?>$+<TMP> $: TMPOK',
-`R<?>$+<TMP> $#error $@ 4.4.3 $: _MTAMARK_MSG_TMP_')
-divert(-1)
diff --git a/contrib/sendmail/cf/feature/no_default_msa.m4 b/contrib/sendmail/cf/feature/no_default_msa.m4
deleted file mode 100644
index 5a05339..0000000
--- a/contrib/sendmail/cf/feature/no_default_msa.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1999-2000 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: no_default_msa.m4,v 8.2 2001/02/14 05:03:22 gshapiro Exp $')
-divert(-1)
-
-define(`_NO_MSA_', `1')
diff --git a/contrib/sendmail/cf/feature/nocanonify.m4 b/contrib/sendmail/cf/feature/nocanonify.m4
deleted file mode 100644
index 05baa7a..0000000
--- a/contrib/sendmail/cf/feature/nocanonify.m4
+++ /dev/null
@@ -1,24 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: nocanonify.m4,v 8.12 1999/08/28 00:42:01 ca Exp $')
-divert(-1)
-
-define(`_NO_CANONIFY_', 1)
-ifelse(defn(`_ARG_'), `', `',
- strcasecmp(defn(`_ARG_'), `canonify_hosts'), `1',
- `define(`_CANONIFY_HOSTS_', 1)',
- `errprint(`*** ERROR: unknown parameter '"defn(`_ARG_')"` for FEATURE(`nocanonify')
-')')
diff --git a/contrib/sendmail/cf/feature/notsticky.m4 b/contrib/sendmail/cf/feature/notsticky.m4
deleted file mode 100644
index 1cecca5..0000000
--- a/contrib/sendmail/cf/feature/notsticky.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: notsticky.m4,v 8.11 1999/02/07 07:26:11 gshapiro Exp $')
-#
-# This is now the default. Use ``FEATURE(stickyhost)'' if you want
-# the old default behaviour.
-#
-divert(-1)
diff --git a/contrib/sendmail/cf/feature/nouucp.m4 b/contrib/sendmail/cf/feature/nouucp.m4
deleted file mode 100644
index a031049..0000000
--- a/contrib/sendmail/cf/feature/nouucp.m4
+++ /dev/null
@@ -1,27 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: nouucp.m4,v 8.13 1999/11/24 18:37:07 ca Exp $')
-divert(-1)
-
-ifelse(defn(`_ARG_'), `',
- `errprint(`*** ERROR: missing argument for FEATURE(nouucp):
- use `reject' or `nospecial'. See cf/README.
-')define(`_NO_UUCP_', `e')',
- substr(_ARG_,0,1), `r', `define(`_NO_UUCP_', `r')',
- substr(_ARG_,0,1), `n', `define(`_NO_UUCP_', `n')',
- `errprint(`*** ERROR: illegal argument _ARG_ for FEATURE(nouucp)
-')
- ')
diff --git a/contrib/sendmail/cf/feature/nullclient.m4 b/contrib/sendmail/cf/feature/nullclient.m4
deleted file mode 100644
index 8f35ca1..0000000
--- a/contrib/sendmail/cf/feature/nullclient.m4
+++ /dev/null
@@ -1,38 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-ifelse(defn(`_ARG_'), `', `errprint(`Feature "nullclient" requires argument')',
- `define(`_NULL_CLIENT_', _ARG_)')
-
-#
-# This is used only for relaying mail from a client to a hub when
-# that client does absolutely nothing else -- i.e., it is a "null
-# mailer". In this sense, it acts like the "R" option in Sun
-# sendmail.
-#
-
-divert(0)
-VERSIONID(`$Id: nullclient.m4,v 8.24 2000/09/17 17:30:00 gshapiro Exp $')
-divert(-1)
-
-undefine(`ALIAS_FILE')
-define(`MAIL_HUB', _NULL_CLIENT_)
-define(`SMART_HOST', _NULL_CLIENT_)
-define(`confFORWARD_PATH', `')
-ifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `<$g>')')
-define(`_DEF_LOCAL_MAILER_FLAGS', `lsDFM5q')
-MASQUERADE_AS(_NULL_CLIENT_)
-FEATURE(`allmasquerade')
-FEATURE(`masquerade_envelope')
-MAILER(`local')
-MAILER(`smtp')
diff --git a/contrib/sendmail/cf/feature/preserve_local_plus_detail.m4 b/contrib/sendmail/cf/feature/preserve_local_plus_detail.m4
deleted file mode 100644
index bb603a6..0000000
--- a/contrib/sendmail/cf/feature/preserve_local_plus_detail.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: preserve_local_plus_detail.m4,v 8.1 2000/04/10 05:48:05 gshapiro Exp $')
-divert(-1)
-
-define(`_PRESERVE_LOCAL_PLUS_DETAIL_', `1')
diff --git a/contrib/sendmail/cf/feature/preserve_luser_host.m4 b/contrib/sendmail/cf/feature/preserve_luser_host.m4
deleted file mode 100644
index 837da99..0000000
--- a/contrib/sendmail/cf/feature/preserve_luser_host.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2000, 2002 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: preserve_luser_host.m4,v 1.3 2002/04/14 13:22:58 ca Exp $')
-divert(-1)
-
-ifdef(`LUSER_RELAY', `',
-`errprint(`*** LUSER_RELAY should be defined before FEATURE(`preserve_luser_host')
- ')')
-define(`_PRESERVE_LUSER_HOST_', `1')
-define(`_NEED_MACRO_MAP_', `1')
diff --git a/contrib/sendmail/cf/feature/promiscuous_relay.m4 b/contrib/sendmail/cf/feature/promiscuous_relay.m4
deleted file mode 100644
index 17cb7d1..0000000
--- a/contrib/sendmail/cf/feature/promiscuous_relay.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-1999, 2001 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: promiscuous_relay.m4,v 8.12 2001/02/06 17:14:35 ca Exp $')
-divert(-1)
-
-define(`_PROMISCUOUS_RELAY_', 1)
-errprint(`*** WARNING: FEATURE(`promiscuous_relay') configures your system as open
- relay. Do NOT use it on a server that is connected to the Internet!
-')
diff --git a/contrib/sendmail/cf/feature/queuegroup.m4 b/contrib/sendmail/cf/feature/queuegroup.m4
deleted file mode 100644
index 06715a0..0000000
--- a/contrib/sendmail/cf/feature/queuegroup.m4
+++ /dev/null
@@ -1,27 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2001 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: queuegroup.m4,v 1.4 2001/03/28 00:39:39 ca Exp $')
-divert(-1)
-
-ifdef(`_ACCESS_TABLE_', `',
- `errprint(`*** ERROR: FEATURE(`queuegroup') requires FEATURE(`access_db')
-')')
-
-LOCAL_RULESETS
-Squeuegroup
-R< $+ > $1
-R $+ @ $+ $: $>SearchList <! qgrp> $| <F:$1@$2> <D:$2> <>
-ifelse(len(X`'_ARG_),`1',
-`R<?> $@',
-`R<?> $# _ARG_')
-R<$+> $# $1
diff --git a/contrib/sendmail/cf/feature/ratecontrol.m4 b/contrib/sendmail/cf/feature/ratecontrol.m4
deleted file mode 100644
index e3389c0..0000000
--- a/contrib/sendmail/cf/feature/ratecontrol.m4
+++ /dev/null
@@ -1,36 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2003, 2004 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: ratecontrol.m4,v 1.5 2004/02/19 21:31:47 ca Exp $')
-
-divert(-1)
-ifdef(`_ACCESS_TABLE_', `
- define(`_RATE_CONTROL_', `1')
- ifelse(defn(`_ARG_'), `', `',
- strcasecmp(defn(`_ARG_'), `nodelay'), `1',
- `ifdef(`_DELAY_CHECKS_',
- `
- define(`_RATE_CONTROL_IMMEDIATE_', `1')
- define(`_CONTROL_IMMEDIATE_', `1')
- ',
- `errprint(`*** ERROR: FEATURE(`ratecontrol', `nodelay') requires FEATURE(`delay_checks')')'
- )',
- `errprint(`*** ERROR: unknown parameter '"defn(`_ARG_')"` for FEATURE(`ratecontrol')')')
- define(`_FFR_SRCHLIST_A', `1')
- ifelse(len(X`'_ARG2_), `1', `',
- _ARG2_, `terminate', `define(`_RATE_CONTROL_REPLY', `421')',
- `errprint(`*** ERROR: FEATURE(`ratecontrol'): unknown argument '"_ARG2_"
-)'
- )
- ', `errprint(`*** ERROR: FEATURE(`ratecontrol') requires FEATURE(`access_db')
-')')
-ifdef(`_RATE_CONTROL_REPLY',,`define(`_RATE_CONTROL_REPLY', `452')')
diff --git a/contrib/sendmail/cf/feature/redirect.m4 b/contrib/sendmail/cf/feature/redirect.m4
deleted file mode 100644
index e167865..0000000
--- a/contrib/sendmail/cf/feature/redirect.m4
+++ /dev/null
@@ -1,26 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $')
-divert(-1)
-
-LOCAL_RULE_0
-# addresses sent to foo@host.REDIRECT will give a 551 error code
-R$* < @ $+ .REDIRECT. > $: $1 < @ $2 . REDIRECT . > < ${opMode} >
-R$* < @ $+ .REDIRECT. > <i> $: $1 < @ $2 . REDIRECT. >
-R$* < @ $+ .REDIRECT. > < $- > $#error $@ 5.1.1 $: "551 User has moved; please try " <$1@$2>
-
-LOCAL_CONFIG
-CPREDIRECT
diff --git a/contrib/sendmail/cf/feature/relay_based_on_MX.m4 b/contrib/sendmail/cf/feature/relay_based_on_MX.m4
deleted file mode 100644
index 872680a..0000000
--- a/contrib/sendmail/cf/feature/relay_based_on_MX.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: relay_based_on_MX.m4,v 8.11 1999/04/02 02:25:13 gshapiro Exp $')
-divert(-1)
-
-define(`_RELAY_MX_SERVED_', 1)
-
-LOCAL_CONFIG
-# MX map (to allow relaying to hosts that we MX for)
-Kmxserved bestmx -z: -T<TEMP>
-
diff --git a/contrib/sendmail/cf/feature/relay_entire_domain.m4 b/contrib/sendmail/cf/feature/relay_entire_domain.m4
deleted file mode 100644
index a720b16..0000000
--- a/contrib/sendmail/cf/feature/relay_entire_domain.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: relay_entire_domain.m4,v 8.10 1999/02/07 07:26:12 gshapiro Exp $')
-divert(-1)
-
-define(`_RELAY_ENTIRE_DOMAIN_', 1)
diff --git a/contrib/sendmail/cf/feature/relay_hosts_only.m4 b/contrib/sendmail/cf/feature/relay_hosts_only.m4
deleted file mode 100644
index 867d4ed..0000000
--- a/contrib/sendmail/cf/feature/relay_hosts_only.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: relay_hosts_only.m4,v 8.10 1999/02/07 07:26:12 gshapiro Exp $')
-divert(-1)
-
-define(`_RELAY_HOSTS_ONLY_', 1)
diff --git a/contrib/sendmail/cf/feature/relay_local_from.m4 b/contrib/sendmail/cf/feature/relay_local_from.m4
deleted file mode 100644
index 9858eb8..0000000
--- a/contrib/sendmail/cf/feature/relay_local_from.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998-1999, 2001 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: relay_local_from.m4,v 8.6 2001/02/06 15:55:21 ca Exp $')
-divert(-1)
-
-define(`_RELAY_LOCAL_FROM_', 1)
-errprint(`*** WARNING: FEATURE(`relay_local_from') may cause your system to act as open
- relay. Use SMTP AUTH or STARTTLS instead. If you cannot use those,
- try FEATURE(`relay_mail_from').
-')
diff --git a/contrib/sendmail/cf/feature/relay_mail_from.m4 b/contrib/sendmail/cf/feature/relay_mail_from.m4
deleted file mode 100644
index 44bcbd6..0000000
--- a/contrib/sendmail/cf/feature/relay_mail_from.m4
+++ /dev/null
@@ -1,23 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1999, 2001 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: relay_mail_from.m4,v 8.3 2001/02/06 16:07:12 ca Exp $')
-divert(-1)
-
-ifdef(`_ACCESS_TABLE_',
- `define(`_RELAY_DB_FROM_', 1)
- ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
- `errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
-')')
-errprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
- relay. Use SMTP AUTH or STARTTLS instead.
-')
diff --git a/contrib/sendmail/cf/feature/require_rdns.m4 b/contrib/sendmail/cf/feature/require_rdns.m4
deleted file mode 100644
index 4c70d3a..0000000
--- a/contrib/sendmail/cf/feature/require_rdns.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2006 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.
-#
-#
-
-divert(0)dnl
-VERSIONID(`$Id: require_rdns.m4,v 1.1 2006/06/15 22:49:30 ca Exp $')
-divert(-1)
-
-define(`_REQUIRE_RDNS_', `')
diff --git a/contrib/sendmail/cf/feature/smrsh.m4 b/contrib/sendmail/cf/feature/smrsh.m4
deleted file mode 100644
index 2159ff8..0000000
--- a/contrib/sendmail/cf/feature/smrsh.m4
+++ /dev/null
@@ -1,26 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: smrsh.m4,v 8.14 1999/11/18 05:06:23 ca Exp $')
-divert(-1)
-
-ifdef(`_MAILER_local_',
- `errprint(`*** FEATURE(smrsh) must occur before MAILER(local)
-')')dnl
-define(`LOCAL_SHELL_PATH',
- ifelse(defn(`_ARG_'), `',
- ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/smrsh',
- _ARG_))
-_DEFIFNOT(`LOCAL_SHELL_ARGS', `smrsh -c $u')
diff --git a/contrib/sendmail/cf/feature/stickyhost.m4 b/contrib/sendmail/cf/feature/stickyhost.m4
deleted file mode 100644
index 1e95be4..0000000
--- a/contrib/sendmail/cf/feature/stickyhost.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: stickyhost.m4,v 8.9 1999/02/07 07:26:13 gshapiro Exp $')
-divert(-1)
-
-define(`_STICKY_LOCAL_DOMAIN_', 1)
diff --git a/contrib/sendmail/cf/feature/use_client_ptr.m4 b/contrib/sendmail/cf/feature/use_client_ptr.m4
deleted file mode 100644
index 918dff1..0000000
--- a/contrib/sendmail/cf/feature/use_client_ptr.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 2004 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: use_client_ptr.m4,v 1.1 2004/04/20 22:27:14 ca Exp $')
-divert(-1)
-
-# if defined, check_relay will use {client_ptr} instead of whatever
-# is passed in as its first argument.
-
-define(`_USE_CLIENT_PTR_', `1')
-
-divert(0)
diff --git a/contrib/sendmail/cf/feature/use_ct_file.m4 b/contrib/sendmail/cf/feature/use_ct_file.m4
deleted file mode 100644
index 9e372ec..0000000
--- a/contrib/sendmail/cf/feature/use_ct_file.m4
+++ /dev/null
@@ -1,24 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: use_ct_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $')
-divert(-1)
-
-# if defined, the sendmail.cf will read the /etc/mail/trusted-users file to
-# find the names of trusted users. There should only be a few of these.
-
-define(`_USE_CT_FILE_', `')
-
-divert(0)
diff --git a/contrib/sendmail/cf/feature/use_cw_file.m4 b/contrib/sendmail/cf/feature/use_cw_file.m4
deleted file mode 100644
index 7058cab..0000000
--- a/contrib/sendmail/cf/feature/use_cw_file.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: use_cw_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $')
-divert(-1)
-
-# if defined, the sendmail.cf will read the /etc/mail/local-host-names file
-# to find alternate names for this host. Typically only used when several
-# hosts have been squashed into one another at high speed.
-
-define(`USE_CW_FILE', `')
-
-divert(0)
diff --git a/contrib/sendmail/cf/feature/uucpdomain.m4 b/contrib/sendmail/cf/feature/uucpdomain.m4
deleted file mode 100644
index c6fbc5c..0000000
--- a/contrib/sendmail/cf/feature/uucpdomain.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: uucpdomain.m4,v 8.29 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_UUDOMAIN_TABLE_', `')
-
-LOCAL_CONFIG
-# UUCP domain table
-Kuudomain ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`uudomain',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=uucpdomain)(sendmailMTAKey=%0))',
- `_ARG_')
diff --git a/contrib/sendmail/cf/feature/virtuser_entire_domain.m4 b/contrib/sendmail/cf/feature/virtuser_entire_domain.m4
deleted file mode 100644
index 5a1d9f0..0000000
--- a/contrib/sendmail/cf/feature/virtuser_entire_domain.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1999 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: virtuser_entire_domain.m4,v 8.2 1999/03/16 00:43:05 ca Exp $')
-divert(-1)
-
-define(`_VIRTUSER_ENTIRE_DOMAIN_', 1)
diff --git a/contrib/sendmail/cf/feature/virtusertable.m4 b/contrib/sendmail/cf/feature/virtusertable.m4
deleted file mode 100644
index 1717b66..0000000
--- a/contrib/sendmail/cf/feature/virtusertable.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-divert(-1)
-#
-# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
-# 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.
-#
-#
-
-divert(0)
-VERSIONID(`$Id: virtusertable.m4,v 8.23 2002/06/27 23:23:57 gshapiro Exp $')
-divert(-1)
-
-define(`_VIRTUSER_TABLE_', `')
-
-LOCAL_CONFIG
-# Virtual user table (maps incoming users)
-Kvirtuser ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`virtusertable',
- defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=virtuser)(sendmailMTAKey=%0))',
- `_ARG_')
OpenPOWER on IntegriCloud