can't send mail from evo 1.3.3
Joe Marcus Clarke
marcus at marcuscom.com
Mon May 12 12:57:10 PDT 2003
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 sending
> > > > 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?
> > > >
> > >
> > > 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 = yes.
> >
> > Definitely file a bug with Ximian.
>
> here's the answer form Ximian:
>
> http://bugzilla.ximian.com/show_bug.cgi?id=42805
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).
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 <netdb.h>
#include <stdio.h>
main(void) {
char *host = "my.host.name";
struct hostent *he;
he = gethostbyname(host);
if (he == NULL) {
printf("he is NULL\n");
}
else if (he->h_name == NULL) {
printf("h_name is NULL\n");
}
else {
printf("h_name is \"%s\"\n", he->h_name);
}
return 0;
}
Joe
>
> franz.
>
> >
> > Joe
> >
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030512/246fb802/attachment.bin
More information about the freebsd-gnome
mailing list