From owner-freebsd-gnome@FreeBSD.ORG Mon May 12 12:57:10 2003 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 8958037B404 for ; Mon, 12 May 2003 12:57:10 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1F6543F75 for ; Mon, 12 May 2003 12:57:08 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail5.nc.rr.com (fe5 [24.93.67.52])h4CJq8hE027438; Mon, 12 May 2003 15:52:09 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Mon, 12 May 2003 15:53:52 -0400 Received: from vpn-client-4.marcuscom.com (vpn-client-4.marcuscom.com [10.2.1.4])h4CJucrT017857; Mon, 12 May 2003 15:56:38 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: creme-brulee.marcuscom.com: vpn-client-4.marcuscom.com [10.2.1.4] didn't use HELO protocol From: Joe Marcus Clarke To: Franz Klammer In-Reply-To: <1052767898.729.5.camel@sisko.webonaut.com> References: <49391.212.41.243.28.1052750945.squirrel@mail.webonaut.com> <1052754105.308.0.camel@gyros> <49437.212.41.243.28.1052756275.squirrel@mail.webonaut.com> <1052767898.729.5.camel@sisko.webonaut.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EJijPPxgshupRvbbQzUP" Organization: MarcusCom, Inc. Message-Id: <1052769403.308.71.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 12 May 2003 15:56:43 -0400 X-Spam-Status: No, hits=-39.4 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: FreeBSD GNOME Users Subject: Re: can't send mail from evo 1.3.3 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: Mon, 12 May 2003 19:57:10 -0000 --=-EJijPPxgshupRvbbQzUP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-05-12 at 15:32, Franz Klammer wrote: > Am Mo, 2003-05-12 um 16.21 schrieb Joe Marcus Clarke: > > On Mon, 2003-05-12 at 12:17, Franz Klammer wrote: > > > Joe Marcus Clarke sagte: > > > > On Mon, 2003-05-12 at 10:49, Franz Klammer wrote: > > > >> hello! > > > >> > > > >> i'm the only one that can't send any mail from evolution 1.3.3? > > > > > > > > I've been using it since 1.3.2, and I've never had a problem sendin= g > > > > mail. Check your mail settings. > > > > > > > >> > > > >> i always get follwoing error: > > > >> > > > >> "Error while performing operation: > > > >> MAIL FROM response error: Unknown" > > > > > > > > Do you have a sniffer trace showing the SMTP transaction? > > > > > > >=20 > > > i turned on debug output from postfix. looks like a bug. > > > evolution-1.3.3 doesn't send a hostname with EHLO and my postfix-serv= ers > > > are always configured with smtpd_helo_required =3D yes. > >=20 > > Definitely file a bug with Ximian. >=20 > here's the answer form Ximian: >=20 > http://bugzilla.ximian.com/show_bug.cgi?id=3D42805 I'm not sure I follow what Jeff is saying. If gethostbyname() fails, then the returned hostent pointer will be NULL (and, in fact, it is).=20 If you try to dereference he->h_name, you should get a seg fault. I any event, you might want to make sure gethostbyname() works for your hostname. Something like this should work: #include #include main(void) { char *host =3D "my.host.name"; struct hostent *he; he =3D gethostbyname(host); = =20 if (he =3D=3D NULL) { printf("he is NULL\n"); } else if (he->h_name =3D=3D NULL) { printf("h_name is NULL\n"); } else { printf("h_name is \"%s\"\n", he->h_name); } = =20 return 0; } Joe >=20 > franz. >=20 > >=20 > > Joe > >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-EJijPPxgshupRvbbQzUP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+v/x7b2iPiv4Uz4cRAh3CAKCfZ3xhbLoQMyc4PbxYNdqOb9jfpACaA8tX fIgY/lCin+Y/3KlH2zWb/EY= =Mrhy -----END PGP SIGNATURE----- --=-EJijPPxgshupRvbbQzUP--