relay_mail_from.m4 revision 98121
1266987Smarkjdivert(-1)
2266987Smarkj#
3266987Smarkj# Copyright (c) 1999, 2001 Sendmail, Inc. and its suppliers.
4266987Smarkj#	All rights reserved.
5266987Smarkj#
6266987Smarkj# By using this file, you agree to the terms and conditions set
7266987Smarkj# forth in the LICENSE file which can be found at the top level of
8266987Smarkj# the sendmail distribution.
9266987Smarkj#
10266987Smarkj#
11266987Smarkj
12266987Smarkjdivert(0)
13266987SmarkjVERSIONID(`$Id: relay_mail_from.m4,v 8.3 2001/02/06 16:07:12 ca Exp $')
14266987Smarkjdivert(-1)
15266987Smarkj
16266987Smarkjifdef(`_ACCESS_TABLE_',
17266987Smarkj	`define(`_RELAY_DB_FROM_', 1)
18266987Smarkj	ifelse(_ARG_,`domain',`define(`_RELAY_DB_FROM_DOMAIN_', 1)')',
19266987Smarkj	`errprint(`*** ERROR: FEATURE(`relay_mail_from') requires FEATURE(`access_db')
20266987Smarkj')')
21266987Smarkjerrprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
22266987Smarkj	relay.  Use SMTP AUTH or STARTTLS instead.
23266987Smarkj')
24266987Smarkj