Subject: Re: mail/courier-imap does not start after latest update
To: Roland Illig <rillig@NetBSD.org>
From: Daniel Eggert <danieleggert@mac.com>
List: pkgsrc-users
Date: 06/25/2006 21:34:08
On Jun 25, 2006, at 6:37 PM, Roland Illig wrote:

> 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
> $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);

Thanks. Still no luck, though. I put the patch in, but still only get
	Jun 25 19:26:11 kelvin couriertcpd: exec: No such file or directory
(I checked, that the path is applied to courier/courier.c and the  
binary is updated). Strange.

Anyhow, what is this courierctl.start about? I never had to create  
those earlier. I'm only using
	% pkg_info | grep courier
	courier-maildir-0.53.1 Courier maildir utilities
	courier-authlib-0.58nb2 Courier Authentication Library
	couriertcpd-0.53.2nb1 Courier TCP socket and TLS servers
	courier-imap-4.1.1nb2 IMAP server for access to maildir-style mailboxes

/Daniel