File: debian.m4

package info (click to toggle)
sendmail 8.9.3-3slink1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,744 kB
  • ctags: 2,997
  • sloc: ansic: 40,418; perl: 2,044; sh: 1,466; makefile: 319
file content (90 lines) | stat: -rw-r--r-- 4,297 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#	The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed by the University of
#	California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
divert(0)
VERSIONID(`@(#)debian.m4	8.9.3 (Debian) 19990210')
define(`confCF_VERSION', `Debian/GNU')dnl
define(`LOCAL_MAILER_PATH', `/usr/sbin/sensible-mda')dnl
dnl define(`LOCAL_MAILER_FLAGS', `mnru9')dnl
define(`LOCAL_MAILER_FLAGS', `hnu90')dnl
define(`LOCAL_MAILER_ARGS', `sensible-mda $g $u ${client_addr}')dnl
define(`LOCAL_SHELL_FLAGS', `u90')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`USENET_MAILER_PATH', `/usr/bin/inews')dnl
define(`confSAFE_QUEUE', `True')dnl
define(`confTEMP_FILE_MODE', `600')dnl
define(`STATUS_FILE',               `/var/log/sendmail.st')dnl
define(`HELP_FILE',                 `/usr/share/misc/sendmail.hf')dnl
define(`confHOST_STATUS_DIRECTORY', `/var/state/sendmail')dnl
define(`confCW_FILE',               `-o /etc/mail/sendmail.cw')dnl
define(`confCT_FILE',               `-o /etc/mail/sendmail.ct')dnl
define(`confCR_FILE',               `-o /etc/mail/relay-domains')dnl
define(`confUSERDB_SPEC',           `   /etc/mail/users.db')dnl
define(`confCON_EXPENSIVE', `True')dnl
define(`confDIAL_DELAY', `45')dnl
define(`confTO_ICONNECT', `30s')dnl
define(`confQUEUE_SORT_ORDER', `Host')dnl
define(`confMAX_DAEMON_CHILDREN', `30')dnl
define(`confEBINDIR', `/usr/sbin')dnl

# These undocumented features are available in Debian sendmail.
# O PidFile=/var/run/sendmail.pid
# O WritableDirectoriesAreFatal=False
# O ChownIsAlwaysSafe=False
# O DontProbeInterfaces=False
# O MaxRecipientPerMessage=
# O DeadLetterDrop=False
# O RrtImpliesDSN=False
# O TCPWrappers=False   -- not for 8.9.0+

# These are the sendmail 8.9.0 security enhancements
define(`confDONT_BLAME_SENDMAIL',`ClassFileInUnsafeDirPath,ForwardFileInGroupWritableDirPath,GroupWritableAliasFile,GroupWritableForwardFileSafe,GroupWritableIncludeFileSafe,IncludeFileInGroupWritableDirPath,MapInUnsafeDirPath')dnl

LOCAL_CONFIG
# Sendmail 8.9.1a patch for mime headers to protect the various MUAs:
# This option causes MIME headers to be truncated to a total of 256
# characters; no individual field is permitted to exceed 128
# characters. These values should be safe for the common mail clients
# that are vulnerable.
#
# Note: there is a speed trade here, as the entire message must be scanned
O MaxMimeHeaderLength=256/128

# Sendmail 8.9.3 fix for header based DOS
# Number of bytes allowed for mail headers, default=32k.
define(confMAX_HEADERS_LENGTH, 32768)

#
DOMAIN(generic)dnl
FEATURE(access_db, `hash -o /etc/mail/access.db')dnl