courier-imap run scripts

courier-imap run scripts

Post by rasshadrockuhur » Tue, 25 Feb 2003 17:38:24



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

the following are my run file

/var/qmail/supervise/qmail-pop3s/run

#!/bin/sh

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 zion.org  \
        /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
2>&1

/package/host/localhost/courier-imap-1.7.0/supervise/imapd/run

#!/bin/sh
exec 2>&1
PREFIX=/package/host/localhost/courier-imap-1.7.0
# 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

/package/host/localhost/courier-imap-1.7.0/supervise/imapd-ssl/run

#!/bin/sh
exec 2>&1
PREFIX=/package/host/localhost/courier-imap-1.7.0
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
1
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

thanx
shadrock

 
 
 

1. courier-imap configure script

Hi,

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
error:

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

2. Delphi for Linux

3. Install vpopmail with Courier-IMAP

4. CERN 3.0a & ErrorUrl

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

6. Upgrade SSA 100 disk drives?

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

8. SUP: Automated source package installs, security or preference? (was Re: Linux & FreeBSD)

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