QMAILDUID=$(id -u qmaild)
NOFILESGID=$(id -g qmaild)
QMAILLUID=$(id -u qmaill)
TCPSERVER_HOST=0.0.0.0
TCPSERVER_PORT=${SERVICE}
TCPSERVER_OPTS="-p -v"
[[ -d /etc/tcprules.d/ ]] && \
TCPSERVER_RULESCDB=/etc/tcprules.d/tcp.qmail-${SERVICE}.cdb
[[ ! -f "${TCPSERVER_RULESCDB}" ]] && \
TCPSERVER_RULESCDB=/etc/tcp.${SERVICE}.cdb
SOFTLIMIT_OPTS="-m 16000000"
if [[ -e ${QMAIL_CONTROLDIR}/concurrencyincoming ]]
then
MAXCONN=$(head -n 1 ${QMAIL_CONTROLDIR}/concurrencyincoming)
else
MAXCONN=40
fi
LOG_OPTS="t"
LOG_MAXSIZE=2500000
LOG_MAXCOUNT=10
[[ -n "${LOG_MAXSIZE}" ]] && \
LOG_OPTS="${LOG_OPTS} s${LOG_MAXSIZE}"
[[ -n "${LOG_MAXCOUNT}" ]] && \
LOG_OPTS="${LOG_OPTS} n${LOG_MAXCOUNT}"
LOG_DEST=/var/log/qmail/qmail-${SERVICE}d