classpath-inetlib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpath-inetlib] SMTP greeting & continuation?


From: Chris Burdess
Subject: Re: [Classpath-inetlib] SMTP greeting & continuation?
Date: Tue, 6 Jul 2004 08:32:03 +0100

petite_abeille wrote:
It appears that some SMTP server send a continuation flag in their initial greeting... for example, AOL:

% telnet mailin-02.mx.netscape.net 25

220-rly-na01.mx.aol.com ESMTP mail_relay_in-na1.2; Mon, 05 Jul 2004 07:45:09 -0400
220-America Online (AOL) and its affiliated companies do not
220-     authorize the use of its proprietary computers and computer
220-     networks to accept, transmit, or distribute unsolicited bulk
220-     e-mail sent from the internet.  Effective immediately:  AOL
220-     may no longer accept connections from IP addresses which
220      have no reverse-DNS (PTR record) assigned.

Unfortunately, this confuses SMTPConnection quiet a bit :/

What would be a reasonable way to deal with this? Should the SMTPConnection constructor loop through getResponse() while the continuation flag is true?

More generally, should the getResponse() always read the entire response when it encounters a continuation flag?

Yes. Feel free to raise issues like this as a bug in Savannah.

A fix is now in CVS.
--
Chris Burdess





reply via email to

[Prev in Thread] Current Thread [Next in Thread]