xref: /freebsd/contrib/sendmail/cf/feature/relay_mail_from.m4 (revision ee7b0571c2c18bdec848ed2044223cc88db29bd8)
106f25ae9SGregory Neil Shapirodivert(-1)
206f25ae9SGregory Neil Shapiro#
35dd76dd0SGregory Neil Shapiro# Copyright (c) 1999, 2001 Proofpoint, Inc. and its suppliers.
406f25ae9SGregory Neil Shapiro#	All rights reserved.
506f25ae9SGregory Neil Shapiro#
606f25ae9SGregory Neil Shapiro# By using this file, you agree to the terms and conditions set
706f25ae9SGregory Neil Shapiro# forth in the LICENSE file which can be found at the top level of
806f25ae9SGregory Neil Shapiro# the sendmail distribution.
906f25ae9SGregory Neil Shapiro#
1006f25ae9SGregory Neil Shapiro#
1106f25ae9SGregory Neil Shapiro
1206f25ae9SGregory Neil Shapirodivert(0)
13*4313cc83SGregory Neil ShapiroVERSIONID(`$Id: relay_mail_from.m4,v 8.4 2013-11-22 20:51:11 ca Exp $')
1406f25ae9SGregory Neil Shapirodivert(-1)
1506f25ae9SGregory Neil Shapiro
1606f25ae9SGregory Neil Shapiroifdef(`_ACCESS_TABLE_',
1706f25ae9SGregory Neil Shapiro	`define(`_RELAY_DB_FROM_', 1)
1806f25ae9SGregory Neil Shapiro	ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
1940266059SGregory Neil Shapiro	`errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
2006f25ae9SGregory Neil Shapiro')')
2140266059SGregory Neil Shapiroerrprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
2240266059SGregory Neil Shapiro	relay.  Use SMTP AUTH or STARTTLS instead.
2340266059SGregory Neil Shapiro')
24