xref: /freebsd/contrib/sendmail/cf/feature/relay_mail_from.m4 (revision 02e9120893770924227138ba49df1edb3896112a)
1divert(-1)
2#
3# Copyright (c) 1999, 2001 Proofpoint, 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#
11
12divert(0)
13VERSIONID(`$Id: relay_mail_from.m4,v 8.4 2013-11-22 20:51:11 ca Exp $')
14divert(-1)
15
16ifdef(`_ACCESS_TABLE_',
17	`define(`_RELAY_DB_FROM_', 1)
18	ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
19	`errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
20')')
21errprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
22	relay.  Use SMTP AUTH or STARTTLS instead.
23')
24