blob: be5509f9d71cb1b6b1dceaa6ba4bd86a3a66f206 (
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
|
# Common Configuration file for all qmail daemons
# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/conf-common,v 1.2 2004/07/18 03:29:51 dragonheart Exp $
# Qmail User IDS to run daemons as
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
QMAILLUID=`id -u qmaill`
# Qmail Control Dir (this is actually set in /etc/env.d/99qmail)
#QMAIL_CONTROLDIR=/var/qmail/control
# Host and port to listen on
# We listen on the IPv4 local ip by default
TCPSERVER_HOST=0.0.0.0
TCPSERVER_PORT=${SERVICE}
# you do not need to specify -x, -c, -u or -g in this variable as those are
# added later
TCPSERVER_OPTS="-p -v"
# This tells tcpserver where to file the rules cdb file
[ -d /etc/tcprules.d/ ] && TCPSERVER_RULESCDB=/etc/tcprules.d/tcp.qmail-${SERVICE}.cdb
[ ! -f "${TCPSERVER_RULESCDB}" ] && TCPSERVER_RULESCDB=/etc/tcp.${SERVICE}.cdb
# we limit data and stack segments to 8mbytes, you may need to raise this if
# you are using a filter in QMAILQUEUE
SOFTLIMIT_OPTS="-m 8000000"
# We don't have anything to set QMAILQUEUE to at the moment, so we leave it
# alone Generally it is best to add this in your appropriate (usually SMTP) cdb
# files /etc/tcp.*.cdb OR /etc/tcprules.d/tcp.qmail-*.cdb instead of on a
# global basis, as otherwise outgoing mail will be checked (because qmail-queue
# is used for most parts of qmail) You can also enable this per-server by just
# placing it into the other configuration files by placing the line there
# instead. Please note that the export part is important.
#export QMAILQUEUE=""
# tcpserver maximum concurrency, defaults to 40 in tcpserver
# this controls the maximum number of incoming connections that it will accept
[ -e ${QMAIL_CONTROLDIR}/concurrencyincoming ] && MAXCONN=$(<${QMAIL_CONTROLDIR}/concurrencyincoming) || MAXCONN=40
# logging directives
LOG_OPTS="t" # 't' is for timestamp
LOG_MAXSIZE=2500000 # defalts to '99999' if empty
LOG_MAXCOUNT=10 # defaults to '10' if empty
# build LOG_OPTS from this
[ -n "${LOG_MAXSIZE}" ] && LOG_OPTS="${LOG_OPTS} s${LOG_MAXSIZE}"
[ -n "${LOG_MAXCOUNT}" ] && LOG_OPTS="${LOG_OPTS} n${LOG_MAXCOUNT}"
# directory to log to
LOG_DEST=/var/log/qmail/qmail-${SERVICE}d
# BIG FAT WARNING:
# If you disable this by uncommenting it you will turn _off_ the configuration
# sanity check do so at your own risk!
#QMAIL_DISABLE_SANITY_CHECK=1
|