I am posting this for the benefit of all the people
out there like me who need are using qmail with
CourierIMAP over SSL and want to use tcpserver. 

This is what your run file should look like:

(I'll just reiterate it here but I want to give credit
to Henning for mentioning it the first time: auth_imap
is qmail-ldap specific, you can replace with
checkpassword for a virgin qmail installation.)

#!bin/sh

exec_prefix=/usr/local/imap
qmai_prefix=/var/qmail

exec /usr/bin/env - /bin/sh -c "\
. ${exec_prefix}/etc/imapd;\
. ${exec_prefix}/etc/imapd-ssl;\
IMAP_TLS=1; export IMAP_TLS;\
`sed -n '/^#/d;/=/p' <${exec_prefix}/etc/imapd | sed
's/=.*//;s/^/export /;s/$/;/'`
`sed -n '/^#/d;/=/p' <${exec_prefix}/etc/imapd-ssl |
sed 's/=.*//;s/^/export /;s/$/;/'`

exec tcpserver -c 100 -l 0 -v -R 0 imaps \
        ${exec_prefix}/bin/couriertls -server -tcpd \
        ${exec_prefix}/sbin/imaplogin \
        ${qmai_prefix}/bin/auth_imap \
        ${exec_prefix}/bin/imapd Maildir  2>&1"

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to