From owner-freebsd-gnome@FreeBSD.ORG Fri Jan 23 19:00:38 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36DE616A4CE for ; Fri, 23 Jan 2004 19:00:38 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB12743D7E for ; Fri, 23 Jan 2004 18:59:08 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i0O2tnsm005954; Fri, 23 Jan 2004 21:55:50 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Byron Schlemmer In-Reply-To: <1074907373.1129.5.camel@pan.home> References: <1074850384.9997.24.camel@pan.home> <1074894912.768.117.camel@gyros> <1074907373.1129.5.camel@pan.home> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ALzZ631vq71gavwUXvqE" Organization: MarcusCom, Inc. Message-Id: <1074913063.1546.24.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 23 Jan 2004 21:57:43 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on creme-brulee.marcuscom.com cc: FreeBSD GNOME Users Subject: Re: Evolution 1.4.5 and gethostbyname() X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 03:00:38 -0000 --=-ALzZ631vq71gavwUXvqE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-01-23 at 20:22, Byron Schlemmer wrote: > On Fri, 2004-01-23 at 23:55, Joe Marcus Clarke wrote: >=20 > > Evo uses gethostbyname_r. However, this function is not available on > > FreeBSD, so Evo includes its own version. THAT may be buggy. Linux > > _does_ have gethostbyname_r, and thus the internal Evo function is not > > used. You may want to poke around the code, and see if something > > obviously wrong jumps out at you. >=20 > Cool, thanks for the info. I'm glad I've managed to work out what was > wrong at least, it was driving me bananas. So I'll see if I can spot > anything. The code to look at is in e-util/e-host-utils.c as well as camel/providers/smtp/camel-smtp-transport.c and camel/camel-service.c.=20 I would look at doing some g_warning() statements in camel-smtp-transport.c around line 888 to figure out first what is being passed to camel_gethostbyaddr(), then figure out what that function is returning in host (or you could use gdb for this). It looks like transport->localaddr->address may not be what you think it is. You might end up needing to do some kind of smtp masquerading. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-ALzZ631vq71gavwUXvqE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAEd8nb2iPiv4Uz4cRAt7IAKCReeRCDy2gJRpGXM37gn9gOh0mTACaAtkw r3t4+VOdbOdRiKud0uR6Iz0= =Dd5V -----END PGP SIGNATURE----- --=-ALzZ631vq71gavwUXvqE--