164562Sgshapirodivert(-1)
264562Sgshapiro#
3261363Sgshapiro# Copyright (c) 1999, 2001 Proofpoint, Inc. and its suppliers.
464562Sgshapiro#	All rights reserved.
564562Sgshapiro#
664562Sgshapiro# By using this file, you agree to the terms and conditions set
764562Sgshapiro# forth in the LICENSE file which can be found at the top level of
864562Sgshapiro# the sendmail distribution.
964562Sgshapiro#
1064562Sgshapiro#
1164562Sgshapiro
1264562Sgshapirodivert(0)
13266692SgshapiroVERSIONID(`$Id: relay_mail_from.m4,v 8.4 2013-11-22 20:51:11 ca Exp $')
1464562Sgshapirodivert(-1)
1564562Sgshapiro
1664562Sgshapiroifdef(`_ACCESS_TABLE_',
1764562Sgshapiro	`define(`_RELAY_DB_FROM_', 1)
1864562Sgshapiro	ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
1990792Sgshapiro	`errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
2064562Sgshapiro')')
2190792Sgshapiroerrprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
2290792Sgshapiro	relay.  Use SMTP AUTH or STARTTLS instead.
2390792Sgshapiro')
24