summaryrefslogtreecommitdiff
path: root/debian/cf/hack/debian_auth.m4
diff options
context:
space:
mode:
authorRichard A Nelson (Rick) <cowboy@debian.org>2007-11-23 22:02:00 +0000
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 20:07:34 +0200
commitd920c2bbf44af5fa0af8d4112290cb55a0de3c94 (patch)
tree89e7f6bd71eb51c4de65da605366eefcd87affbe /debian/cf/hack/debian_auth.m4
parente2c9ad1abeb477b91d72eaa49080e255de79c907 (diff)
downloadsendmail-debian/8.14.2-2.tar.gz
Imported Debian patch 8.14.2-2debian/8.14.2-2
Diffstat (limited to 'debian/cf/hack/debian_auth.m4')
-rw-r--r--debian/cf/hack/debian_auth.m447
1 files changed, 0 insertions, 47 deletions
diff --git a/debian/cf/hack/debian_auth.m4 b/debian/cf/hack/debian_auth.m4
deleted file mode 100644
index 833ae9a..0000000
--- a/debian/cf/hack/debian_auth.m4
+++ /dev/null
@@ -1,47 +0,0 @@
-divert(-1)dnl
-#-----------------------------------------------------------------------------
-# $Sendmail: debian_auth.m4,v 8.14.2 2007-11-02 22:20:56 cowboy Exp $
-#
-# Copyright (c) 2001-2007 Richard Nelson. All Rights Reserved.
-#
-# cf/hack/debian_auth.m4. Generated from debian_auth.m4.in by configure.
-#
-# debian_trustauth.m4 m4 file for
-# * supporting MSP->MTA and MTA->MTA authentication
-# * supporting the auth= parameter on the mail from: command.
-#
-# This file is an extremely simple example that lets *ALL* trusted users
-# sendmail, daemon, root, uucp, etc. proxy for any user.
-#
-# If you've a better idea, please let me know
-#
-#-----------------------------------------------------------------------------
-divert(0)dnl
-VERSIONID(`$Id: debian_auth.m4,v 8.14.2-1 2007-11-02 22:20:56 cowboy Exp $')
-dnl #
-dnl # MTA as Client authentication - only if authinfo/access_db *NOT* used...
-define(`confDEF_AUTH_INFO', `MAIL_SETTINGS_DIR`'default-auth-info')dnl
-dnl #
-dnl # add (fake) uid 'sendmail' to trusted users - it is used as the id
-dnl # for MSP->MTA, and MTA->MTA proxying.
-ifdef(`confTRUSTED_USERS',
- `define(`confTRUSTED_USERS',
- defn(`confTRUSTED_USERS')`,sendmail')',
- `define(`confTRUSTED_USERS', `sendmail')')dnl
-dnl #
-dnl # Define local rulesets for trust_auth
-LOCAL_RULESETS
-#
-#-----------------------------------------------------------------------------
-# Local_trust_auth: Define who is able to authenticate for whom...
-# The sendmail default is to allow *IFF* authen == author
-# This ruleset also allows trusted users to authenicate as anyone - needed
-# for MSP->MTA and MTA->MTA forwarding of mail from: <...> auth=...
-SLocal_trust_auth
-R$* $: $&{auth_authen} Put authentication id in the workspace
-ifdef(`DEBIAN_DEBUG',dnl
-`R$* $: $(log authtype:$&{auth_type} $) $1
-R$* $: $(log authauthen:$&{auth_authen} $) $1
-R$* $: $(log authauthor:$&{auth_author} $) $1')
-R$=t $@ $#ok Trusted users... Allow trusted users to auth= as anyone
-#-----------------------------------------------------------------------------