freebsd.mc revision 203005
1184588Sdfrdivert(-1) 2184588Sdfr# 3184588Sdfr# Copyright (c) 1983 Eric P. Allman 4184588Sdfr# Copyright (c) 1988, 1993 5184588Sdfr# The Regents of the University of California. All rights reserved. 6184588Sdfr# 7184588Sdfr# Redistribution and use in source and binary forms, with or without 8184588Sdfr# modification, are permitted provided that the following conditions 9184588Sdfr# are met: 10184588Sdfr# 1. Redistributions of source code must retain the above copyright 11184588Sdfr# notice, this list of conditions and the following disclaimer. 12184588Sdfr# 2. Redistributions in binary form must reproduce the above copyright 13184588Sdfr# notice, this list of conditions and the following disclaimer in the 14184588Sdfr# documentation and/or other materials provided with the distribution. 15184588Sdfr# 3. All advertising materials mentioning features or use of this software 16184588Sdfr# must display the following acknowledgement: 17184588Sdfr# This product includes software developed by the University of 18184588Sdfr# California, Berkeley and its contributors. 19184588Sdfr# 4. Neither the name of the University nor the names of its contributors 20184588Sdfr# may be used to endorse or promote products derived from this software 21184588Sdfr# without specific prior written permission. 22184588Sdfr# 23184588Sdfr# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24184588Sdfr# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25184588Sdfr# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26184588Sdfr# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27184588Sdfr# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28184588Sdfr# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29184588Sdfr# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30184588Sdfr# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31184588Sdfr# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32184588Sdfr# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33184588Sdfr# SUCH DAMAGE. 34184588Sdfr# 35184588Sdfr 36184588Sdfr# 37184588Sdfr# This is a generic configuration file for FreeBSD 6.X and later systems. 38184588Sdfr# If you want to customize it, copy it to a name appropriate for your 39184588Sdfr# environment and do the modifications there. 40184588Sdfr# 41184588Sdfr# The best documentation for this .mc file is: 42184588Sdfr# /usr/share/sendmail/cf/README or 43184588Sdfr# /usr/src/contrib/sendmail/cf/README 44184588Sdfr# 45184588Sdfr 46184588Sdfrdivert(0) 47184588SdfrVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 203005 2010-01-26 04:44:12Z gshapiro $') 48184588SdfrOSTYPE(freebsd6) 49184588SdfrDOMAIN(generic) 50184588Sdfr 51184588SdfrFEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access') 52184588SdfrFEATURE(blacklist_recipients) 53184588SdfrFEATURE(local_lmtp) 54184588SdfrFEATURE(mailertable, `hash -o /etc/mail/mailertable') 55184588SdfrFEATURE(virtusertable, `hash -o /etc/mail/virtusertable') 56184588Sdfr 57184588Sdfrdnl Uncomment to allow relaying based on your MX records. 58184588Sdfrdnl NOTE: This can allow sites to use your server as a backup MX without 59184588Sdfrdnl your permission. 60184588Sdfrdnl FEATURE(relay_based_on_MX) 61184588Sdfr 62184588Sdfrdnl DNS based black hole lists 63184588Sdfrdnl -------------------------------- 64184588Sdfrdnl DNS based black hole lists come and go on a regular basis 65184588Sdfrdnl so this file will not serve as a database of the available servers. 66184588Sdfrdnl For that, visit 67184588Sdfrdnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/ 68184588Sdfr 69184588Sdfrdnl Uncomment to activate Realtime Blackhole List 70184588Sdfrdnl information available at http://www.mail-abuse.com/ 71184588Sdfrdnl NOTE: This is a subscription service as of July 31, 2001 72184588Sdfrdnl FEATURE(dnsbl) 73184588Sdfrdnl Alternatively, you can provide your own server and rejection message: 74184588Sdfrdnl FEATURE(dnsbl, `blackholes.mail-abuse.org', ``"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}'') 75184588Sdfr 76184588Sdfrdnl Dialup users should uncomment and define this appropriately 77184588Sdfrdnl define(`SMART_HOST', `your.isp.mail.server') 78184588Sdfr 79184588Sdfrdnl Uncomment the first line to change the location of the default 80184588Sdfrdnl /etc/mail/local-host-names and comment out the second line. 81184588Sdfrdnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') 82184588Sdfrdefine(`confCW_FILE', `-o /etc/mail/local-host-names') 83184588Sdfr 84184588Sdfrdnl Enable for both IPv4 and IPv6 (optional) 85184588SdfrDAEMON_OPTIONS(`Name=IPv4, Family=inet') 86184588SdfrDAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') 87184588Sdfr 88184588Sdfrdefine(`confBIND_OPTS', `WorkAroundBrokenAAAA') 89184588Sdfrdefine(`confNO_RCPT_ACTION', `add-to-undisclosed') 90184588Sdfrdefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') 91184588SdfrMAILER(local) 92184588SdfrMAILER(smtp) 93184588Sdfr