freebsd.mc revision 77358
1142425Snectardivert(-1) 2160814Ssimon# 3142425Snectar# Copyright (c) 1983 Eric P. Allman 4142425Snectar# Copyright (c) 1988, 1993 5142425Snectar# The Regents of the University of California. All rights reserved. 6142425Snectar# 7142425Snectar# Redistribution and use in source and binary forms, with or without 8142425Snectar# modification, are permitted provided that the following conditions 9142425Snectar# are met: 10142425Snectar# 1. Redistributions of source code must retain the above copyright 11142425Snectar# notice, this list of conditions and the following disclaimer. 12142425Snectar# 2. Redistributions in binary form must reproduce the above copyright 13142425Snectar# notice, this list of conditions and the following disclaimer in the 14142425Snectar# documentation and/or other materials provided with the distribution. 15142425Snectar# 3. All advertising materials mentioning features or use of this software 16142425Snectar# must display the following acknowledgement: 17142425Snectar# This product includes software developed by the University of 18142425Snectar# California, Berkeley and its contributors. 19142425Snectar# 4. Neither the name of the University nor the names of its contributors 20142425Snectar# may be used to endorse or promote products derived from this software 21238405Sjkim# without specific prior written permission. 22142425Snectar# 23238405Sjkim# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24142425Snectar# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25142425Snectar# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26142425Snectar# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27142425Snectar# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28142425Snectar# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29142425Snectar# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30142425Snectar# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31142425Snectar# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32142425Snectar# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33142425Snectar# SUCH DAMAGE. 34142425Snectar# 35142425Snectar 36142425Snectar# 37142425Snectar# This is a generic configuration file for FreeBSD 4.X and later systems. 38238405Sjkim# If you want to customize it, copy it to a name appropriate for your 39142425Snectar# environment and do the modifications there. 40142425Snectar# 41142425Snectar# The best documentation for this .mc file is: 42142425Snectar# /usr/share/sendmail/cf/README or 43142425Snectar# /usr/src/contrib/sendmail/cf/README 44142425Snectar# 45142425Snectar 46142425Snectardivert(0) 47142425SnectarVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 77358 2001-05-28 17:49:51Z gshapiro $') 48142425SnectarOSTYPE(freebsd4) 49142425SnectarDOMAIN(generic) 50142425Snectar 51160814SsimonFEATURE(access_db, `hash -o /etc/mail/access') 52160814SsimonFEATURE(blacklist_recipients) 53142425SnectarFEATURE(local_lmtp) 54142425SnectarFEATURE(mailertable, `hash -o /etc/mail/mailertable') 55142425SnectarFEATURE(relay_based_on_MX) 56142425SnectarFEATURE(virtusertable, `hash -o /etc/mail/virtusertable') 57142425Snectar 58142425Snectardnl Uncomment to activate Realtime Blackhole List (recommended!) 59142425Snectardnl information available at http://maps.vix.com/rbl/ 60142425Snectardnl FEATURE(dnsbl) 61142425Snectardnl Alternatively, you can provide your own rejection message for the RBL: 62142425Snectardnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') 63142425Snectar 64142425Snectardnl Other DNS based black hole lists 65142425Snectardnl -------------------------------- 66284285Sjkimdnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/ 67284285Sjkimdnl FEATURE(dnsbl, `relays.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected; see http://mail-abuse.org/cgi-bin/nph-rss?" $&{client_addr}') 68142425Snectar 69160814Ssimondnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/ 70142425Snectardnl FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm"') 71142425Snectar 72142425Snectardnl ORBS also offers a multitude of DNS based block hole lists. For more 73142425Snectardnl information, visit: http://www.orbs.org/usingindex.html 74142425Snectar 75142425Snectardnl Dialup users should uncomment and define this appropriately 76142425Snectardnl define(`SMART_HOST', `your.isp.mail.server') 77142425Snectar 78142425Snectardnl Uncomment the first line to change the location of the default 79142425Snectardnl /etc/mail/local-host-names and comment out the second line. 80142425Snectardnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') 81238405Sjkimdefine(`confCW_FILE', `-o /etc/mail/local-host-names') 82238405Sjkim 83238405Sjkimdnl Uncomment both of the following lines to listen on IPv6 as well as IPv4 84238405Sjkimdnl DAEMON_OPTIONS(`Name=IPv4, Family=inet') 85238405Sjkimdnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6') 86238405Sjkim 87238405Sjkimdefine(`confMAX_MIME_HEADER_LENGTH', `256/128') 88238405Sjkimdefine(`confNO_RCPT_ACTION', `add-to-undisclosed') 89142425Snectardefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') 90142425SnectarMAILER(local) 91142425SnectarMAILER(smtp) 92142425Snectar