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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2007/04/18 14:20:15 UTC

[jira] Created: (JAMES-788) Fetchmail fails on retrieve some messages from exchange 2003 via pop3

Fetchmail fails on retrieve some messages from exchange 2003 via pop3
---------------------------------------------------------------------

                 Key: JAMES-788
                 URL: https://issues.apache.org/jira/browse/JAMES-788
             Project: James
          Issue Type: Bug
            Reporter: Norman Maurer
            Priority: Critical


We have some strange problems to retrieve messages via pop3 from a exchange 2003 server. It fails on a message and stop to process the rest of the messages in the inbox. Here is the stacktrace of james:

18/04/07 09:42:16 ERROR fetchmail.byte: A MessagingException has terminated fetching messages for this folder

javax.mail.MessagingException: error loading POP3 headers;

  nested exception is:

        java.io.IOException: Unexpected response:       Dialogfeld mit wenigen Mausklicks bestimmen, welche Anh&auml;nge =

        at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:467)

        at com.sun.mail.pop3.POP3Message.getHeader(POP3Message.java:275)

        at javax.mail.internet.MimeMessage.getMessageID(MimeMessage.java:1191)

        at org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:106)

        at org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:85)

        at org.apache.james.fetchmail.FetchMail.targetTriggered(FetchMail.java:550)

        at org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler.doRunEntry(DefaultTimeScheduler.java:449)

        at org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler$1.run(DefaultTimeScheduler.java:412)

        at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)

        at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)

Caused by: java.io.IOException: Unexpected response:       Dialogfeld mit wenigen Mausklicks bestimmen, welche Anh&auml;nge =

        at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:361)

        at com.sun.mail.pop3.Protocol.multilineCommand(Protocol.java:373)

        at com.sun.mail.pop3.Protocol.top(Protocol.java:271)

        at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:451)

        ... 9 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Closed: (JAMES-788) Fetchmail fails on retrieve some messages from exchange 2003 via pop3

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

Norman Maurer closed JAMES-788.
-------------------------------

    Resolution: Invalid

Thx to Stefano to help me debug and finally fix this issue. Its a exchange2003 Bug:

See:
http://support.microsoft.com/kb/816896/en-us

> Fetchmail fails on retrieve some messages from exchange 2003 via pop3
> ---------------------------------------------------------------------
>
>                 Key: JAMES-788
>                 URL: https://issues.apache.org/jira/browse/JAMES-788
>             Project: James
>          Issue Type: Bug
>            Reporter: Norman Maurer
>            Priority: Critical
>
> We have some strange problems to retrieve messages via pop3 from a exchange 2003 server. It fails on a message and stop to process the rest of the messages in the inbox. Here is the stacktrace of james:
> 18/04/07 09:42:16 ERROR fetchmail.byte: A MessagingException has terminated fetching messages for this folder
> javax.mail.MessagingException: error loading POP3 headers;
>   nested exception is:
>         java.io.IOException: Unexpected response:       Dialogfeld mit wenigen Mausklicks bestimmen, welche Anh&auml;nge =
>         at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:467)
>         at com.sun.mail.pop3.POP3Message.getHeader(POP3Message.java:275)
>         at javax.mail.internet.MimeMessage.getMessageID(MimeMessage.java:1191)
>         at org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:106)
>         at org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:85)
>         at org.apache.james.fetchmail.FetchMail.targetTriggered(FetchMail.java:550)
>         at org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler.doRunEntry(DefaultTimeScheduler.java:449)
>         at org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler$1.run(DefaultTimeScheduler.java:412)
>         at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
>         at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
> Caused by: java.io.IOException: Unexpected response:       Dialogfeld mit wenigen Mausklicks bestimmen, welche Anh&auml;nge =
>         at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:361)
>         at com.sun.mail.pop3.Protocol.multilineCommand(Protocol.java:373)
>         at com.sun.mail.pop3.Protocol.top(Protocol.java:271)
>         at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:451)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (JAMES-788) Fetchmail fails on retrieve some messages from exchange 2003 via pop3

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

Norman Maurer commented on JAMES-788:
-------------------------------------

It seems that this problems accour most times only on spam messages... We tried to add some javamail properties to fix this problem but its seems to not do the trick. We added:

mail.pop3.forgettopheaders=true
mail.pop3.disabletop=true

See:
http://java.sun.com/products/javamail/javadocs/com/sun/mail/pop3/package-summary.html
http://www.jguru.com/faq/view.jsp?EID=1314623

> Fetchmail fails on retrieve some messages from exchange 2003 via pop3
> ---------------------------------------------------------------------
>
>                 Key: JAMES-788
>                 URL: https://issues.apache.org/jira/browse/JAMES-788
>             Project: James
>          Issue Type: Bug
>            Reporter: Norman Maurer
>            Priority: Critical
>
> We have some strange problems to retrieve messages via pop3 from a exchange 2003 server. It fails on a message and stop to process the rest of the messages in the inbox. Here is the stacktrace of james:
> 18/04/07 09:42:16 ERROR fetchmail.byte: A MessagingException has terminated fetching messages for this folder
> javax.mail.MessagingException: error loading POP3 headers;
>   nested exception is:
>         java.io.IOException: Unexpected response:       Dialogfeld mit wenigen Mausklicks bestimmen, welche Anh&auml;nge =
>         at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:467)
>         at com.sun.mail.pop3.POP3Message.getHeader(POP3Message.java:275)
>         at javax.mail.internet.MimeMessage.getMessageID(MimeMessage.java:1191)
>         at org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:106)
>         at org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:85)
>         at org.apache.james.fetchmail.FetchMail.targetTriggered(FetchMail.java:550)
>         at org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler.doRunEntry(DefaultTimeScheduler.java:449)
>         at org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler$1.run(DefaultTimeScheduler.java:412)
>         at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
>         at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
> Caused by: java.io.IOException: Unexpected response:       Dialogfeld mit wenigen Mausklicks bestimmen, welche Anh&auml;nge =
>         at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:361)
>         at com.sun.mail.pop3.Protocol.multilineCommand(Protocol.java:373)
>         at com.sun.mail.pop3.Protocol.top(Protocol.java:271)
>         at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:451)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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