summaryrefslogtreecommitdiff
path: root/dbmail.conf
blob: 31eadd39b17d3e9bfbb26b8c3382acac60e11e8f (plain)
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# $Id$
# (c) 2000-2001 IC&S, The Netherlands 
#
# Configuration file for DBMAIL 
# This configuration file needs to be run through dbmail-config to be effective
# after that, changes are effective inmediatly 


################### SYSTEM WIDE SETTINGS #####################


# TRACE_LEVEL is for debugging purposes
# level 5 is maximum debugging, level 2 logs normal operations
TRACE_LEVEL=2

# TRACE_TO_SYSLOG enables tracing messages to SYSLOG 
# 1 traces to syslog, 0 doesn't
TRACE_TO_SYSLOG=1

# TRACE_VERBOSE enables tracing messages to STDOUT
# 1 traces verbose, 0 doesn't
# You should not use verbose tracing in a production environment
TRACE_VERBOSE=0



################### DBMAIL-SMTP SETTINGS #####################

# SENDMAIL is the location of your sendmail executable
# this is needed for boucing mail
SENDMAIL=/usr/sbin/sendmail

# DBMAIL_FROM_ADDRESS is the email address where bounces come from 
# this can ofcourse be a DBMAIL account
DBMAIL_FROM_ADDRESS=dbmail-bounce@dbmail.org

# POSTMASTER is the postmaster's email address (which is used in the bounce messages)
POSTMASTER=dbmail@dbmail.org


################### DBMAIL-POP3D SETTINGS #####################

# POP3D_EFFECTIVE_USER is the user that dbmail-pop3d will run as
# (if dbmail-pop3d is run on a port < 1024 dbmail-pop3d will have to be started by root)
POP3D_EFFECTIVE_USER=nobody

# POP3D_EFFECTIVE_GROUP is the group that dbmail-pop3d will run as 
POP3D_EFFECTIVE_GROUP=nogroup

# POP3D_BIND_IP is the ipaddress the dbmail-pop3d server has to bind to, * for all addresses
POP3D_BIND_IP=*

# POP3D_BIND_PORT is the port number the dbmail-pop3d server has to bind to. 
POP3D_BIND_PORT=110

# POP3D_DEFAULT_CHILD is the number of children dbmail-pop3d defaultly forks to
# for busy sites this should be set quite high for best performance.
# the pop server will always keep this number of childs alive 
POP3D_DEFAULT_CHILD=30

# POP3D_MAX_CHILD is the maximum of children the dbmail-pop3d is allowed to fork to
# this is also the maximum concurrent connections
POP3D_MAX_CHILD=50

# POP3D_CHILD_MAX_CONNECTS is the maximum number of connections a default childs makes.
# after this it will commit suicide
POP3D_CHILD_MAX_CONNECTS=10000

# POP3D_CHILD_TIMEOUT is the number of seconds before the dbmail-pop3d should shutdown
# a connection which is being idle.
POP3D_CHILD_TIMEOUT=300

# POP3D_IP_RESOLVE whether the dbmail-pop3d should resolve IP numbers to DNS names in the log
# this could make a connection slower since dbmail-pop3d has to wait for a resolve before
# it's able to continue
POP3D_IP_RESOLVE=yes


################### DBMAIL-IMAPD SETTINGS #####################

# IMAPD_EFFECTIVE_USER is the user that dbmail-imapd will run as 
# (if dbmail-imapd is run on a port < 1024 dbmail-imapd will have to be started by root)
IMAPD_EFFECTIVE_USER=nobody

# IMAPD_EFFECTIVE_GROUP is the group that dbmail-imapd will run as
IMAPD_EFFECTIVE_GROUP=nogroup

# IMAPD_BIND_IP is the ipaddress that the dbmail-imapd has to bind to, * from all addresses.
IMAPD_BIND_IP=*

# IMAPD_BIND_PORT is the port that the dbmail-imapd has to bind to.
IMAPD_BIND_PORT=143

# IMAPD_DEFAULT_CHILD is the number of children dbmail-imapd defaultly forks to
IMAPD_DEFAULT_CHILD=5

# IMAPD_MAX_CHILD is the maximum of children the dbmail-imapd is allowed to fork to
IMAPD_MAX_CHILD=15

# IMAPD_CHILD_MAX_CONNECTS is the maximum number of connections a default childs makes.
# after this it will commit suicide
IMAPD_CHILD_MAX_CONNECTS=1000

# IMAPD_DAEMONIZES denotes wheter the IMAP server should daemonize
# This should be set to yes in a production environment
IMAPD_DAEMONIZES=yes

# IMAPD_CHILD_TIMEOUT is the number of seconds before the dbmail-imapd should shutdown
# a connection which is being idle.
# For a IMAP4r1 compliant server the minimum of this value is 1800 (30 minutes)
IMAPD_CHILD_TIMEOUT=3000


################### FULL MTA DBMAIL-SMTPD SETTINGS #####################

# SMTPD_EFFECTIVE_USER is the user that dbmail-smtpd will run as 
# (if dbmail-smtpd is run on a port < 1024 dbmail-smtpd will have to be started by root)
SMTPD_EFFECTIVE_USER=nobody

# SMTPD_EFFECTIVE_GROUP is the group that dbmail-smtpd will run as
SMTPD_EFFECTIVE_GROUP=nogroup

# SMTPD_BIND_IP is the ipaddress that the dbmail-smtpd has to bind to, * from all addresses.
SMTPD_BIND_IP=*

# SMTPD_BIND_PORT is the port that the dbmail-smtpd has to bind to.
SMTPD_BIND_PORT=25

# SMTPD_DEFAULT_CHILD is the number of children dbmail-smtpd defaultly forks to
SMTPD_DEFAULT_CHILD=20

# SMTPD_MAX_CHILD is the maximum of children the dbmail-smtpd is allowed to fork to
SMTPD_MAX_CHILD=30

# SMTPD_CHILD_MAX_CONNECTS is the maximum number of connections a default childs makes.
# after this it will commit suicide
SMTPD_CHILD_MAX_CONNECTS=1000

# SMTPD_DAEMONIZES denotes wheter the SMTP server should daemonize
# This should be set to yes in a production environment
SMTPD_DAEMONIZES=yes

# SMTPD_CHILD_TIMEOUT is the number of seconds before the dbmail-smtpd should shutdown
# a connection which is being idle.
SMTPD_CHILD_TIMEOUT=3000

################### OTHER SETTINGS #####################

# DBMAIL_POP_BEFORE_SMTP enables the POP_BEFORE_SMTP feature. Before you can
# use this feature you'll need to run sql/pop_before_smtp.sql to create the right
# tables
DBMAIL_POP_BEFORE_SMTP=no

DBMAIL_IMAP_BEFORE_SMTP=no

# end of configuration file