relay_mail_from.m4 revision 90792
1104349Sphkdivert(-1)
2104349Sphk#
3104349Sphk# Copyright (c) 1999, 2001 Sendmail, Inc. and its suppliers.
4104349Sphk#	All rights reserved.
5104349Sphk#
6178848Scokane# By using this file, you agree to the terms and conditions set
7178848Scokane# forth in the LICENSE file which can be found at the top level of
8104349Sphk# the sendmail distribution.
9178848Scokane#
10178848Scokane#
11104349Sphk
12178848Scokanedivert(0)
13178848ScokaneVERSIONID(`$Id: relay_mail_from.m4,v 8.3 2001/02/06 16:07:12 ca Exp $')
14178848Scokanedivert(-1)
15178848Scokane
16178848Scokaneifdef(`_ACCESS_TABLE_',
17178848Scokane	`define(`_RELAY_DB_FROM_', 1)
18178848Scokane	ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
19178848Scokane	`errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
20178848Scokane')')
21104349Sphkerrprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
22104349Sphk	relay.  Use SMTP AUTH or STARTTLS instead.
23178848Scokane')
24178848Scokane