e-smith-pop3/root/var/service/pop3/run

19 lines
436 B
Bash

#!/bin/sh
[ -f ./runenv ] && . ./runenv
exec 2>&1
# Generate ACL files in ./peers
./control/1
exec /usr/local/bin/softlimit -m ${MEM} \
tcpsvd \
-v \
-i ./peers \
-c ${CONCURRENCYREMOTE:-40} \
-C ${PER_IP_INSTANCES:-4}:'421 per host concurrency limit reached\r\n' \
-l ${LOCALNAME:-0} \
${LISTENIP:-0} \
${PORT:-pop3} \
/var/qmail/bin/qmail-popup $FQDN \
checkpassword-pam -s pop3 /var/qmail/bin/qmail-pop3d Maildir