xref: /onnv-gate/usr/src/cmd/sendmail/cf/feature/relay_mail_from.m4 (revision 0:68f95e015346)
1*0Sstevel@tonic-gatedivert(-1)
2*0Sstevel@tonic-gate#
3*0Sstevel@tonic-gate# Copyright (c) 1999, 2001 Sendmail, Inc. and its suppliers.
4*0Sstevel@tonic-gate#	All rights reserved.
5*0Sstevel@tonic-gate#
6*0Sstevel@tonic-gate# By using this file, you agree to the terms and conditions set
7*0Sstevel@tonic-gate# forth in the LICENSE file which can be found at the top level of
8*0Sstevel@tonic-gate# the sendmail distribution.
9*0Sstevel@tonic-gate#
10*0Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
11*0Sstevel@tonic-gate#
12*0Sstevel@tonic-gate
13*0Sstevel@tonic-gatedivert(0)
14*0Sstevel@tonic-gateVERSIONID(`$Id: relay_mail_from.m4,v 8.3 2001/02/06 16:07:12 ca Exp $')
15*0Sstevel@tonic-gatedivert(-1)
16*0Sstevel@tonic-gate
17*0Sstevel@tonic-gateifdef(`_ACCESS_TABLE_',
18*0Sstevel@tonic-gate	`define(`_RELAY_DB_FROM_', 1)
19*0Sstevel@tonic-gate	ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
20*0Sstevel@tonic-gate	`errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
21*0Sstevel@tonic-gate')')
22*0Sstevel@tonic-gateerrprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
23*0Sstevel@tonic-gate	relay.  Use SMTP AUTH or STARTTLS instead.
24*0Sstevel@tonic-gate')
25