freebsd.mc revision 72842
112580Speterdivert(-1)
212580Speter#
312580Speter# Copyright (c) 1983 Eric P. Allman
412580Speter# Copyright (c) 1988, 1993
512580Speter#	The Regents of the University of California.  All rights reserved.
612580Speter#
712580Speter# Redistribution and use in source and binary forms, with or without
812580Speter# modification, are permitted provided that the following conditions
912580Speter# are met:
1012580Speter# 1. Redistributions of source code must retain the above copyright
1112580Speter#    notice, this list of conditions and the following disclaimer.
1212580Speter# 2. Redistributions in binary form must reproduce the above copyright
1312580Speter#    notice, this list of conditions and the following disclaimer in the
1412580Speter#    documentation and/or other materials provided with the distribution.
1512580Speter# 3. All advertising materials mentioning features or use of this software
1612580Speter#    must display the following acknowledgement:
1712580Speter#	This product includes software developed by the University of
1812580Speter#	California, Berkeley and its contributors.
1912580Speter# 4. Neither the name of the University nor the names of its contributors
2012580Speter#    may be used to endorse or promote products derived from this software
2112580Speter#    without specific prior written permission.
2212580Speter#
2312580Speter# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2412580Speter# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2512580Speter# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2612580Speter# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2712580Speter# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2812580Speter# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2912580Speter# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3012580Speter# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3112580Speter# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3212580Speter# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3312580Speter# SUCH DAMAGE.
3412580Speter#
3512580Speter
3612580Speter#
3742585Speter#  This is a generic configuration file for 4.4 BSD-based systems.
3842585Speter#  If you want to customize it, copy it to a name appropriate for your
3942585Speter#  environment and do the modifications there.
4012580Speter#
4142585Speter#  The best documentation for this .mc file is:
4272842Sgshapiro#  /usr/share/sendmail/cf/README or
4342585Speter#  /usr/src/contrib/sendmail/cf/README
4442585Speter#
4512580Speter
4672842Sgshapirodivert(0)
4750958SpeterVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 72842 2001-02-22 03:41:14Z gshapiro $')
4872842SgshapiroOSTYPE(bsd4.4)
4972842SgshapiroDOMAIN(generic)
5072842Sgshapiro
5172842SgshapiroFEATURE(access_db, `hash -o /etc/mail/access')
5272842SgshapiroFEATURE(blacklist_recipients)
5372842SgshapiroFEATURE(local_lmtp)
5472842SgshapiroFEATURE(mailertable, `hash -o /etc/mail/mailertable')
5572842SgshapiroFEATURE(relay_based_on_MX)
5672842SgshapiroFEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
5772842Sgshapiro
5842585Speterdnl Uncomment to activate Realtime Blackhole List (recommended!)
5951616Sjmbdnl information available at http://maps.vix.com/rbl/
6072842Sgshapirodnl FEATURE(dnsbl)
6172842Sgshapiro
6272842Sgshapirodnl Other DNS based black hole lists
6372395Sgshapirodnl FEATURE(dnsbl,`blackholes.mail-abuse.org',` Mail from $&{client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?$&{client_addr}')dnl
6472395Sgshapirodnl FEATURE(dnsbl,`relays.mail-abuse.org',` Mail from $&{client_addr} rejected; see http://mail-abuse.org/cgi-bin/nph-rss?$&{client_addr}')dnl
6572842Sgshapiro
6651616Sjmbdnl Many sites reject email connections from dialup ip addresses
6751616Sjmbdnl by using the MAPS Dial-up User List (DUL).  http://maps.vix.com/dul/
6872842Sgshapirodnl FEATURE(dnsbl,`dialups.mail-abuse.org',` Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm')
6972842Sgshapiro
7051616Sjmbdnl Dialup users should uncomment and define this appropriately
7172842Sgshapirodnl define(`SMART_HOST', `your.isp.mail.server')
7272842Sgshapiro
7364622Sgshapirodnl Uncomment the first line to change the location of the default
7464622Sgshapirodnl /etc/mail/local-host-names and comment out the second line.
7572842Sgshapirodnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
7672842Sgshapirodefine(`confCW_FILE', `-o /etc/mail/local-host-names')
7772842Sgshapiro
7872842Sgshapirodefine(`confMAX_MIME_HEADER_LENGTH', `256/128')
7972842Sgshapirodefine(`confNO_RCPT_ACTION', `add-to-undisclosed')
8072842Sgshapirodefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
8172842SgshapiroMAILER(local)
8272842SgshapiroMAILER(smtp)
83