courier-imap configure script

courier-imap configure script

Post by Aequita » Fri, 26 Apr 2002 09:11:42


I've been trying to install the complete courier 0.38.0 on a freebsd 4.5
stable box
but not succesful. When running the configure script, i get the following

checking wether -lresolve resolve is needed for res_query... configure:
error: Cannot
find function res_query
configure: error: ./configure failed for courier

anyone idea's ?

Thnx, Tjeerd van der Zee


1. courier-imap run scripts

can someone post the daemontools supervise run scripts for qmail
most examples are either for linux or freebsd
also for courier-imap

the following are my run file



VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`

exec /usr/local/bin/tcpserver -l 0 -R -H -v                          \
        -u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 995                      \
        /usr/sbin/stunnel -f -p /var/qmail/control/servercert.pem    \
            -l /var/qmail/bin/qmail-popup -- qmail-popup  \
        /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir


exec 2>&1
# exec envdir supervise/imapd/env \
exec envdir ../imapd/env \
# /usr/local/bin/tcpserver -v -R -H -l 0 143 \
$PREFIX/sbin/imaplogin $PREFIX/libexec/authlib/authvchkpw \
$PREFIX/bin/imapd Maildir  2>&1


exec 2>&1
exec envdir ../env \
/usr/local/bin/tcpserver -v -R 0 993 \
$PREFIX/bin/couriertls -server -tcpd $PREFIX/sbin/imaplogin
$PREFIX/libexec/authlib/authvchkpw \
$PREFIX/bin/imapd Maildir


my problem is
there is no stunnel on my box
do i install or is there an equivilent in openssh

2 from my imapd log file ,

-1UXpPhHrRoOdDqQvS ] [ -c limit ] [ -s perip limit ] [ -x rules.cdb ]
[ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [
-t timeout ] host port program

i assume that there is a problem with the tcpserver invocation line

also should i be using softlimit

at the moment the mail box just buzzes as it constantly tries to start
imap under daemontools


2. MS's admits NT 4.0 was designed from the ground up flawed.

3. Install vpopmail with Courier-IMAP

4. tailing files (csh)

5. courier-imap from the ports....

6. How to read line by line from a file?

7. courier-imap/maildrop now doing proper fsync'ing

8. Can't boot Install disk

9. Compiling Courier-Imap on openbsd

10. is the port for courier-imap broken?

11. Qmail and Courier-imap Virtual User Support

12. anyone installed courier-imap+mysql auth successfully?

13. Netscape and Courier-imap