On 7/01/2004 at 10:01:46, Kevin Bilbee wrote: > We are having a problem sending mail to this server > 220 ESMTP Sendmail 8.12.5/8.11.2; Tue, 06 Jan 2004 18:22:47 -0500
> If a server answers with ESMTP should the accept EHLO? > When I telnet to the server and try a EHLO I get a 502 error > When we try to send mail to them the server responds with a 500 Command > Unrecognized. > Is there any one on the list that knows wether this is a sendmail problem or > an IMail problem?? I think it is the way they have their senmail configured. The use of "ESMTP" in a greeting is a traditional nicety, but it's never made it into any RFC as far as I know, and shouldn't affect the behaviour of a client. Servers should support EHLO, and clients should try EHLO first, but both must be able to gracefully fall back to HELO if the other party doesn't like it. So given the server in question doesn't want to support ESMTP, the conversation should look something like this: S: 220 ESMTP Sendmail 8.12.5/8.11.2; Tue, 06 Jan 2004 18:22:47 -0500 C: EHLO imail.example.com S: 502 Command not implemented C: HELO imail.example.com S: 250 OK If IMail doesn't fall back to trying HELO, it's your problem. If the server refuses the HELO command because you tried EHLO first, it's their problem. Cheers, Evan To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
