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 "Dmitry (JIRA)" <se...@james.apache.org> on 2011/04/07 16:43:05 UTC

[jira] [Created] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

JAMES hangs on mails with 8-bit characters in headers
-----------------------------------------------------

                 Key: JAMES-1222
                 URL: https://issues.apache.org/jira/browse/JAMES-1222
             Project: JAMES Server
          Issue Type: Bug
         Environment: Windows XP
            Reporter: Dmitry


RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 

Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026332#comment-13026332 ] 

Dmitry commented on JAMES-1222:
-------------------------------

I installed james-server-container-spring-3.0-M3-20110427.115819-271-bin. But debug level is not working.
My log4j.properties lising: 
log4j.logger.james.pop3server=DEBUG 

With this setting the file 'pop3server.log' does not appear in the folder 'log'!

With the setting log4j.logger.james.pop3server=INFO, POP3SERVER I can see the file 'pop3server.log', but in the file are the same records (connection established, connection closed).

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022897#comment-13022897 ] 

Dmitry commented on JAMES-1222:
-------------------------------

OK. The file encoding is windows-1251.
I think this issue is in encoding. PostgreSQL has UTF-8, but JAMES can not re-encode headers, if they contain no information about encoding.
Database and IMAP show question marks, POP3 hangs on this headers.

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022889#comment-13022889 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Could you upload the email as txt attachment just to make sure jira is not playing tricks with formating etc ?

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027243#comment-13027243 ] 

Dmitry commented on JAMES-1222:
-------------------------------

OK, I corrected the log4j.properties config file, and below there is listing of pop3server.log:

==================================================================================
DEBUG 03:29:42,140 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 03:29:42,203 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 03:29:42,203 | james.pop3server | ID=3303431 Lookup command handler for command: USER
DEBUG 03:29:42,203 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 03:29:42,203 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 03:29:42,281 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 03:29:42,281 | james.pop3server | ID=3303431 Lookup command handler for command: PASS
DEBUG 03:29:42,296 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 03:29:42,296 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 03:29:42,359 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 03:29:42,359 | james.pop3server | ID=3303431 Lookup command handler for command: STAT
DEBUG 03:29:42,359 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 3574]
DEBUG 03:29:42,359 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 03:29:42,421 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 03:29:42,421 | james.pop3server | ID=3303431 Lookup command handler for command: UIDL
DEBUG 03:29:42,421 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 3, 2 2, .]
DEBUG 03:29:42,421 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 03:29:42,468 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 03:29:42,468 | james.pop3server | ID=3303431 Lookup command handler for command: LIST
DEBUG 03:29:42,468 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 3574, 1 2252, 2 1322, .]
DEBUG 03:29:42,468 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 03:29:42,859 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 03:29:42,859 | james.pop3server | ID=3303431 Lookup command handler for command: RETR
DEBUG 03:29:42,875 | james.pop3server | ID=3303431 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
==================================================================================

In MS Outlook occurs error 0x8004210A  ('The operation timed out waiting for a response from the receiving (POP) server...')

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 2:00 AM:
-------------------------------------------------------

Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(If I understand correctly, quoted printable part to the mails was added by JAMES?)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(If I understand correctly, quoted printable part to the mails added on JAMES?)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Reopened] (JAMES-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry reopened JAMES-1222:
---------------------------


No, the issue is NOT FIXED.
james-server-container-spring-3.0-M3-20110506.180441-331-bin POP3 hangs on the same mails! The pcap file and the raw mail content I sent to your mailbox.
I also sent another row e-mail, as it appears with question marks instead of 8-bit characters, just in case.
10-20% of mails I get currently with question marks instead of text, but the PROBLEM PERSISTS.
I changed the description of this issue.

8-bit headers and body play no role?
I think that 8-bit content can be returned. For hundreds of millions of mail readers it is important. :-)

If you consider it necessary, I can create new issue, but I hope that the problem will not hang.

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031655#comment-13031655 ] 

Dmitry commented on JAMES-1222:
-------------------------------

Thank you. This issue is fixed.

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on modified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem remains.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023246#comment-13023246 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Hi there,

that does not look like the "raw content" as it contains the "�" signs... Could you please check again how the content exactly look like. For example with thunderbird you can let it display the "raw content" easily which should not contain any of this signs..

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on mails with 8-bit content

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Summary: JAMES hangs on mails with 8-bit content  (was: JAMES hangs on mails with 8-bit characters in headers)

> JAMES hangs on mails with 8-bit content
> ---------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/8/11 9:07 PM:
-------------------------------------------------------

Sorry, but the problem remains. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
Both mails have qouted-printable parts, because I copied them from an archive folder in MS Outlook. MS Outlook changes mails, if they are not RFC compliant.

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
Both mails have qouted-printable parts, because I copied them from an archive folder in MS Outlook. MS Outlook changes mails, if they are not RFC compliant.

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on modified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem remains.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022881#comment-13022881 ] 

Dmitry edited comment on JAMES-1222 at 4/21/11 7:37 PM:
--------------------------------------------------------

I use JPA provider, PostgreSQL as database.

Below is the row e-mail, that reproduces the problem, as it is shown through IMAP.
In JAMES database, in the corresponding rows of james_mail_header.header_value I also see the question marks.

=========================== begin ===========================
Return-Path: <ro...@user.z8.ru>
Received: from bmx1.z8.ru ([80.93.62.39])
          by SERVER. (JAMES SMTP Server ) with ESMTP ID 11202247
          for <an...@piterr.ru>;
          Sun, 3 Apr 2011 19:13:35 +0400 (GST)
Received: from titan.phst ([192.168.6.81] helo=titan.z8.ru)
	by bmx1.z8.ru with esmtp (Exim 4.71 (FreeBSD))
	(envelope-from <ro...@user.z8.ru>)
	id 1Q6OzY-000ATS-Ps
	for anpit@piterr.ru; Sun, 03 Apr 2011 19:13:29 +0400
Received: (from roost@localhost)
	by titan.z8.ru (8.14.3/8.13.8/Submit) id p33FDRVO012323;
	Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
	(envelope-from roost)
Date: Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
Message-Id: <20...@titan.z8.ru>
To: anpit@piterr.ru
Subject: Registration at ????????? ????? ( ????????? ????? )
X-PHP-Script: nevaforum.ru/index.php for 92.100.15.20, 92.100.15.20
Content-type: text/plain; charset="windows-1251"
From: "????????? ?????" <ad...@nevaforum.ru>
X-Priority: 3
X-Mailer: IPB PHP Mailer
X-SA-Exim-Connect-IP: 192.168.6.81
X-SA-Exim-Mail-From: roost@user.z8.ru
X-SA-Exim-Scanned: No (on bmx1.z8.ru); SAEximRunCond expanded to false
X-Antivirus: avast! (VPS 110421-1, 21.04.2011), Inbound message
X-Antivirus-Status: Clean


anpit,
Это письмо отправлено из http://nevaforum.ru/index.php.

Вы получили это письмо, так как этот e-mail адрес
был использован при регистрации на форуме.
Если Вы не регистрировались на этом форуме, просто
проигнорируйте это письмо и удалите его. Вы больше
не получите такого письма.

------------------------------------------------
Инструкция по активации
------------------------------------------------

Благодарим за регистрацию.
Мы требуем от Вас "подтверждения" Вашей регистрации, для проверки того,
что введённый Вами e-mail адрес - реальный. Это требуется для защиты от
нежелательных злоупотреблений и спама.

Для активации Вашего аккаунта, зайдите по следующей ссылке:

xxxxxxxxxxxxxxxxxxxxxxxx

(Пользователям AOL E-mail, необходимо скопировать эту ссылку и вставить в адресную строку
браузера).

------------------------------------------------
Не сработало?
------------------------------------------------

Если у Вам ничего не получилось с активацией аккаунта, зайдите
по следующей ссылке:

http://nevaforum.ru/index.php?act=new&CODE=05

Там Вы должны будете ввести ID пользователя и ключ подтверждения. Ниже указаны эти данные:

xxxxxxxxxxxxxxxxxxxxxxxx

Произведите действия Копировать/Вставить или введите эти данные вручную, в соответствующие
поля.

Если и при этих действиях ничего не получилось, возможно Ваш аккаунт удалён.
В этом случае, обратитесь к Администратору, для разрешения проблемы.

Благодарим Вас за регистрацию!

С уважением,

Администрация Питерский форум.
http://nevaforum.ru/index.php

=========================== end ============================

      was (Author: rgstinboxru):
    I use JPA provider, PostgreSQL as database.

Below is the row e-mail, that reproduces the problem.
In JAMES database, in the corresponding rows of james_mail_header.header_value I also see the question marks.

=========================== begin ===========================
Return-Path: <ro...@user.z8.ru>
Received: from bmx1.z8.ru ([80.93.62.39])
          by SERVER. (JAMES SMTP Server ) with ESMTP ID 11202247
          for <an...@piterr.ru>;
          Sun, 3 Apr 2011 19:13:35 +0400 (GST)
Received: from titan.phst ([192.168.6.81] helo=titan.z8.ru)
	by bmx1.z8.ru with esmtp (Exim 4.71 (FreeBSD))
	(envelope-from <ro...@user.z8.ru>)
	id 1Q6OzY-000ATS-Ps
	for anpit@piterr.ru; Sun, 03 Apr 2011 19:13:29 +0400
Received: (from roost@localhost)
	by titan.z8.ru (8.14.3/8.13.8/Submit) id p33FDRVO012323;
	Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
	(envelope-from roost)
Date: Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
Message-Id: <20...@titan.z8.ru>
To: anpit@piterr.ru
Subject: Registration at ????????? ????? ( ????????? ????? )
X-PHP-Script: nevaforum.ru/index.php for 92.100.15.20, 92.100.15.20
Content-type: text/plain; charset="windows-1251"
From: "????????? ?????" <ad...@nevaforum.ru>
X-Priority: 3
X-Mailer: IPB PHP Mailer
X-SA-Exim-Connect-IP: 192.168.6.81
X-SA-Exim-Mail-From: roost@user.z8.ru
X-SA-Exim-Scanned: No (on bmx1.z8.ru); SAEximRunCond expanded to false
X-Antivirus: avast! (VPS 110421-1, 21.04.2011), Inbound message
X-Antivirus-Status: Clean


anpit,
Это письмо отправлено из http://nevaforum.ru/index.php.

Вы получили это письмо, так как этот e-mail адрес
был использован при регистрации на форуме.
Если Вы не регистрировались на этом форуме, просто
проигнорируйте это письмо и удалите его. Вы больше
не получите такого письма.

------------------------------------------------
Инструкция по активации
------------------------------------------------

Благодарим за регистрацию.
Мы требуем от Вас "подтверждения" Вашей регистрации, для проверки того,
что введённый Вами e-mail адрес - реальный. Это требуется для защиты от
нежелательных злоупотреблений и спама.

Для активации Вашего аккаунта, зайдите по следующей ссылке:

xxxxxxxxxxxxxxxxxxxxxxxx

(Пользователям AOL E-mail, необходимо скопировать эту ссылку и вставить в адресную строку
браузера).

------------------------------------------------
Не сработало?
------------------------------------------------

Если у Вам ничего не получилось с активацией аккаунта, зайдите
по следующей ссылке:

http://nevaforum.ru/index.php?act=new&CODE=05

Там Вы должны будете ввести ID пользователя и ключ подтверждения. Ниже указаны эти данные:

xxxxxxxxxxxxxxxxxxxxxxxx

Произведите действия Копировать/Вставить или введите эти данные вручную, в соответствующие
поля.

Если и при этих действиях ничего не получилось, возможно Ваш аккаунт удалён.
В этом случае, обратитесь к Администратору, для разрешения проблемы.

Благодарим Вас за регистрацию!

С уважением,

Администрация Питерский форум.
http://nevaforum.ru/index.php

=========================== end ============================
  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023471#comment-13023471 ] 

Dmitry edited comment on JAMES-1222 at 4/23/11 12:38 AM:
---------------------------------------------------------

File 'mail.txt' is windows-1251 encoded. I see no square signs in the body. I see plain cyrillic text in the body. If I change this encoding to UTF-8 in the viewer, I see the square signs in the body. With windows-1252 you see international letters (german umlauts etc) instead of cyrillic letters.
But what is the "raw content" in this case? The question marks are in the headers "From" and "Subject". There WAS plain cyrillic text (8-bit) BEFORE delivery to JAMES. After the delivery in the PostgreSQL database are the question marks. In the "raw content" through IMAP too.
To clarify I attached the same file re-encoded in UTF-8 ("mail_UTF-8.txt").

      was (Author: rgstinboxru):
    File 'mail.txt' is windows-1251 encoded. I see no square signs in the body. I see plain cyrillic text in the body. If I change this encoding to UTF-8 in the viewer, I see the square signs in the body. With windows-1252 you see international letters (german umlauts etc) instead of cyrillic letters.
But what is "raw content" in this case? The question marks are in headers "From" and "Subject". There WAS plain cyrillic text (8-bit) before delivery to JAMES. After the delivery in the PostgreSQL database are the question marks. In the "raw content" through IMAP too.
To clarify I attached the same file re-encoded in UTF-8 ("mail_UTF-8.txt").
  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027606#comment-13027606 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Sorry but thats not really helpful.. you need to take a dump with wireshark and then "click" on "follow tcpstream" and post this. Or you could upload the pcap file. Be sure you remove the username/password.

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022881#comment-13022881 ] 

Dmitry commented on JAMES-1222:
-------------------------------

I use JPA provider, PostgreSQL as database.

Below is the row e-mail, that reproduces the problem.
In JAMES database, in the corresponding rows of james_mail_header.header_value I also see the question marks.

=========================== begin ===========================
Return-Path: <ro...@user.z8.ru>
Received: from bmx1.z8.ru ([80.93.62.39])
          by SERVER. (JAMES SMTP Server ) with ESMTP ID 11202247
          for <an...@piterr.ru>;
          Sun, 3 Apr 2011 19:13:35 +0400 (GST)
Received: from titan.phst ([192.168.6.81] helo=titan.z8.ru)
	by bmx1.z8.ru with esmtp (Exim 4.71 (FreeBSD))
	(envelope-from <ro...@user.z8.ru>)
	id 1Q6OzY-000ATS-Ps
	for anpit@piterr.ru; Sun, 03 Apr 2011 19:13:29 +0400
Received: (from roost@localhost)
	by titan.z8.ru (8.14.3/8.13.8/Submit) id p33FDRVO012323;
	Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
	(envelope-from roost)
Date: Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
Message-Id: <20...@titan.z8.ru>
To: anpit@piterr.ru
Subject: Registration at ????????? ????? ( ????????? ????? )
X-PHP-Script: nevaforum.ru/index.php for 92.100.15.20, 92.100.15.20
Content-type: text/plain; charset="windows-1251"
From: "????????? ?????" <ad...@nevaforum.ru>
X-Priority: 3
X-Mailer: IPB PHP Mailer
X-SA-Exim-Connect-IP: 192.168.6.81
X-SA-Exim-Mail-From: roost@user.z8.ru
X-SA-Exim-Scanned: No (on bmx1.z8.ru); SAEximRunCond expanded to false
X-Antivirus: avast! (VPS 110421-1, 21.04.2011), Inbound message
X-Antivirus-Status: Clean


anpit,
Это письмо отправлено из http://nevaforum.ru/index.php.

Вы получили это письмо, так как этот e-mail адрес
был использован при регистрации на форуме.
Если Вы не регистрировались на этом форуме, просто
проигнорируйте это письмо и удалите его. Вы больше
не получите такого письма.

------------------------------------------------
Инструкция по активации
------------------------------------------------

Благодарим за регистрацию.
Мы требуем от Вас "подтверждения" Вашей регистрации, для проверки того,
что введённый Вами e-mail адрес - реальный. Это требуется для защиты от
нежелательных злоупотреблений и спама.

Для активации Вашего аккаунта, зайдите по следующей ссылке:

xxxxxxxxxxxxxxxxxxxxxxxx

(Пользователям AOL E-mail, необходимо скопировать эту ссылку и вставить в адресную строку
браузера).

------------------------------------------------
Не сработало?
------------------------------------------------

Если у Вам ничего не получилось с активацией аккаунта, зайдите
по следующей ссылке:

http://nevaforum.ru/index.php?act=new&CODE=05

Там Вы должны будете ввести ID пользователя и ключ подтверждения. Ниже указаны эти данные:

xxxxxxxxxxxxxxxxxxxxxxxx

Произведите действия Копировать/Вставить или введите эти данные вручную, в соответствующие
поля.

Если и при этих действиях ничего не получилось, возможно Ваш аккаунт удалён.
В этом случае, обратитесь к Администратору, для разрешения проблемы.

Благодарим Вас за регистрацию!

С уважением,

Администрация Питерский форум.
http://nevaforum.ru/index.php

=========================== end ============================

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024670#comment-13024670 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

I just committed some code which will log any exception to pop3server.log with level of debug. See http://svn.apache.org/viewvc?rev=1096373&view=rev . Could you please build from latest trunk, enable debug logging for pop3server and try again. It should show you some exception in the log then.. Thanks

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 2:36 AM:
-------------------------------------------------------

Sorry, but the problem persists. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
(Now I see quoted-printable parts... Interesting...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
(Now I see quoted-printable parts... Interesting...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on some mails

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030132#comment-13030132 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

At the moment I'm out of ideas why it hangs.... I will need to think about it a bit, sorry

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017041#comment-13017041 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Anything in pop3server.log ?

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dmitry
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit content

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030113#comment-13030113 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Any chance yet to test ? I would like to push james server m3 as soon as possible but want to be sure this bug is really fixed.. thanks

> JAMES hangs on mails with 8-bit content
> ---------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on some mails

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030540#comment-13030540 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Ok the problem is the ExtraDotInputStream. I will have a look howto fix it.

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1222.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M3

I was finally able to track down the problem. Thanks again for all your help. The problem was not really limited to messages with 8-bit chars in headers, as it could happen with other messages too. 

I fixed it in now in current trunk. If you plan to upgrade to it you will need todo some extra step for the upgrade as the mailbox jpa tables had changed. You will need to copy all your mailboxes to maildir (or jcr), then upgrade. After the upgrade was done just copy the mailboxes back to jpa. All this can be done via jmx.



> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027501#comment-13027501 ] 

Dmitry edited comment on JAMES-1222 at 5/2/11 12:37 AM:
--------------------------------------------------------

I scanned pop3 session for the mail with question marks in headers. I attached the results in the file 'wireshark_UTF-8.txt'. Character encoding of this file is UTF-8.

      was (Author: rgstinboxru):
    I scanned the pop3 session for the mail with question marks in the headers. I attached the results in the file 'wireshark_UTF-8.txt'. Character encoding of this file is UTF-8.
  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028708#comment-13028708 ] 

Dmitry commented on JAMES-1222:
-------------------------------

Another mail with 8-bit content sent to another address, but I can not get it for the same reason. I can send log and pcap files.

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027343#comment-13027343 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

ok we are getting closer... So the guilty handler is the RetrCmdHandler. Can you capture the "traffic" with wireshark ? 

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 2:27 AM:
-------------------------------------------------------

Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(Now I see quoted printable parts... Interesting...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(If I understand correctly, quoted printable part to the mails was added by JAMES?)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027501#comment-13027501 ] 

Dmitry commented on JAMES-1222:
-------------------------------

I scanned the pop3 session for the mail with question marks in the headers. I attached the results in the file 'wireshark_UTF-8.txt'. Character encoding of this file is UTF-8.

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on some mails

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1222.
----------------------------------

    Resolution: Fixed

There was a bug with handling extra-dotting. This should be fixed now!

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on modified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem remains.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026942#comment-13026942 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Sorry for the delay. your log4j.properties config is wrong. It must be:

log4j.logger.james.pop3server=DEBUG, POP3SERVER


(You missed the ",POP3SERVER" before)

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017091#comment-13017091 ] 

Dmitry commented on JAMES-1222:
-------------------------------

pop3server.log:
INFO  21:50:28,772 | james.pop3server | ID=10721726 Connection established from yyy.yyy.zz (xx.xx.xx.xx)

james-server.log:
INFO  21:50:28,772 | james.pop3server | ID=10721726 Connection established from yyy.yyy.zz (xx.xx.xx.xx)

Nothing more.


> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Attachment: mail_UTF-8.txt

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026332#comment-13026332 ] 

Dmitry edited comment on JAMES-1222 at 4/28/11 2:55 PM:
--------------------------------------------------------

I installed james-server-container-spring-3.0-M3-20110427.115819-271-bin. But debug level is not working.
My log4j.properties listing: 
=====================================
log4j.appender.POP3SERVER=org.apache.log4j.DailyRollingFileAppender
log4j.appender.POP3SERVER.File=../log/pop3server.log
log4j.appender.POP3SERVER.DatePattern='.'yyyy-MM-dd
log4j.appender.POP3SERVER.layout=org.apache.log4j.PatternLayout
log4j.appender.POP3SERVER.layout.ConversionPattern=%-5p %d{HH:mm:ss,SSS} | %c | %m%n


log4j.logger.james.pop3server=DEBUG 
=====================================

With this setting the file 'pop3server.log' does not appear in the folder 'log'!

With the setting log4j.logger.james.pop3server=INFO, POP3SERVER I can see the file 'pop3server.log', but in the file are the same records (connection established, connection closed).

      was (Author: rgstinboxru):
    I installed james-server-container-spring-3.0-M3-20110427.115819-271-bin. But debug level is not working.
My log4j.properties lising: 
log4j.logger.james.pop3server=DEBUG 

With this setting the file 'pop3server.log' does not appear in the folder 'log'!

With the setting log4j.logger.james.pop3server=INFO, POP3SERVER I can see the file 'pop3server.log', but in the file are the same records (connection established, connection closed).
  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017098#comment-13017098 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Can you try to set pop3server logging to DEBUG level in log4j.properties ?

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030129#comment-13030129 ] 

Dmitry edited comment on JAMES-1222 at 5/8/11 8:45 PM:
-------------------------------------------------------

No, the issue is NOT FIXED.
james-server-container-spring-3.0-M3-20110506.180441-331-bin POP3 hangs on the same mails! The pcap file and the raw mail content I sent to your mailbox.
I also sent another row e-mail, as it appears with question marks instead of 8-bit characters, just in case.
10-20% of mails I get currently with question marks instead of text, but the PROBLEM REMAINS.
I changed the description of this issue.

8-bit headers and body play no role?
I think that 8-bit content can be returned. For hundreds of millions of mail readers it is important. :-)

If you consider it necessary, I can create new issue, but I hope that the problem will not hang.

      was (Author: rgstinboxru):
    No, the issue is NOT FIXED.
james-server-container-spring-3.0-M3-20110506.180441-331-bin POP3 hangs on the same mails! The pcap file and the raw mail content I sent to your mailbox.
I also sent another row e-mail, as it appears with question marks instead of 8-bit characters, just in case.
10-20% of mails I get currently with question marks instead of text, but the PROBLEM PERSISTS.
I changed the description of this issue.

8-bit headers and body play no role?
I think that 8-bit content can be returned. For hundreds of millions of mail readers it is important. :-)

If you consider it necessary, I can create new issue, but I hope that the problem will not hang.
  
> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit content

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1222.
----------------------------------

    Resolution: Fixed

I think its fixed now... we now replace every non 7bit char with a '?' when transfer the message via POP3. This seems to fix the issue. At least here..

Could you please let us know if it fix it also on your side.. 

Thanks

> JAMES hangs on mails with 8-bit content
> ---------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027701#comment-13027701 ] 

Dmitry commented on JAMES-1222:
-------------------------------

For security purposes, I sent the pcap file to your mailbox.

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Affects Version/s: 3.0-M3

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Description: 
If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
I've seen this problem only on mails with 8-bit content in the body. But on modified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem remains.

  was:
If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.


> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on modified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem remains.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Description: 
If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

  was:
RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 

Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

        Summary: JAMES hangs on some mails  (was: JAMES hangs on mails with 8-bit content)

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 2:59 AM:
-------------------------------------------------------

Sorry, but the problem persists. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
(Now I see quoted-printable parts... These parts where not visible before...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
(Now I see quoted-printable parts... Interesting...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 2:31 AM:
-------------------------------------------------------

Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
(Now I see quoted-printable parts... Interesting...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(Now I see quoted printable parts... Interesting...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on some mails

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030306#comment-13030306 ] 

Robert Burrell Donkin commented on JAMES-1222:
----------------------------------------------

(Just wanted to throw this idea into the ring. I haven't had time to analyse this issue in detail yet, so it may well be completely left field.)

I've observed issues with FetchPOP3 when processing some 8-bit mail which isn't RFC compliant but is handled okay by most mail clients. I tracked the issue down to the parser which ships with JavaMail. My strong preference is to move away from JavaMail towards a lightweight solution based on the Mime4J pull parser. 

 

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 3:23 AM:
-------------------------------------------------------

Sorry, but the problem persists. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
Both mails have qouted-printable parts, because I copied them from an archive folder in MS Outlook. MS Outlook changes mails, if they are not RFC compliant.

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. james-server-container-spring-3.0-M3-20110503.204439-319-bin hangs on the same message.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar mails with 8-bit content.
(Now I see quoted-printable parts... These parts where not visible before...)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 1:47 AM:
-------------------------------------------------------

Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(If I understand correctly, quoted printable part to the mails added on JAMES?)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS piterr11
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. On the same message POP3 hangs.

  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer reassigned JAMES-1222:
------------------------------------

    Assignee: Norman Maurer

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028546#comment-13028546 ] 

Dmitry edited comment on JAMES-1222 at 5/4/11 1:49 AM:
-------------------------------------------------------

Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(If I understand correctly, quoted printable part to the mails added on JAMES?)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS xxxxxxxx
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================



      was (Author: rgstinboxru):
    Sorry, but the problem persists. On the same message POP3 hangs.
I scanned POP3 traffic with wireshark. The pcap file I sent to your mailbox. There are two similar letters with 8-bit content.
(If I understand correctly, quoted printable part to the mails added on JAMES?)

The first mail I get OK, the second I can not get. Below is pop3server.log:

======================================================================
DEBUG 05:29:45,765 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.WelcomeMessageHandler disconnect=false
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: USER anpit@piterr.ru
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 Lookup command handler for command: USER
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UserCmdHandler: +OK []
DEBUG 05:29:45,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: PASS piterr11
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 Lookup command handler for command: PASS
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.PassCmdHandler: +OK [Welcome anpit@piterr.ru]
DEBUG 05:29:45,875 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:45,937 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 Lookup command handler for command: UIDL
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.UidlCmdHandler: +OK [unique-id listing follows, 1 6, 2 7, .]
DEBUG 05:29:45,984 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 Lookup command handler for command: LIST
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.ListCmdHandler: +OK [2 17886, 1 9757, 2 8129, .]
DEBUG 05:29:46,031 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 1
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:46,156 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,218 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 Lookup command handler for command: STAT
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.StatCmdHandler: +OK [2 17886]
DEBUG 05:29:46,468 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler received: RETR 2
DEBUG 05:29:47,796 | james.pop3server | ID=12165894 Lookup command handler for command: RETR
DEBUG 05:29:47,812 | james.pop3server | ID=12165894 org.apache.james.pop3server.core.POP3CommandDispatcherLineHandler disconnect=false
======================================================================


  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on some mails

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030263#comment-13030263 ] 

Dmitry commented on JAMES-1222:
-------------------------------

I checked another mail client: The Bat! also can not receive the same mails from JAMES. Timeout.

> JAMES hangs on some mails
> -------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> If JAMES has received some mails, POP3 hangs: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...'). Using IMAP I get all mails without problem.
> I've seen this problem only on mails with 8-bit content in the body. But on mofified mails with question marks (ASCII code 63) instead of 8-bit characters in the body the problem persists.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Attachment: mail.txt

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Updated] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry updated JAMES-1222:
--------------------------

    Attachment: wireshark_UTF-8.txt

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017136#comment-13017136 ] 

Dmitry commented on JAMES-1222:
-------------------------------

log4j.properties:
#log4j.logger.james.pop3server=INFO, POP3SERVER
log4j.logger.james.pop3server=DEBUG

The same records:
pop3server.log:
INFO  00:32:51,804 | james.pop3server | ID=3949890 Connection established from yyy.yyy.zz (xx.xx.xx.xx)
james-server.log:
INFO  00:32:51,804 | james.pop3server | ID=3949890 Connection established from yyy.yyy.zz (xx.xx.xx.xx)

20 minutes later the connection is closed.

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027501#comment-13027501 ] 

Dmitry edited comment on JAMES-1222 at 5/2/11 12:41 AM:
--------------------------------------------------------

I scanned the pop3 session for the mail with question marks in headers. I attached the results in the file 'wireshark_UTF-8.txt'. Character encoding of this file is UTF-8.

      was (Author: rgstinboxru):
    I scanned pop3 session for the mail with question marks in headers. I attached the results in the file 'wireshark_UTF-8.txt'. Character encoding of this file is UTF-8.
  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022854#comment-13022854 ] 

Norman Maurer commented on JAMES-1222:
--------------------------------------

Whatever I try I cannot reproduce this.. Can you please upload the email that shows the problem ? And what mailbox you use ? 

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023471#comment-13023471 ] 

Dmitry commented on JAMES-1222:
-------------------------------

File 'mail.txt' is windows-1251 encoded. I see no square signs in the body. I see plain cyrillic text in the body. If I change this encoding to UTF-8 in the viewer, I see the square signs in the body. With windows-1252 you see international letters (german umlauts etc) instead of cyrillic letters.
But what is "raw content" in this case? The question marks are in headers "From" and "Subject". There WAS plain cyrillic text (8-bit) before delivery to JAMES. After the delivery in the PostgreSQL database are the question marks. In the "raw content" through IMAP too.
To clarify I attached the same file re-encoded in UTF-8 ("mail_UTF-8.txt").

> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>         Attachments: mail.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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] [Reopened] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

Posted by "Dmitry (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry reopened JAMES-1222:
---------------------------


Sorry, but the problem persists. On the same message POP3 hangs.


> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: mail.txt, mail_UTF-8.txt, wireshark_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, 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