From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GCZQE-0001fO-On for garchives@archives.gentoo.org; Mon, 14 Aug 2006 10:11:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7EA8K43030027; Mon, 14 Aug 2006 10:08:20 GMT Received: from ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7EA5A3Z018190 for ; Mon, 14 Aug 2006 10:05:10 GMT Received: (qmail 10736 invoked from network); 14 Aug 2006 13:05:14 +0300 Received: from mail.ilievnet.com (HELO ?10.0.1.1?) (10.0.1.1) by mail.ilievnet.com with SMTP; 14 Aug 2006 13:05:14 +0300 Message-ID: <44E04ADA.9070400@ilievnet.com> Date: Mon, 14 Aug 2006 13:05:14 +0300 From: Daniel Iliev User-Agent: Thunderbird 1.5.0.5 (X11/20060802) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] courier-imap not starting! References: <20060813225757.GA20743@tux2> In-Reply-To: <20060813225757.GA20743@tux2> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 563b9353-2083-4574-a6fa-29bf2f4dceb0 X-Archives-Hash: a81fe3b8c97345f21681c580dbff2f99 Martin Richardson wrote: > G'Dayy all, > after an upgrade of baselayout, I noticed that courier-imap and > courier-imap-ssl was not starting from the init script. I have tracked it down to > the init script, as this script points to > /usr/lib/courier-imap/gentoo-courier-imap.rc, and I can start courier-imap directly > from this script but not the init script... Has anyone had this problem, or even > have a solution. > Thankyou. > Absolutely the same situation here. I use "quick & dirty" workaround. I removed the /etc/init.d/ script so it would be added next time there is an update and did: echo '/scripts/imap.sh start' >> /etc/conf.d/local.start echo '/scripts/imap.sh stop' >> /etc/conf.d/local.stop The imap.sh reads: #!/bin/bash #courier-imapd-ssl temporary replacement stop(){ source /etc/courier-imap/imapd-ssl echo "Stopping courier-imapd over SSL" kill -TERM `cat $SSLPIDFILE` } start(){ source /etc/courier-imap/imapd-ssl echo "Starting courier-imapd over SSL" exec env - /usr/lib/courier-imap/gentoo-imapd-ssl.rc --pid=$SSLPIDFILE } restart(){ stop start } $1 #EOF -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list