Subject: Re: mail/courier-imap does not start after latest update
To: Daniel Eggert <danieleggert@mac.com>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-users
Date: 06/25/2006 18:37:54
This is a multi-part message in MIME format.
--------------020504010609040906030809
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Daniel Eggert wrote:
> I have updates courier-imap to
>     courier-imap-4.1.1nb2
>     couriertcpd-0.53.2nb1
> 
> but now, when I start, I get:
>     Jun 25 10:31:27 kelvin couriertcpd: exec: No such file or directory
> in /var/log/maillog.
> 
> What it that file, that can not be found? How can I find out?
> 
> This used to work with courier-imap-4.1.0.
> 
> Thanks in advance, for any input.

I guess that the appended patch fixes the message to be more 
informative. Install it into net/couriertcpd/patches, run "make mps" in 
net/couriertcpd and rebuild the package.

Roland

--------------020504010609040906030809
Content-Type: text/plain;
 name="patch-aa"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-aa"

$NetBSD$

--- courier/courier.c.orig	2005-01-30 06:22:51.000000000 +0100
+++ courier/courier.c	2006-06-25 18:16:00.000000000 +0200
@@ -200,7 +200,7 @@ int main(int argc, char **argv)
 #endif
 				execl( DATADIR "/courierctl.start",
 					"courierctl.start", (char *)0);
-				perror("exec");
+				perror("exec: " DATADIR "/courierctl.start");
 				_exit(1);
 			}
 			_exit(0);

--------------020504010609040906030809--