freebsd.mc revision 73303
11968Sjjgdivert(-1)
22933Sakulyakh#
31968Sjjg# Copyright (c) 1983 Eric P. Allman
41968Sjjg# Copyright (c) 1988, 1993
51968Sjjg#	The Regents of the University of California.  All rights reserved.
61968Sjjg#
71968Sjjg# Redistribution and use in source and binary forms, with or without
81968Sjjg# modification, are permitted provided that the following conditions
91968Sjjg# are met:
101968Sjjg# 1. Redistributions of source code must retain the above copyright
111968Sjjg#    notice, this list of conditions and the following disclaimer.
121968Sjjg# 2. Redistributions in binary form must reproduce the above copyright
131968Sjjg#    notice, this list of conditions and the following disclaimer in the
141968Sjjg#    documentation and/or other materials provided with the distribution.
151968Sjjg# 3. All advertising materials mentioning features or use of this software
161968Sjjg#    must display the following acknowledgement:
171968Sjjg#	This product includes software developed by the University of
181968Sjjg#	California, Berkeley and its contributors.
191968Sjjg# 4. Neither the name of the University nor the names of its contributors
201968Sjjg#    may be used to endorse or promote products derived from this software
211968Sjjg#    without specific prior written permission.
221968Sjjg#
231968Sjjg# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
241968Sjjg# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
251968Sjjg# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
261985Sjjg# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
271968Sjjg# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
281968Sjjg# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
292933Sakulyakh# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
302933Sakulyakh# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
311968Sjjg# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
321968Sjjg# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
331968Sjjg# SUCH DAMAGE.
341968Sjjg#
351968Sjjg
361968Sjjg#
371968Sjjg#  This is a generic configuration file for 4.4 BSD-based systems.
381968Sjjg#  If you want to customize it, copy it to a name appropriate for your
391968Sjjg#  environment and do the modifications there.
401968Sjjg#
411968Sjjg#  The best documentation for this .mc file is:
421968Sjjg#  /usr/share/sendmail/cf/README or
431968Sjjg#  /usr/src/contrib/sendmail/cf/README
441968Sjjg#
452702Sjjg
461968Sjjgdivert(0)
471968SjjgVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 73303 2001-03-02 02:10:51Z gshapiro $')
481968SjjgOSTYPE(bsd4.4)
491968SjjgDOMAIN(generic)
501968Sjjg
511968SjjgFEATURE(access_db, `hash -o /etc/mail/access')
521968SjjgFEATURE(blacklist_recipients)
531968SjjgFEATURE(local_lmtp)
541968SjjgFEATURE(mailertable, `hash -o /etc/mail/mailertable')
551968SjjgFEATURE(relay_based_on_MX)
561968SjjgFEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
571968Sjjg
581968Sjjgdnl Uncomment to activate Realtime Blackhole List (recommended!)
591968Sjjgdnl information available at http://maps.vix.com/rbl/
601968Sjjgdnl FEATURE(dnsbl)
611968Sjjgdnl Alternatively, you can provide your own rejection message for the RBL:
621968Sjjgdnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')
631968Sjjg
641968Sjjgdnl Other DNS based black hole lists
651968Sjjgdnl --------------------------------
661968Sjjgdnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/
671968Sjjgdnl FEATURE(dnsbl, `relays.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected; see http://mail-abuse.org/cgi-bin/nph-rss?" $&{client_addr}')
681968Sjjg
691968Sjjgdnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/
701968Sjjgdnl FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm"')
711968Sjjg
721968Sjjgdnl ORBS also offers a multitude of DNS based block hole lists.  For more
731968Sjjgdnl information, visit: http://www.orbs.org/usingindex.html
741968Sjjg
751968Sjjgdnl Dialup users should uncomment and define this appropriately
761968Sjjgdnl define(`SMART_HOST', `your.isp.mail.server')
771968Sjjg
781968Sjjgdnl Uncomment the first line to change the location of the default
791968Sjjgdnl /etc/mail/local-host-names and comment out the second line.
801968Sjjgdnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
811968Sjjgdefine(`confCW_FILE', `-o /etc/mail/local-host-names')
821968Sjjg
831968Sjjgdnl Uncomment both of the following lines to listen on IPv6 as well as IPv4
841968Sjjgdnl DAEMON_OPTIONS(`Name=IPv4, Family=inet')
851968Sjjgdnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6')
861968Sjjg
871968Sjjgdefine(`confMAX_MIME_HEADER_LENGTH', `256/128')
881968Sjjgdefine(`confNO_RCPT_ACTION', `add-to-undisclosed')
891968Sjjgdefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
901968SjjgMAILER(local)
911968SjjgMAILER(smtp)
921968Sjjg