freebsd.mc revision 90801
13229Spstdivert(-1) 23229Spst# 33229Spst# Copyright (c) 1983 Eric P. Allman 43229Spst# Copyright (c) 1988, 1993 53229Spst# The Regents of the University of California. All rights reserved. 63229Spst# 73229Spst# Redistribution and use in source and binary forms, with or without 83229Spst# modification, are permitted provided that the following conditions 93229Spst# are met: 103229Spst# 1. Redistributions of source code must retain the above copyright 113229Spst# notice, this list of conditions and the following disclaimer. 123229Spst# 2. Redistributions in binary form must reproduce the above copyright 133229Spst# notice, this list of conditions and the following disclaimer in the 143229Spst# documentation and/or other materials provided with the distribution. 153229Spst# 3. All advertising materials mentioning features or use of this software 163229Spst# must display the following acknowledgement: 173229Spst# This product includes software developed by the University of 183229Spst# California, Berkeley and its contributors. 193229Spst# 4. Neither the name of the University nor the names of its contributors 203229Spst# may be used to endorse or promote products derived from this software 213229Spst# without specific prior written permission. 223229Spst# 233229Spst# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 243229Spst# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 253229Spst# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 263229Spst# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 273229Spst# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 283229Spst# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 293229Spst# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 303229Spst# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 313229Spst# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 323229Spst# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 333229Spst# SUCH DAMAGE. 343229Spst# 353229Spst 363229Spst# 373229Spst# This is a generic configuration file for FreeBSD 4.X and later systems. 383229Spst# If you want to customize it, copy it to a name appropriate for your 393229Spst# environment and do the modifications there. 403229Spst# 413229Spst# The best documentation for this .mc file is: 423229Spst# /usr/share/sendmail/cf/README or 433229Spst# /usr/src/contrib/sendmail/cf/README 443229Spst# 453229Spst 463229Spstdivert(0) 473229SpstVERSIONID(`$FreeBSD: head/etc/sendmail/freebsd.mc 90801 2002-02-17 22:08:18Z gshapiro $') 483229SpstOSTYPE(freebsd5) 493229SpstDOMAIN(generic) 503229Spst 513229SpstFEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access') 523229SpstFEATURE(blacklist_recipients) 533229SpstFEATURE(local_lmtp) 543229SpstFEATURE(mailertable, `hash -o /etc/mail/mailertable') 553229SpstFEATURE(relay_based_on_MX) 563229SpstFEATURE(virtusertable, `hash -o /etc/mail/virtusertable') 573229Spst 583229Spstdnl Uncomment to activate Realtime Blackhole List 593229Spstdnl information available at http://www.mail-abuse.com/ 603229Spstdnl NOTE: This is a subscription service as of July 31, 2001 613229Spstdnl FEATURE(dnsbl) 623229Spstdnl Alternatively, you can provide your own rejection message for the RBL: 633229Spstdnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') 643229Spst 653229Spstdnl Other DNS based black hole lists 663229Spstdnl -------------------------------- 673229Spstdnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/ 683229Spstdnl NOTE: This is a subscription service as of July 31, 2001 693229Spstdnl FEATURE(dnsbl, `relays.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected; see http://mail-abuse.org/cgi-bin/nph-rss?" $&{client_addr}') 703229Spst 713229Spstdnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/ 723229Spstdnl NOTE: This is a subscription service as of July 31, 2001 733229Spstdnl FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm"') 743229Spst 753229Spstdnl Dialup users should uncomment and define this appropriately 763229Spstdnl define(`SMART_HOST', `your.isp.mail.server') 773229Spst 783229Spstdnl Uncomment the first line to change the location of the default 793229Spstdnl /etc/mail/local-host-names and comment out the second line. 803229Spstdnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') 813229Spstdefine(`confCW_FILE', `-o /etc/mail/local-host-names') 823229Spst 833229Spstdnl Uncomment both of the following lines to listen on IPv6 as well as IPv4 843229Spstdnl DAEMON_OPTIONS(`Name=IPv4, Family=inet') 853229Spstdnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6') 863229Spst 873229Spstdefine(`confMAX_MIME_HEADER_LENGTH', `256/128') 883229Spstdefine(`confNO_RCPT_ACTION', `add-to-undisclosed') 893229Spstdefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') 903229SpstMAILER(local) 913229SpstMAILER(smtp) 923229Spst