You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2008/11/14 22:35:06 UTC

[jira] Created: (SM-1690) servicemix-mail is not handling POP3 protocol correctly

servicemix-mail is not handling POP3 protocol correctly
-------------------------------------------------------

                 Key: SM-1690
                 URL: https://issues.apache.org/activemq/browse/SM-1690
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-mail
    Affects Versions: 3.3
            Reporter: Lars Heinemann
            Assignee: Lars Heinemann
             Fix For: servicemix-mail-2008.02


It seems that POP3 support is not really done correctly.
POP3 doesn't know about SEEN and UNSEEN message flags...those are not supported by default.
We need to do a workaround for remembering seen messages (at least until endpoint is restartet).

Also checking the deletion of processed mails with POP3. Seems that there are problems.


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


[jira] Updated: (SM-1690) servicemix-mail is not handling POP3 protocol correctly

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann updated SM-1690:
-------------------------------

    Affects Version/s: servicemix-mail-2008.01
                           (was: 3.3)

> servicemix-mail is not handling POP3 protocol correctly
> -------------------------------------------------------
>
>                 Key: SM-1690
>                 URL: https://issues.apache.org/activemq/browse/SM-1690
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: servicemix-mail-2008.01
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>             Fix For: servicemix-mail-2008.02
>
>
> It seems that POP3 support is not really done correctly.
> POP3 doesn't know about SEEN and UNSEEN message flags...those are not supported by default.
> We need to do a workaround for remembering seen messages (at least until endpoint is restartet).
> Also checking the deletion of processed mails with POP3. Seems that there are problems.

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


[jira] Commented: (SM-1690) servicemix-mail is not handling POP3 protocol correctly

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47400#action_47400 ] 

Lars Heinemann commented on SM-1690:
------------------------------------

Also think about an additional flag for skipping TOP header check which may be needed with some not properly written email servers. (MS Exchange Server had this issue once...not sure if it's still a problem)


> servicemix-mail is not handling POP3 protocol correctly
> -------------------------------------------------------
>
>                 Key: SM-1690
>                 URL: https://issues.apache.org/activemq/browse/SM-1690
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: servicemix-mail-2008.01
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>             Fix For: servicemix-mail-2008.02
>
>
> It seems that POP3 support is not really done correctly.
> POP3 doesn't know about SEEN and UNSEEN message flags...those are not supported by default.
> We need to do a workaround for remembering seen messages (at least until endpoint is restartet).
> Also checking the deletion of processed mails with POP3. Seems that there are problems.

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


[jira] Resolved: (SM-1690) servicemix-mail is not handling POP3 protocol correctly

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann resolved SM-1690.
--------------------------------

    Resolution: Fixed

The deletion of messages works fine with POP protocol.

I added a list of already seen messages which contains the UID's of already processed messages.
This list is only used if the protocol is POP3 and you defined that only unseen messages should be processed.
The condition of flagging a message as READ is that the sendSync returned without errors. If an error occurs with sending, the mail
will be processed again at the next poll cycle.

There are now 2 new boolean flags to set for POP3 protocol:

forgetTopHeaders:  
If set to true, the POP3 TOP command will not be used to fetch message headers. This is useful for POP3 servers that don't properly implement the TOP command, or that provide incorrect information in the TOP command results. Defaults to false.

disableTop:
If set to true, the headers that might have been retrieved using the POP3 TOP command will be forgotten and replaced by headers retrieved as part of the POP3 RETR command. Some servers, such as some versions of Microsft Exchange and IBM Lotus Notes, will return slightly different headers each time the TOP or RETR command is used. To allow the POP3 provider to properly parse the message content returned from the RETR command, the headers also returned by the RETR command must be used. Setting this property to true will cause these headers to be used, even if they differ from the headers returned previously as a result of using the TOP command. Defaults to false.

For further information have a look at:
http://java.sun.com/products/javamail/javadocs/index.html


> servicemix-mail is not handling POP3 protocol correctly
> -------------------------------------------------------
>
>                 Key: SM-1690
>                 URL: https://issues.apache.org/activemq/browse/SM-1690
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: servicemix-mail-2008.01
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>             Fix For: servicemix-mail-2008.02
>
>
> It seems that POP3 support is not really done correctly.
> POP3 doesn't know about SEEN and UNSEEN message flags...those are not supported by default.
> We need to do a workaround for remembering seen messages (at least until endpoint is restartet).
> Also checking the deletion of processed mails with POP3. Seems that there are problems.

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