Date: Fri, 23 Jan 2004 21:57:43 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Byron Schlemmer <byrons@telkomsa.net> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: Evolution 1.4.5 and gethostbyname() Message-ID: <1074913063.1546.24.camel@shumai.marcuscom.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1074913063.1546.24.camel>