#!/bin/sh # qmail-pop3d/run # daemontools run script for qmail pop3 service # wcm, 2003.11.20 - 2004.03.08 # === CONLIMIT=31 POPHOST="pop3.example.org" POPDIR="./MAILDIR.POP/" exec 2>&1 echo "*** Starting qmail-pop3d..." echo "*** >> configured for maildir: ${POPDIR}" exec env -i PATH="/var/qmail/bin:$PATH" \ softlimit -m 3000000 \ tcpserver -v -HR \ -c ${CONLIMIT} \ -x /etc/tcprules/pop3.cdb \ 0 110 \ qmail-popup ${POPHOST} \ /bin/checkpassword qmail-pop3d ${POPDIR} ### that's all, folks!