You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@james.apache.org on 2004/07/26 06:16:17 UTC

[jira] Created: (JAMES-311) Nntp very picky with clients

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Sun, 25 Jul 2004 9:15 PM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Louis-Philippe Gagnon
    Created: Mon, 13 Sep 2004 2:01 PM
       Body:
I think we've hit the same problem, some ethereal debugging yields some info that might be helpful to somebody (sorry, no resources here to help out):

<pasting>

The NNTP protocol appears to use the sequence \r\n.\r\n to signal end-of-message. Using ethereal, we've determined that for the problem messages, the server is neglecting the leading \r\n (thus the period appears to be part of the message, and the client waits for a  terminating sequence that never comes).

</pasting>

In our case, all the problem messages have come from Thunderbird 0.7.2 and 0.7.3
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_53076

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Mon, 13 Sep 2004 2:01 PM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-311) Nntp very picky with clients

Posted by "Vincenzo Gianferrari Pini (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-311?page=history ]
     
Vincenzo Gianferrari Pini resolved JAMES-311:
---------------------------------------------

     Resolution: Fixed
    Fix Version: 2.2.1

Daniel Perry's patch applied.

> Nntp very picky with clients
> ----------------------------
>
>          Key: JAMES-311
>          URL: http://issues.apache.org/jira/browse/JAMES-311
>      Project: James
>         Type: Bug
>   Components: NNTPServer & Repository
>     Versions: 2.2.0
>  Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04
>     Reporter: Rodney Crossman
>     Assignee: Vincenzo Gianferrari Pini
>      Fix For: 2.2.1

>
> Cannot read messages posted by some NNTP clients.
> For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.
> This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Rodney Crossman
    Created: Sun, 25 Jul 2004 9:17 PM
       Body:
I meant Netwaer 6.5 Service pack 2...   fat fingers 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_36866

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Sun, 25 Jul 2004 9:17 PM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Louis-Philippe Gagnon
    Created: Mon, 13 Sep 2004 2:27 PM
       Body:
Some more investigating: it looks like thunderbird is not emitting a \r\n at the end of the message, while other clients (mozilla 1.5 in my tests) are. So the end of a thunderbird message is just \r\n.\r\n
while the end of a mozilla message ends with \r\n\r\n.\r\n

(line-ending for last line of the message, followed by the end-of-message marker. actually, in all my tests the end-of-message marker is being sent as a separate packet.)

I don't know whether it's legal for Thunderbird not to emit a newline at the end of its messages, but it's surely wrong for the server to misbehave as a result.

Note that manually adding newlines at the end of thunderbird messages makes the problem go away. Unfortunately, this doesn't help when attachments are involved.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_53077

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Mon, 13 Sep 2004 2:27 PM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Assigned: (JAMES-311) Nntp very picky with clients

Posted by "Vincenzo Gianferrari Pini (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-311?page=history ]

Vincenzo Gianferrari Pini reassigned JAMES-311:
-----------------------------------------------

    Assign To: Vincenzo Gianferrari Pini

> Nntp very picky with clients
> ----------------------------
>
>          Key: JAMES-311
>          URL: http://issues.apache.org/jira/browse/JAMES-311
>      Project: James
>         Type: Bug
>   Components: NNTPServer & Repository
>     Versions: 2.2.0
>  Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04
>     Reporter: Rodney Crossman
>     Assignee: Vincenzo Gianferrari Pini

>
> Cannot read messages posted by some NNTP clients.
> For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.
> This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Jose M. Ordax
    Created: Tue, 12 Oct 2004 7:57 AM
       Body:

I have seen exactly the same problem with Mozilla 1.7.3 too. If I send the note with several CRLF at the end, then it works fine.

Regards,

   Chemi.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_53934

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Tue, 12 Oct 2004 7:57 AM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by "Daniel Perry (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_61203 ]
     
Daniel Perry commented on JAMES-311:
------------------------------------

Patch to fix this and make james rcf compliant with respect to messages not ending with \r\n.


--- NNTPHandler_orig.java
+++ NNTPHandler.java
@@ -1053,7 +1053,7 @@
         if (article != null) {
             writer.flush();
             article.writeBody(new ExtraDotOutputStream(outs));
-            writeLoggedFlushedResponse(".");
+            writeLoggedFlushedResponse("\r\n.");
         }
     }
 
@@ -1189,7 +1189,7 @@
         if (article != null) {
             writer.flush();
             article.writeArticle(new ExtraDotOutputStream(outs));
-            writeLoggedFlushedResponse(".");
+            writeLoggedFlushedResponse("\r\n.");
         }
     }



> Nntp very picky with clients
> ----------------------------
>
>          Key: JAMES-311
>          URL: http://issues.apache.org/jira/browse/JAMES-311
>      Project: James
>         Type: Bug
>   Components: NNTPServer & Repository
>     Versions: 2.2.0
>  Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04
>     Reporter: Rodney Crossman

>
> Cannot read messages posted by some NNTP clients.
> For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.
> This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Jose M. Ordax
    Created: Tue, 12 Oct 2004 8:10 AM
       Body:
This is curious. I have found another Bug Repository with the same bug and a provisional patch. ¿?¿?

FYI: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25027
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_53935

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Tue, 12 Oct 2004 8:10 AM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-311) Nntp very picky with clients

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Jose M. Ordax
    Created: Mon, 18 Oct 2004 12:05 PM
       Body:
Well, I commented this bug in the users distribution list and Daniel Perry commented a possible fix: <<change lines 1056 and 1192 of class NNTPHandler from writeLoggedFlushedResponse("."); to writeLoggedFlushedResponse("\r\n.");>>

I have rebuilt James 2.2.1 with this fix and the tests with Mozilla 1.7.3 and my own Java Client (using Jakarta Commons Net) have worked successfully.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_54314

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-311

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-311
    Summary: Nntp very picky with clients
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             NNTPServer & Repository
   Versions:
             2.2.0

   Assignee: 
   Reporter: Rodney Crossman

    Created: Sun, 25 Jul 2004 9:15 PM
    Updated: Mon, 18 Oct 2004 12:05 PM
Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04

Description:
Cannot read messages posted by some NNTP clients.

For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5 and someone tries to read them, the client just hands and times out.  Messages posted with Outlook express work perfectly fine.

This is only an issue if there is a message body.  If the message consist of only the subject, then it doesn't seem to cause any problems.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org