On Mon, Jun 30, 2003 at 10:31:01AM -0400, Sam Varshavchik wrote:

I downloaded the latest snapshot (courier-imap-1.7.3.20030629), BUT it
doesn't work... still the same error !

bind: Can't assign requested address
ll_daemon_start: Resource temporarily unavailable
bind: Can't assign requested address
ll_daemon_start: Resource temporarily unavailable

While it _DOES_ work with my 'stupid' :) little change of this:

--- courier-imap-1.7.3/tcpd/tcpd.c      Sun Jan  5 05:25:20 2003
+++ courier-imap-1.7.3-tcpd/tcpd/tcpd.c Mon Jun 30 13:48:46 2003
@@ -443,7 +443,7 @@
 
        for (p=fdlist; p; p=p->next)
        {
-               int fd=mksocket(p->ipaddr, p->servname, 0);
+               int fd=mksocket(p->ipaddr, p->servname, 1);
 
                if (fd < 0)
                        break;


FreeBSD 5.1 uses GCC 3.2.2, maybe this one is giving some trouble?

> That's not a bug, this is the bug:
> 
> Index: tcpd/tcpd.c
> ===================================================================
> RCS file: /cvsroot/courier/libs/tcpd/tcpd.c,v
> retrieving revision 1.34
> diff -U3 -r1.34 tcpd.c
> --- tcpd/tcpd.c       5 Jan 2003 04:01:18 -0000       1.34
> +++ tcpd/tcpd.c       30 Jun 2003 14:30:28 -0000
> @@ -404,7 +404,7 @@
> 
>       if (sox_bind(fd, (struct sockaddr *)sinaddr, sinaddrlen) < 0)
>       {
> -             if (flags && MKS_ERROK)
> +             if (flags & MKS_ERROK)
>               {
>                       close(fd);
>                       return (-2);
> 



-- 
WideXS                          http://www.widexs.nl
Wouter de Jong                  System-Administrator
Tel +31 (0)23 5698070           Fax +31 (0)23 5698099
Bijlmermeerstraat 62,           2131 HG  HOOFDDORP, NL


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to