Re: [exim] lmtp delivery to cyrus store over unix socket req…

Top Page
Delete this message
Reply to this message
Author: OpenMacNews
Date:  
To: exim-users
Subject: Re: [exim] lmtp delivery to cyrus store over unix socket requires /etc/hosts.allow entry. why?
hi tony,

Tony Finch wrote:
> On Tue, 18 Oct 2005, OpenMacNews wrote:
>> hopefully, a little more digging/understanding will reveal whether the
>> fix -- in fact -- addresses the getpeername() issue you'd suggested.
>
> That Cyrus patch indicates an OS bug, so I had a look at the FreeBSD
> revision history and found the following. This change is not present
> in the Darwin source, so it's a bug in Mac OS X.
>
> --------------------------------
> 2003/01/22 13:13:13 ume
>
>   /home/ncvs/src/sys/kern/uipc_usrreq.c,v
>     1.103 +2 -0

>
> getpeername() returns with no error but didn't fill struct sockaddr
> correctly against PF_LOCAL. It seems that the test always fails then
> sockaddr was not filled. So, I added else clause for workaround.
> I doubt if it is right fix. However, it is better than nothing. I
> found that NetBSD has same potential problem. But, fortunately,
> NetBSD has equivalent else clause.
>
> MFC after:      1 week
> --------------------------------

>
> Tony.


ok, thx! for tracking this down ...

i'll synopsize as best as i can, and see if i can get the info in front of Jordan Hubbard et al
on unix-porting@apple (who knows what the right forum is !?).

cheers,

richard

- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 780A 5C81 D446 C616 B113 AA3A 9BF4 3736 88A5 678E