On Sun, 2 Apr 2006 02:50:29 +0200
Bo Andresen <[EMAIL PROTECTED]> wrote:

> I have followed
> http://www.gentoo.org/doc/en/virt-mail-howto.xml#doc_chap3 till
> chapter 3. But when I get to code listing 3.3 i.e.:
> 
> # /etc/init.d/courier-imapd start
> # /etc/init.d/courier-imapd-ssl start
> # /etc/init.d/courier-pop3d start
> # /etc/init.d/courier-pop3d-ssl start
> 
> the daemons all fail to start. There are no error messages of any
> kind. Nothing written to dmesg and I don't have a clue about how to
> figure out a reason for this. I also don't have a clue about what
> info might be relevant so please ask for it.
> 
> Postfix does work like a charm and the certificates has been
> successfully created. Only the imap and pop3 daemons won't start.
> 
> # /etc/init.d/courier-imapd start
>  * Starting courier-authlib:
> authdaemond ...                            [ ok ]
>  * Starting
> courier-imapd ...                                           [ !! ]
> # /etc/init.d/courier-pop3d start
>  * Starting
> courier-pop3d ...                                           [ !! ]
> 

I have it up and running with no issues.  Maybe try to go through the
HOWTO again?  What I usually do is look at the startup script and try
to make a test script to get it running.  Here is an example for
starting courier-imap.  Just copy it to a file and try to execute it as
root:


#!/bin/bash

ADDRESS=0
MAXDAEMONS=10
MAXPERIP=10
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
PORT=143
MAILDIR=.maildir
exec_prefix=/usr

/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
        -stderrlogger=/usr/lib/courier-imap/courierlogger \
        -stderrloggername=imapd \
        -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
        -pid=$PIDFILE $TCPDOPTS \
        $PORT ${exec_prefix}/sbin/imaplogin \
        /usr/lib/courier-imap/courier-imapd.indirect ${MAILDIR}

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way
-- 
gentoo-user@gentoo.org mailing list

Reply via email to