13181538dSGregory Neil Shapirodivert(-1) 23181538dSGregory Neil Shapiro# 33181538dSGregory Neil Shapiro# Copyright (c) 1983 Eric P. Allman 43181538dSGregory Neil Shapiro# Copyright (c) 1988, 1993 53181538dSGregory Neil Shapiro# The Regents of the University of California. All rights reserved. 63181538dSGregory Neil Shapiro# 73181538dSGregory Neil Shapiro# Redistribution and use in source and binary forms, with or without 83181538dSGregory Neil Shapiro# modification, are permitted provided that the following conditions 93181538dSGregory Neil Shapiro# are met: 103181538dSGregory Neil Shapiro# 1. Redistributions of source code must retain the above copyright 113181538dSGregory Neil Shapiro# notice, this list of conditions and the following disclaimer. 123181538dSGregory Neil Shapiro# 2. Redistributions in binary form must reproduce the above copyright 133181538dSGregory Neil Shapiro# notice, this list of conditions and the following disclaimer in the 143181538dSGregory Neil Shapiro# documentation and/or other materials provided with the distribution. 159c7f77ffSJohn Marino# 3. Neither the name of the University nor the names of its contributors 163181538dSGregory Neil Shapiro# may be used to endorse or promote products derived from this software 173181538dSGregory Neil Shapiro# without specific prior written permission. 183181538dSGregory Neil Shapiro# 193181538dSGregory Neil Shapiro# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 203181538dSGregory Neil Shapiro# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 213181538dSGregory Neil Shapiro# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 223181538dSGregory Neil Shapiro# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 233181538dSGregory Neil Shapiro# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 243181538dSGregory Neil Shapiro# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 253181538dSGregory Neil Shapiro# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 263181538dSGregory Neil Shapiro# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 273181538dSGregory Neil Shapiro# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 283181538dSGregory Neil Shapiro# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 293181538dSGregory Neil Shapiro# SUCH DAMAGE. 303181538dSGregory Neil Shapiro# 313181538dSGregory Neil Shapiro 323181538dSGregory Neil Shapiro# 339c7f77ffSJohn Marino# This is a template configuration file for DragonFlyBSD and later systems. 349c7f77ffSJohn Marino# It will be overwritten so do not edit it! 359c7f77ffSJohn Marino# 369c7f77ffSJohn Marino# If you want sendmail.cf to be based on a customized version of this file, 379c7f77ffSJohn Marino# copy it to /etc/mail/<hostname>.mc and modify -or- 389c7f77ffSJohn Marino# copy it to any location and set SENDMAIL_MC in /etc/make.conf 399c7f77ffSJohn Marino# to its path, then modify it as desired. 403181538dSGregory Neil Shapiro# 413181538dSGregory Neil Shapiro# The best documentation for this .mc file is: 429c7f77ffSJohn Marino# /usr/local/share/sendmail/cf/README 433181538dSGregory Neil Shapiro# 443181538dSGregory Neil Shapiro 453181538dSGregory Neil Shapirodivert(0) 469c7f77ffSJohn MarinoVERSIONID(`DragonFly: 10 MARCH 2015') 473181538dSGregory Neil ShapiroOSTYPE(dragonfly) 483181538dSGregory Neil ShapiroDOMAIN(generic) 493181538dSGregory Neil Shapiro 50*0affdfeeSJustin C. Sherrilldefine(`confEBINDIR', `/usr/local/libexec') 51*0affdfeeSJustin C. Sherrill 523181538dSGregory Neil ShapiroFEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access') 533181538dSGregory Neil ShapiroFEATURE(blacklist_recipients) 543181538dSGregory Neil ShapiroFEATURE(local_lmtp) 553181538dSGregory Neil ShapiroFEATURE(mailertable, `hash -o /etc/mail/mailertable') 563181538dSGregory Neil ShapiroFEATURE(virtusertable, `hash -o /etc/mail/virtusertable') 573181538dSGregory Neil Shapiro 583181538dSGregory Neil Shapirodnl Uncomment to allow relaying based on your MX records. 593181538dSGregory Neil Shapirodnl NOTE: This can allow sites to use your server as a backup MX without 603181538dSGregory Neil Shapirodnl your permission. 613181538dSGregory Neil Shapirodnl FEATURE(relay_based_on_MX) 623181538dSGregory Neil Shapiro 633181538dSGregory Neil Shapirodnl DNS based black hole lists 643181538dSGregory Neil Shapirodnl -------------------------------- 653181538dSGregory Neil Shapirodnl DNS based black hole lists come and go on a regular basis 663181538dSGregory Neil Shapirodnl so this file will not serve as a database of the available servers. 673181538dSGregory Neil Shapirodnl For that, visit 683181538dSGregory Neil Shapirodnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ 693181538dSGregory Neil Shapiro 703181538dSGregory Neil Shapirodnl Uncomment to activate Realtime Blackhole List 713181538dSGregory Neil Shapirodnl information available at http://www.mail-abuse.com/ 723181538dSGregory Neil Shapirodnl NOTE: This is a subscription service as of July 31, 2001 733181538dSGregory Neil Shapirodnl FEATURE(dnsbl) 743181538dSGregory Neil Shapirodnl Alternatively, you can provide your own server and rejection message: 753181538dSGregory Neil Shapirodnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') 763181538dSGregory Neil Shapiro 773181538dSGregory Neil Shapirodnl Dialup users should uncomment and define this appropriately 783181538dSGregory Neil Shapirodnl define(`SMART_HOST', `your.isp.mail.server') 793181538dSGregory Neil Shapiro 803181538dSGregory Neil Shapirodnl Uncomment the first line to change the location of the default 813181538dSGregory Neil Shapirodnl /etc/mail/local-host-names and comment out the second line. 823181538dSGregory Neil Shapirodnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') 833181538dSGregory Neil Shapirodefine(`confCW_FILE', `-o /etc/mail/local-host-names') 843181538dSGregory Neil Shapiro 853181538dSGregory Neil Shapirodnl Enable both IPv4 and IPv6 (optional) 863181538dSGregory Neil ShapiroDAEMON_OPTIONS(`Name=IPv4, Family=inet') 873181538dSGregory Neil ShapiroDAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') 883181538dSGregory Neil Shapiro 893181538dSGregory Neil Shapirodefine(`confBIND_OPTS', `WorkAroundBrokenAAAA') 903181538dSGregory Neil Shapirodefine(`confNO_RCPT_ACTION', `add-to-undisclosed') 913181538dSGregory Neil Shapirodefine(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') 929c7f77ffSJohn Marinodefine(`confEBINDIR', `/usr/local/libexec') 939c7f77ffSJohn Marinodefine(`UUCP_MAILER_PATH', `/usr/local/bin/uux') 943181538dSGregory Neil ShapiroMAILER(local) 953181538dSGregory Neil ShapiroMAILER(smtp) 96