]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/sendmail/cf/feature/relay_mail_from.m4
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / sendmail / cf / feature / relay_mail_from.m4
1 divert(-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 #
11
12 divert(0)
13 VERSIONID(`$Id: relay_mail_from.m4,v 8.3 2001/02/06 16:07:12 ca Exp $')
14 divert(-1)
15
16 ifdef(`_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 ')')
21 errprint(`*** WARNING: FEATURE(`relay_mail_from') may cause your system to act as open
22         relay.  Use SMTP AUTH or STARTTLS instead.
23 ')