public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] courier-imap won't start
@ 2006-04-02  0:50 Bo Andresen
  2006-04-02  3:15 ` JimD
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Andresen @ 2006-04-02  0:50 UTC (permalink / raw
  To: gentoo-user,

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 ...                                           [ !! ]

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] courier-imap won't start
  2006-04-02  0:50 [gentoo-user] courier-imap won't start Bo Andresen
@ 2006-04-02  3:15 ` JimD
  2006-04-02 13:05   ` Bo Andresen
  0 siblings, 1 reply; 4+ messages in thread
From: JimD @ 2006-04-02  3:15 UTC (permalink / raw
  To: gentoo-user

On Sun, 2 Apr 2006 02:50:29 +0200
Bo Andresen <bo.andresen@gmail.com> 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] courier-imap won't start
  2006-04-02  3:15 ` JimD
@ 2006-04-02 13:05   ` Bo Andresen
  2006-04-02 14:16     ` Jim
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Andresen @ 2006-04-02 13:05 UTC (permalink / raw
  To: gentoo-user

On Sunday 02 April 2006 05:15, JimD wrote:
> 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}

This script does start it up successfully. Still the initscript doesn't. I 
have tested that all the variables are set to the same things in the 
initscript simply by printing them with echo and they are.

/usr/lib/courier-imap/courier-imapd.indirect doesn't exist btw...

I trying to use version 4.0.1
 # eix courier -I -c
[I] net-libs/courier-authlib (0.58): courier authentication library
[I] net-mail/courier-imap (4.0.1): An IMAP daemon designed specifically for 
maildirs

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] courier-imap won't start
  2006-04-02 13:05   ` Bo Andresen
@ 2006-04-02 14:16     ` Jim
  0 siblings, 0 replies; 4+ messages in thread
From: Jim @ 2006-04-02 14:16 UTC (permalink / raw
  To: gentoo-user

On Sun, 2006-04-02 at 15:05 +0200, Bo Andresen wrote:

> This script does start it up successfully. Still the initscript doesn't. I 
> have tested that all the variables are set to the same things in the 
> initscript simply by printing them with echo and they are.
> 
> /usr/lib/courier-imap/courier-imapd.indirect doesn't exist btw...
> 
> I trying to use version 4.0.1
>  # eix courier -I -c
> [I] net-libs/courier-authlib (0.58): courier authentication library
> [I] net-mail/courier-imap (4.0.1): An IMAP daemon designed specifically for 
> maildirs

I am using:

jim@keelie$ eix -I -c courier
[I] net-libs/courier-authlib (0.58): courier authentication library
[I] net-mail/courier-imap (4.0.4): An IMAP daemon designed specifically
for maildirs

jim@keelie$ equery belongs /usr/lib/courier-imap/courier-imapd.indirect
[ Searching for file(s) /usr/lib/courier-imap/courier-imapd.indirect in
*... ]
net-mail/courier-imap-4.0.4
(/usr/lib/courier-imap/courier-imapd.indirect)

Maybe try the newer version with the newer ebuild or just make your own
startup script?

Jim
-- 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-02 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-02  0:50 [gentoo-user] courier-imap won't start Bo Andresen
2006-04-02  3:15 ` JimD
2006-04-02 13:05   ` Bo Andresen
2006-04-02 14:16     ` Jim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox