freebsd.mc revision 123820
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#
3792451Smarkm#  This is a generic configuration file for FreeBSD 5.X and later 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 123820 2003-12-24 21:15:09Z gshapiro $')
4890801SgshapiroOSTYPE(freebsd5)
4972842SgshapiroDOMAIN(generic)
5072842Sgshapiro
5190801SgshapiroFEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
5272842SgshapiroFEATURE(blacklist_recipients)
5372842SgshapiroFEATURE(local_lmtp)
5472842SgshapiroFEATURE(mailertable, `hash -o /etc/mail/mailertable')
5572842SgshapiroFEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
5672842Sgshapiro
5790811Sgshapirodnl Uncomment to allow relaying based on your MX records.
5890811Sgshapirodnl NOTE: This can allow sites to use your server as a backup MX without
5990811Sgshapirodnl       your permission.
6090811Sgshapirodnl FEATURE(relay_based_on_MX)
6190811Sgshapiro
6292933Sgshapirodnl DNS based black hole lists
6392933Sgshapirodnl --------------------------------
6493231Sgshapirodnl DNS based black hole lists come and go on a regular basis
6593231Sgshapirodnl so this file will not serve as a database of the available servers.
66105302Skeramidadnl For that, visit
67105302Skeramidadnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/
6892933Sgshapiro
6979693Sgshapirodnl Uncomment to activate Realtime Blackhole List
7079693Sgshapirodnl information available at http://www.mail-abuse.com/
7179693Sgshapirodnl NOTE: This is a subscription service as of July 31, 2001
7272842Sgshapirodnl FEATURE(dnsbl)
7392933Sgshapirodnl Alternatively, you can provide your own server and rejection message:
7473197Sgshapirodnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')
7572842Sgshapiro
7651616Sjmbdnl Dialup users should uncomment and define this appropriately
7772842Sgshapirodnl define(`SMART_HOST', `your.isp.mail.server')
7872842Sgshapiro
7964622Sgshapirodnl Uncomment the first line to change the location of the default
8064622Sgshapirodnl /etc/mail/local-host-names and comment out the second line.
8172842Sgshapirodnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
8272842Sgshapirodefine(`confCW_FILE', `-o /etc/mail/local-host-names')
8372842Sgshapiro
84123820Sgshapirodnl Enable for both IPv4 and IPv6 (optional)
85123820SgshapiroDAEMON_OPTIONS(`Name=IPv4, Family=inet')
86123820SgshapiroDAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
8773303Sgshapiro
8897029Sgshapirodefine(`confBIND_OPTS', `WorkAroundBrokenAAAA')
8972842Sgshapirodefine(`confNO_RCPT_ACTION', `add-to-undisclosed')
9072842Sgshapirodefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
9172842SgshapiroMAILER(local)
9272842SgshapiroMAILER(smtp)
93