Skip site navigation (1)Skip section navigation (2)
Date:      12 May 2003 17:01:44 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: can't send mail from evo 1.3.3
Message-ID:  <1052773303.308.84.camel@gyros>
In-Reply-To: <1052772885.729.17.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> <1052769403.308.71.camel@gyros> <1052772885.729.17.camel@sisko.webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-Dv53A6AZQtFs+5SblJ6U
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-05-12 at 16:54, Franz Klammer wrote:
> Am Mo, 2003-05-12 um 19.56 schrieb Joe Marcus Clarke:
> > 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 se=
nding
> > > > > > 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-=
servers
> > > > > 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
> >=20
> > 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 an=
y
> > event, you might want to make sure gethostbyname() works for your
> > hostname.  Something like this should work:
> >=20
> > #include <netdb.h>
> > #include <stdio.h>
> >=20
> > 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;
> > }
> >=20
>=20
> if i use you code as is then i get this output: =BBhe is NULL=AB
> else if i change my.host.name to sisko.webonaut.com i get as
> output: =BBh_name is "sisko.webonaut.com"=AB
> ok! is there anything i should Jeff tell now or is this maybe=20
> a gnome-2.3.1 thing? i did the gnome- and evo-update at the same
> time.

You can tell Jeff that gethostbyname is working as designed.  This very
well may be a GNOME 2.3 thing, but I can't be certain since I'm not
running Postfix.

Joe

>=20
> franz.
>=20
> > Joe
> >=20
> > >=20
> > > franz.
> > >=20
> > > >=20
> > > > Joe
> > > >=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-Dv53A6AZQtFs+5SblJ6U
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+wAu3b2iPiv4Uz4cRArF6AKCV5CWMqPo09n14r8mRWCUhFx+3zgCeOIjG
7tTUZRMOvHAy5Hl+1kHxtzg=
=b/ZB
-----END PGP SIGNATURE-----

--=-Dv53A6AZQtFs+5SblJ6U--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052773303.308.84.camel>