Gentoo Archives: gentoo-user

From: JimD <Jim@×××××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] courier-imap won't start
Date: Sun, 02 Apr 2006 03:22:55
Message-Id: 20060401221559.7417b556@keelie.localdomain
In Reply to: [gentoo-user] courier-imap won't start by Bo Andresen
1 On Sun, 2 Apr 2006 02:50:29 +0200
2 Bo Andresen <bo.andresen@×××××.com> wrote:
3
4 > I have followed
5 > http://www.gentoo.org/doc/en/virt-mail-howto.xml#doc_chap3 till
6 > chapter 3. But when I get to code listing 3.3 i.e.:
7 >
8 > # /etc/init.d/courier-imapd start
9 > # /etc/init.d/courier-imapd-ssl start
10 > # /etc/init.d/courier-pop3d start
11 > # /etc/init.d/courier-pop3d-ssl start
12 >
13 > the daemons all fail to start. There are no error messages of any
14 > kind. Nothing written to dmesg and I don't have a clue about how to
15 > figure out a reason for this. I also don't have a clue about what
16 > info might be relevant so please ask for it.
17 >
18 > Postfix does work like a charm and the certificates has been
19 > successfully created. Only the imap and pop3 daemons won't start.
20 >
21 > # /etc/init.d/courier-imapd start
22 > * Starting courier-authlib:
23 > authdaemond ... [ ok ]
24 > * Starting
25 > courier-imapd ... [ !! ]
26 > # /etc/init.d/courier-pop3d start
27 > * Starting
28 > courier-pop3d ... [ !! ]
29 >
30
31 I have it up and running with no issues. Maybe try to go through the
32 HOWTO again? What I usually do is look at the startup script and try
33 to make a test script to get it running. Here is an example for
34 starting courier-imap. Just copy it to a file and try to execute it as
35 root:
36
37
38 #!/bin/bash
39
40 ADDRESS=0
41 MAXDAEMONS=10
42 MAXPERIP=10
43 PIDFILE=/var/run/imapd.pid
44 TCPDOPTS="-nodnslookup -noidentlookup"
45 PORT=143
46 MAILDIR=.maildir
47 exec_prefix=/usr
48
49 /usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
50 -stderrlogger=/usr/lib/courier-imap/courierlogger \
51 -stderrloggername=imapd \
52 -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
53 -pid=$PIDFILE $TCPDOPTS \
54 $PORT ${exec_prefix}/sbin/imaplogin \
55 /usr/lib/courier-imap/courier-imapd.indirect ${MAILDIR}
56
57 Jim
58 --
59 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
60 I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
61 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
62 Florida, USA, Earth, Solar System, Milky Way
63 --
64 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] courier-imap won't start Bo Andresen <bo.andresen@×××××.com>