Re: Problems with cvm-vmailmgr - solved
"David J. Weller-Fahy" <[email protected]>
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
Thanks to all the help and explanations I was able to get it working this evening. I'll attach the run file from the qmail-pop3d-test, since I haven't been able to find many while searching online (it might help another newbie in the future). Now I need to go find cvm-chain, and dive into that, as well as investigate smtp/pop3front. Thanks again for all the help! Regards, -- dave [ please don't CC me ] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
qmail-pop3d-test.run
(text/plain, 749 B)
#!/bin/sh
# qmail-pop3d-test/run
# daemontools run script for qmail pop3 service
# using cvm authentication service
# ===
CONLIMIT=31
POPHOST=`head -1 /var/qmail/control/me`
POPDIR="."
CVM="cvm-local:/tmp/.cvm-vmailmgr.local"
exec 2>&1
echo "*** Starting qmail-pop3d..."
echo "*** >> configured for maildir: ${POPDIR}"
echo "*** >> cvm module: ${CVM}"
exec env -i PATH="/var/qmail/bin:$PATH" \
envuidgid qmaild \
softlimit -m 3000000 \
tcpserver -v -HR -l0 \
-c ${CONLIMIT} \
-x /usr/local/etc/tcprules/pop3.cdb \
0 1110 \
qmail-popup ${POPHOST} cvm-checkpassword ${CVM} qmail-pop3d ${POPDIR}
# use the line below if you want to see everything that happens
# recordio qmail-popup ${POPHOST} cvm-checkpassword ${CVM} qmail-pop3d ${POPDIR}