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