freebsd.mc revision 157703
1158115Sumedivert(-1) 2158115Sume# 3158115Sume# Copyright (c) 1983 Eric P. Allman 4158115Sume# Copyright (c) 1988, 1993 5158115Sume# The Regents of the University of California. All rights reserved. 6158115Sume# 7158115Sume# Redistribution and use in source and binary forms, with or without 8158115Sume# modification, are permitted provided that the following conditions 9158115Sume# are met: 10158115Sume# 1. Redistributions of source code must retain the above copyright 11158115Sume# notice, this list of conditions and the following disclaimer. 12158115Sume# 2. Redistributions in binary form must reproduce the above copyright 13158115Sume# notice, this list of conditions and the following disclaimer in the 14158115Sume# documentation and/or other materials provided with the distribution. 15158115Sume# 3. All advertising materials mentioning features or use of this software 16158115Sume# must display the following acknowledgement: 17158115Sume# This product includes software developed by the University of 18158115Sume# California, Berkeley and its contributors. 19158115Sume# 4. Neither the name of the University nor the names of its contributors 20158115Sume# may be used to endorse or promote products derived from this software 21158115Sume# without specific prior written permission. 22158115Sume# 23158115Sume# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24158115Sume# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25158115Sume# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26158115Sume# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27158115Sume# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28158115Sume# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29158115Sume# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30158115Sume# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31158115Sume# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32158115Sume# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33158115Sume# SUCH DAMAGE. 34158115Sume# 35194095Sdes 36158115Sume# 37158115Sume# This is a generic configuration file for FreeBSD 5.X and later systems. 38158115Sume# If you want to customize it, copy it to a name appropriate for your 39158115Sume# environment and do the modifications there. 40158115Sume# 41158115Sume# The best documentation for this .mc file is: 42158115Sume# /usr/share/sendmail/cf/README or 43158115Sume# /usr/src/contrib/sendmail/cf/README 44158115Sume# 45158115Sume 46158115Sumedivert(0) 47158115SumeVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 147357 2005-06-14 02:25:17Z gshapiro $') 48158115SumeOSTYPE(freebsd6) 49158115SumeDOMAIN(generic) 50158115Sume 51158115SumeFEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access') 52158115SumeFEATURE(blacklist_recipients) 53158115SumeFEATURE(local_lmtp) 54158115SumeFEATURE(mailertable, `hash -o /etc/mail/mailertable') 55158115SumeFEATURE(virtusertable, `hash -o /etc/mail/virtusertable') 56158115Sume 57158115Sumednl Uncomment to allow relaying based on your MX records. 58158115Sumednl NOTE: This can allow sites to use your server as a backup MX without 59158115Sumednl your permission. 60158115Sumednl FEATURE(relay_based_on_MX) 61158115Sume 62158115Sumednl DNS based black hole lists 63158115Sumednl -------------------------------- 64158115Sumednl DNS based black hole lists come and go on a regular basis 65158115Sumednl so this file will not serve as a database of the available servers. 66158115Sumednl For that, visit 67158115Sumednl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ 68194109Sdes 69194109Sdesdnl Uncomment to activate Realtime Blackhole List 70158115Sumednl information available at http://www.mail-abuse.com/ 71158115Sumednl NOTE: This is a subscription service as of July 31, 2001 72158115Sumednl FEATURE(dnsbl) 73158115Sumednl Alternatively, you can provide your own server and rejection message: 74158115Sumednl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') 75158115Sume 76158115Sumednl Dialup users should uncomment and define this appropriately 77158115Sumednl define(`SMART_HOST', `your.isp.mail.server') 78194104Sdes 79158115Sumednl Uncomment the first line to change the location of the default 80158115Sumednl /etc/mail/local-host-names and comment out the second line. 81158115Sumednl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') 82158115Sumedefine(`confCW_FILE', `-o /etc/mail/local-host-names') 83158115Sume 84158115Sumednl Enable for both IPv4 and IPv6 (optional) 85194104SdesDAEMON_OPTIONS(`Name=IPv4, Family=inet') 86194104SdesDAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') 87194104Sdes 88158115Sumedefine(`confBIND_OPTS', `WorkAroundBrokenAAAA') 89158115Sumedefine(`confNO_RCPT_ACTION', `add-to-undisclosed') 90158115Sumedefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') 91158115SumeMAILER(local) 92158115SumeMAILER(smtp) 93158115Sume