diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-09-17 15:10:37 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-09-17 15:10:37 +0000 |
| commit | 464dcfe228252ca8def24f45e4a0f34e6bd28297 (patch) | |
| tree | a7f04887e56cfb9a681cc2285e5397d50c98ab1e /contrib/sendmail/cf/feature | |
| parent | 58fec675655367c5258890235a8cb889c2b53fac (diff) | |
This commit was manufactured by cvs2svn to create tagvendor/sendmail/200309_parseaddr_patch
'sendmail-vendor-sendmail_200309_parseaddr_patch'.
Diffstat (limited to 'contrib/sendmail/cf/feature')
50 files changed, 0 insertions, 1267 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 4c39884935bf..000000000000 --- 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 a54507c75498..000000000000 --- 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 796cc13219d2..000000000000 --- a/contrib/sendmail/cf/feature/access_db.m4 +++ /dev/null @@ -1,41 +0,0 @@ -divert(-1) -# -# Copyright (c) 1998-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: access_db.m4,v 8.24 2002/03/06 21:50:25 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(_ARG3_),`skip',`define(`_ACCESS_SKIP_', `1')') -ifelse(lower(_ARG3_),`lookupdotdomain',`define(`_LOOKUPDOTDOMAIN_', `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_)') - ') - ') - ') - -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 -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 aa264f961d27..000000000000 --- 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 a29956a635b4..000000000000 --- 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 3533d3067946..000000000000 --- a/contrib/sendmail/cf/feature/authinfo.m4 +++ /dev/null @@ -1,22 +0,0 @@ -divert(-1) -# -# Copyright (c) 2000-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: authinfo.m4,v 1.7 2001/03/16 00:51:25 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 -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=authinfo)(sendmailMTAKey=%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 911d2b542192..000000000000 --- 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 3232be80d316..000000000000 --- a/contrib/sendmail/cf/feature/bitdomain.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: bitdomain.m4,v 8.28 2001/03/16 00:51:25 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 -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 d6218d119401..000000000000 --- 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/compat_check.m4 b/contrib/sendmail/cf/feature/compat_check.m4 deleted file mode 100644 index a6125edf2516..000000000000 --- 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/delay_checks.m4 b/contrib/sendmail/cf/feature/delay_checks.m4 deleted file mode 100644 index 151df956668f..000000000000 --- 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 7389646bec1a..000000000000 --- a/contrib/sendmail/cf/feature/dnsbl.m4 +++ /dev/null @@ -1,34 +0,0 @@ -divert(-1) -# -# Copyright (c) 1998-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. -# -# - -dnl 8.13: ifdef(`DNSBL_MAP', `', `define(`DNSBL_MAP', `dns -R A')') -ifdef(`DNSBL_MAP', `', `define(`DNSBL_MAP', `host')') -divert(0) -ifdef(`_DNSBL_R_',`dnl',`dnl -VERSIONID(`$Id: dnsbl.m4,v 8.28 2002/05/19 21:22:40 gshapiro Exp $') -define(`_DNSBL_R_',`') -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_', `ifelse(len(X`'_ARG_),`1',`blackholes.mail-abuse.org',_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.7.1 $: _DNSBL_MSG_TMP_') -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 b04b4971b863..000000000000 --- a/contrib/sendmail/cf/feature/domaintable.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: domaintable.m4,v 8.22 2001/03/16 00:51:25 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 -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 c713153b637f..000000000000 --- a/contrib/sendmail/cf/feature/enhdnsbl.m4 +++ /dev/null @@ -1,44 +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) -ifdef(`_EDNSBL_R_',`dnl',`dnl -VERSIONID(`$Id: enhdnsbl.m4,v 1.9 2002/05/19 21:27:29 gshapiro 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_', `ifelse(len(X`'_ARG_),`1',`blackholes.mail-abuse.org',_ARG_)')dnl -define(`_EDNSBL_MSG_', `ifelse(len(X`'_ARG2_),`1',`"550 Rejected: " $`'&{client_addr} " listed at '_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 -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.7.1 $: _EDNSBL_MSG_TMP_') -R<?>_EDNSBL_MATCH_ $#error $@ 5.7.1 $: _EDNSBL_MSG_ -ifelse(len(X`'_ARG5_),`1',`dnl', -`R<?>_ARG5_ $#error $@ 5.7.1 $: _EDNSBL_MSG_') -ifelse(len(X`'_ARG6_),`1',`dnl', -`R<?>_ARG6_ $#error $@ 5.7.1 $: _EDNSBL_MSG_') -ifelse(len(X`'_ARG7_),`1',`dnl', -`R<?>_ARG7_ $#error $@ 5.7.1 $: _EDNSBL_MSG_') -ifelse(len(X`'_ARG8_),`1',`dnl', -`R<?>_ARG8_ $#error $@ 5.7.1 $: _EDNSBL_MSG_') -ifelse(len(X`'_ARG9_),`1',`dnl', -`R<?>_ARG9_ $#error $@ 5.7.1 $: _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 fab586af110c..000000000000 --- 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 c20022a91850..000000000000 --- a/contrib/sendmail/cf/feature/genericstable.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: genericstable.m4,v 8.21 2001/03/16 00:51:26 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 -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=generics)(sendmailMTAKey=%0))', - `_ARG_') diff --git a/contrib/sendmail/cf/feature/ldap_routing.m4 b/contrib/sendmail/cf/feature/ldap_routing.m4 deleted file mode 100644 index 72a6e2643da7..000000000000 --- a/contrib/sendmail/cf/feature/ldap_routing.m4 +++ /dev/null @@ -1,39 +0,0 @@ -divert(-1) -# -# Copyright (c) 1999-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: ldap_routing.m4,v 8.10 2002/03/27 22:17:43 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')') - -# 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_')', - `define(`_LDAP_ROUTING_', `_MUST_EXIST_')') - -# Check for fouth 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_')') - -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 f86ebd4567c9..000000000000 --- 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 f3c371b9384f..000000000000 --- a/contrib/sendmail/cf/feature/local_lmtp.m4 +++ /dev/null @@ -1,27 +0,0 @@ -divert(-1) -# -# Copyright (c) 1998-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_lmtp.m4,v 8.16 2000/08/18 18:58:45 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', `PSXfmnz9') -define(`LOCAL_MAILER_ARGS', `mail.local -l') -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 de2300f2f0e5..000000000000 --- 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 eaf83eab3828..000000000000 --- 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.21.42.1 2002/11/17 04:25:07 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 f8c2a31f3022..000000000000 --- 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 abd1b9c9ff68..000000000000 --- 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 e4dcd701cd41..000000000000 --- a/contrib/sendmail/cf/feature/mailertable.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: mailertable.m4,v 8.23 2001/03/16 00:51:26 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 -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 e2bcc650616e..000000000000 --- 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 74d3aa056096..000000000000 --- 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 f4bc64a9d733..000000000000 --- a/contrib/sendmail/cf/feature/msp.m4 +++ /dev/null @@ -1,76 +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)dnl -VERSIONID(`$Id: msp.m4,v 1.32 2002/03/26 22:02:03 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', 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/no_default_msa.m4 b/contrib/sendmail/cf/feature/no_default_msa.m4 deleted file mode 100644 index 5a053399fc35..000000000000 --- 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 05baa7a47b45..000000000000 --- 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/nodns.m4 b/contrib/sendmail/cf/feature/nodns.m4 deleted file mode 100644 index c5acadf7eceb..000000000000 --- a/contrib/sendmail/cf/feature/nodns.m4 +++ /dev/null @@ -1,22 +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: nodns.m4,v 8.14 1999/07/22 17:55:35 gshapiro Exp $') -divert(-1) - -undefine(`confBIND_OPTS')dnl -errprint(`FEATURE(nodns) is no-op. -Use ServiceSwitchFile ('ifdef(`confSERVICE_SWITCH_FILE',confSERVICE_SWITCH_FILE,MAIL_SETTINGS_DIR`service.switch')`) if your OS does not provide its own instead. -') diff --git a/contrib/sendmail/cf/feature/notsticky.m4 b/contrib/sendmail/cf/feature/notsticky.m4 deleted file mode 100644 index 1cecca5f13e3..000000000000 --- 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 a03104964dd2..000000000000 --- 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 8f35ca1c167f..000000000000 --- 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 bb603a607ba4..000000000000 --- 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 837da99febcb..000000000000 --- 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 17cb7d1d8b0f..000000000000 --- 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 06715a0f3f8f..000000000000 --- 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/redirect.m4 b/contrib/sendmail/cf/feature/redirect.m4 deleted file mode 100644 index e167865efefa..000000000000 --- 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 872680a480f5..000000000000 --- 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 a720b167f279..000000000000 --- 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 867d4eda6408..000000000000 --- 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 9858eb8e3b90..000000000000 --- 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 44bcbd670ec5..000000000000 --- 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/smrsh.m4 b/contrib/sendmail/cf/feature/smrsh.m4 deleted file mode 100644 index 2159ff8580a0..000000000000 --- 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 1e95be44bcc2..000000000000 --- 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_ct_file.m4 b/contrib/sendmail/cf/feature/use_ct_file.m4 deleted file mode 100644 index 9e372ec567ca..000000000000 --- 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 7058cab1417d..000000000000 --- 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 4d23229135f6..000000000000 --- a/contrib/sendmail/cf/feature/uucpdomain.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: uucpdomain.m4,v 8.27 2001/03/16 00:51:26 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 -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 5a1d9f0e9fab..000000000000 --- 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 d9c628f5fbaf..000000000000 --- a/contrib/sendmail/cf/feature/virtusertable.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: virtusertable.m4,v 8.21 2001/03/16 00:51:26 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 -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=virtuser)(sendmailMTAKey=%0))', - `_ARG_') |
