2
#-----------------------------------------------------------------------------
3
# $Sendmail: debproto.mc,v 8.14.4 2010-11-03 22:21:32 cowboy Exp $
5
# Copyright (c) 1998-2010 Richard Nelson. All Rights Reserved.
7
# cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure.
9
# sendmail.mc prototype config file for building Sendmail 8.14.4
11
# Note: the .in file supports 8.7.6 - 9.0.0, but the generated
12
# file is customized to the version noted above.
14
# This file is used to configure Sendmail for use with Debian systems.
16
# If you modify this file, you will have to regenerate /etc/mail/sendmail.cf
17
# by running this file through the m4 preprocessor via one of the following:
18
# * make (or make -C /etc/mail)
20
# * m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
21
# The first two options are preferred as they will also update other files
22
# that depend upon the contents of this file.
24
# The best documentation for this .mc file is:
25
# /usr/share/doc/sendmail-doc/cf.README.gz
27
#-----------------------------------------------------------------------------
30
# Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved.
32
# This file is used to configure Sendmail for use with Debian systems.
34
define(`_USE_ETC_MAIL_')dnl
35
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
36
VERSIONID(`$Id: sendmail.mc, v 8.14.4-2 2010-11-03 22:21:32 cowboy Exp $')
38
DOMAIN(`debian-mta')dnl
39
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
40
dnl undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS=
41
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
45
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
46
dnl # into this directory before writing files.
47
dnl # If *all* your user accounts are under /home then use that
48
dnl # instead - it will prevent any writes outside of /home !
49
dnl # define(`confSAFE_FILE_ENV', `')dnl
51
dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!
52
dnl # Remove `, Addr=' clauses to receive from any interface
53
dnl # If you want to support IPv6, switch the commented/uncommentd lines
55
FEATURE(`no_default_msa')dnl
56
dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
57
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
58
dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea, Addr=::1')dnl
59
DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1')dnl
61
dnl # Be somewhat anal in what we allow
62
define(`confPRIVACY_FLAGS',dnl
63
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
65
dnl # Define connection throttling and window length
66
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
67
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
71
dnl # use /etc/mail/local-host-names
72
FEATURE(`use_cw_file')dnl
74
dnl # The access db is the basis for most of sendmail's checking
75
FEATURE(`access_db', , `skip')dnl
77
dnl # The greet_pause feature stops some automail bots - but check the
78
dnl # provided access db for details on excluding localhosts...
79
FEATURE(`greet_pause', `1000')dnl 1 seconds
81
dnl # Delay_checks allows sender<->recipient checking
82
FEATURE(`delay_checks', `friend', `n')dnl
84
dnl # If we get too many bad recipients, slow things down...
85
define(`confBAD_RCPT_THROTTLE',`3')dnl
87
dnl # Stop connections that overflow our concurrent and time connection rates
88
FEATURE(`conncontrol', `nodelay', `terminate')dnl
89
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
91
dnl # If you're on a dialup link, you should enable this - so sendmail
92
dnl # will not bring up the link (it will queue mail for later)
93
dnl define(`confCON_EXPENSIVE',`True')dnl
95
dnl # Dialup/LAN connection overrides
97
include(`/etc/mail/m4/dialup.m4')dnl
98
include(`/etc/mail/m4/provider.m4')dnl
100
dnl # Default Mailer setup