Re: [Exim] exim 4.21 broken on freebsd port

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Suresh Ramasubramanian
CC: exim-users
Tárgy: Re: [Exim] exim 4.21 broken on freebsd port
On Thu, 14 Aug 2003, Suresh Ramasubramanian wrote:

> remote smtp deliveries don't work at all.


For the list's information, and for the archive:

This has been traced to a bug introduced in one of the 4.21 changes. It
pertains only to versions of Exim built with IPv6 support, running on
hosts that have IPv6 interfaces configured. The patch below is believed
to fix the problem, but I'm still awaiting confirmation from a live
FreeBSD user.

In any event, this will be fixed in a 4.22 release, which will probably
be out early next week.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book




*** exim-4.21/src/os.c        Tue Aug 12 16:39:56 2003
--- src/os.c Thu Aug 14 15:53:49 2003
***************
*** 659,665 ****
    addrp = &ifreq.V_ifr_addr;


    #else
!   memcpy((char *)&ifreq, cp, len);
    memcpy(addrbuf, (char *)&(ifreq.V_ifr_addr), len - sizeof(ifreq.V_ifr_name));
    addrp = (struct sockaddr *)addrbuf;
    #endif
--- 659,665 ----
    addrp = &ifreq.V_ifr_addr;


    #else
!   memcpy((char *)&ifreq, cp, sizeof(ifreq));
    memcpy(addrbuf, (char *)&(ifreq.V_ifr_addr), len - sizeof(ifreq.V_ifr_name));
    addrp = (struct sockaddr *)addrbuf;
    #endif