freebsd.mc revision 55229
1168515Sgshapirodivert(-1)
2168515Sgshapiro#
3168515Sgshapiro# Copyright (c) 1983 Eric P. Allman
4132943Sgshapiro# Copyright (c) 1988, 1993
5266692Sgshapiro#	The Regents of the University of California.  All rights reserved.
6132943Sgshapiro#
7168515Sgshapiro# Redistribution and use in source and binary forms, with or without
890792Sgshapiro# modification, are permitted provided that the following conditions
9168515Sgshapiro# are met:
1090792Sgshapiro# 1. Redistributions of source code must retain the above copyright
11168515Sgshapiro#    notice, this list of conditions and the following disclaimer.
12168515Sgshapiro# 2. Redistributions in binary form must reproduce the above copyright
1390792Sgshapiro#    notice, this list of conditions and the following disclaimer in the
1490792Sgshapiro#    documentation and/or other materials provided with the distribution.
15168515Sgshapiro# 3. All advertising materials mentioning features or use of this software
1690792Sgshapiro#    must display the following acknowledgement:
17168515Sgshapiro#	This product includes software developed by the University of
1890792Sgshapiro#	California, Berkeley and its contributors.
19168515Sgshapiro# 4. Neither the name of the University nor the names of its contributors
2090792Sgshapiro#    may be used to endorse or promote products derived from this software
2190792Sgshapiro#    without specific prior written permission.
22168515Sgshapiro#
23168515Sgshapiro# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24168515Sgshapiro# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25168515Sgshapiro# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26168515Sgshapiro# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27168515Sgshapiro# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28168515Sgshapiro# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29168515Sgshapiro# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30168515Sgshapiro# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31168515Sgshapiro# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32168515Sgshapiro# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3390792Sgshapiro# SUCH DAMAGE.
3490792Sgshapiro#
35168515Sgshapiro
36168515Sgshapiro#
37168515Sgshapiro#  This is a generic configuration file for 4.4 BSD-based systems.
38168515Sgshapiro#  If you want to customize it, copy it to a name appropriate for your
39168515Sgshapiro#  environment and do the modifications there.
40168515Sgshapiro#
41168515Sgshapiro#  The best documentation for this .mc file is:
42168515Sgshapiro#  /usr/src/contrib/sendmail/cf/README
4390792Sgshapiro#
4490792Sgshapiro
45168515Sgshapirodivert(0)dnl
46168515SgshapiroVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 55229 1999-12-29 18:20:23Z peter $')
47168515SgshapiroOSTYPE(bsd4.4)dnl
48168515SgshapiroDOMAIN(generic)dnl
49168515SgshapiroFEATURE(relay_based_on_MX)dnl
50132943SgshapiroFEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
51132943SgshapiroFEATURE(access_db, `hash -o /etc/mail/access')dnl
52132943SgshapiroFEATURE(blacklist_recipients)dnl
53132943SgshapiroFEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
54132943Sgshapirodnl Uncomment to activate Realtime Blackhole List (recommended!)
55132943Sgshapirodnl information available at http://maps.vix.com/rbl/
56132943Sgshapirodnl FEATURE(rbl)dnl
57132943Sgshapirodnl Many sites reject email connections from dialup ip addresses
58132943Sgshapirodnl by using the MAPS Dial-up User List (DUL).  http://maps.vix.com/dul/
59132943Sgshapirodnl Dialup users should uncomment and define this appropriately
60132943Sgshapirodnl define(`SMART_HOST', `your.isp.mail.server')dnl
61168515SgshapiroFEATURE(local_lmtp)dnl
6290792Sgshapirodefine(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl
63168515Sgshapirodefine(`confCW_FILE', `-o /etc/mail/sendmail.cw')dnl
6490792Sgshapirodefine(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
65168515Sgshapirodefine(`confMAX_MIME_HEADER_LENGTH', `256/128')dnl
6690792SgshapiroMAILER(local)dnl
67168515SgshapiroMAILER(smtp)dnl
68168515Sgshapiro