whitelisting/blacklisting ip addresses for IMAP

2012-02-10 Thread roy . james
Hello James Developers,

Long time lurker and fan, my company has been dealing with email for some time 
and recently we started a project to use James IMAP to access our email.  So we 
started our own Mailbox implementation.

Recently the idea of limiting access to the IMAP service based on whitelisted 
ip addresses came up and looking at the source code for IMAP I do not see 
anything IP address related to the user.  I could modify the source however I 
did want to see if this is a feature that the James developers were thinking 
about anyway?

Regards,
Roy

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



Re: whitelisting/blacklisting ip addresses for IMAP

2012-02-10 Thread Eric Charles

Hi,

POP3 and SMTP run in the protocols framework where you can define 
handler chains via configuration (the Handlers being JAVA classes). 
IMAP4 does not allow this and you have to implement in-hard in the code.


There is an effort to implement IMAP4 in the protocols project, which 
will make it benefit from existing and new handlers (whithelisting,...) 
configurable via XML file.


I can't tell any plan for configurable IMAP handlers to be available. If 
you can't wait us to offer this, just implement a specific Processor in 
the current IMAP code.


Thx,
Eric

On 10/02/12 20:02, roy.ja...@xemaps.com wrote:

Hello James Developers,

Long time lurker and fan, my company has been dealing with email for some time 
and recently we started a project to use James IMAP to access our email.  So we 
started our own Mailbox implementation.

Recently the idea of limiting access to the IMAP service based on whitelisted 
ip addresses came up and looking at the source code for IMAP I do not see 
anything IP address related to the user.  I could modify the source however I 
did want to see if this is a feature that the James developers were thinking 
about anyway?

Regards,
Roy

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



--
eric | http://about.echarles.net | @echarles

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



Build failed in Jenkins: james-server-trunk #2627

2012-02-10 Thread Apache Jenkins Server
See 

--
[...truncated 1480 lines...]
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
 (451 B at 2.5 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
 (2 KB at 4.7 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
 (451 B at 2.1 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/james-server-data-library-3.0-beta4-20120211.070819-655-tests.jar
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/james-server-data-library-3.0-beta4-20120211.070819-655-tests.jar
 (30 KB at 104.9 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
 (2 KB at 5.5 KB/sec)
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-data-library/builds/2012-02-11_06-53-10/archive/org.apache.james/james-server-data-library/3.0-beta4-SNAPSHOT/james-server-data-library-3.0-beta4-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-data-library/builds/2012-02-11_06-53-10/archive/org.apache.james/james-server-data-library/3.0-beta4-20120211.070819-655/james-server-data-library-3.0-beta4-20120211.070819-655.jar
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-data-library/builds/2012-02-11_06-53-10/archive/org.apache.james/james-server-data-library/3.0-beta4-20120211.070819-655/james-server-data-library-3.0-beta4-20120211.070819-655-tests.jar
[INFO] 
[INFO] 
[INFO] Building Apache James Server HBase Data Persistence 3.0-beta4-SNAPSHOT
[INFO] 
[INFO] [INFO] Deleting 


[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
james-server-data-hbase ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ 
james-server-data-hbase ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
james-server-data-hbase ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
james-server-data-hbase ---
[INFO] Compiling 7 source files to 

[INFO] 
[INFO] --- maven-bundle-plugin:2.3.5:manifest (bundle-manifest) @ 
james-server-data-hbase ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
james-server-data-hbase ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
james-server-data-hbase ---
[INFO] Compiling 5 source files to 

[INFO] [INFO] Surefire report directory: 


---
 T E S T 

[jira] [Created] (MAILBOX-161) ACL persistence in HBaseMailbox

2012-02-10 Thread Jochen Gazda (Created) (JIRA)
ACL persistence in HBaseMailbox
---

 Key: MAILBOX-161
 URL: https://issues.apache.org/jira/browse/MAILBOX-161
 Project: James Mailbox
  Issue Type: Task
  Components: hbase
Reporter: Jochen Gazda


getACL() and setACL(MailboxACL) method stubs should be filled with code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (MAILBOX-163) ACL persistence in JPAMailbox

2012-02-10 Thread Jochen Gazda (Created) (JIRA)
ACL persistence in JPAMailbox
-

 Key: MAILBOX-163
 URL: https://issues.apache.org/jira/browse/MAILBOX-163
 Project: James Mailbox
  Issue Type: Task
  Components: jpa mailbox
Reporter: Jochen Gazda
Assignee: Norman Maurer


getACL() and setACL(MailboxACL) method stubs should be filled with code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (MAILBOX-162) ACL persistence in JCRMailbox

2012-02-10 Thread Jochen Gazda (Created) (JIRA)
ACL persistence in JCRMailbox
-

 Key: MAILBOX-162
 URL: https://issues.apache.org/jira/browse/MAILBOX-162
 Project: James Mailbox
  Issue Type: Task
  Components: jcr mailbox
Reporter: Jochen Gazda
Assignee: Norman Maurer


getACL() and setACL(MailboxACL) method stubs should be filled with code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (IMAP-358) Enforce rights required to perform different IMAP4rev1 Commands in IMAP processors

2012-02-10 Thread Jochen Gazda (Created) (JIRA)
Enforce rights required to perform different IMAP4rev1 Commands in IMAP 
processors
--

 Key: IMAP-358
 URL: https://issues.apache.org/jira/browse/IMAP-358
 Project: JAMES Imap
  Issue Type: Improvement
  Components: Processor
Reporter: Jochen Gazda


RFC 4314 section 4. Write tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (MAILBOX-164) MailboxACLUpdated event should be fired and litstened to.

2012-02-10 Thread Jochen Gazda (Created) (JIRA)
MailboxACLUpdated event should be fired and litstened to.
-

 Key: MAILBOX-164
 URL: https://issues.apache.org/jira/browse/MAILBOX-164
 Project: James Mailbox
  Issue Type: Task
  Components: api
Reporter: Jochen Gazda
Assignee: Norman Maurer


See org.apache.james.mailbox.MailboxListener.MailboxACLUpdated

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (IMAP-359) Implement missing ACL commands SETACL, LISTRIGHTS and MYRIGHTS

2012-02-10 Thread Jochen Gazda (Created) (JIRA)
Implement missing ACL commands SETACL, LISTRIGHTS and MYRIGHTS
--

 Key: IMAP-359
 URL: https://issues.apache.org/jira/browse/IMAP-359
 Project: JAMES Imap
  Issue Type: Task
  Components: Processor
Reporter: Jochen Gazda


GETACL implemented already

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-351) ACL Support

2012-02-10 Thread Jochen Gazda (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205302#comment-13205302
 ] 

Jochen Gazda commented on IMAP-351:
---

Just to sum up the state of the tasks mentioned in the original post:

> (1) I have put some FIXMEs and TODOs in the patch where somebody 
> experienced should please have a look.

See IMAP-354, IMAP-355, IMAP-356, MAILBOX-156, MAILBOX-157 and MAILBOX-158

> (2) ACL getter and setter stubs should be filled in Mailbox 
> implementations. New tests should be added for those getters and 
> setters.

See MAILBOX-161, MAILBOX-162, MAILBOX-163 and MAILBOX-158

> (3) Mapping of ACL Rights to READ-WRITE and READ-ONLY Response Codes,
> see RFC 4314 section 5.2. 

See MAILBOX-160

> (4) Enforce rights required to perform different IMAP4rev1 Commands in 
> IMAP processors, see RFC 4314 section 4. Write tests. 

See IMAP-358

> (5) MailboxACLUpdated event should be fired and litstened to.

See MAILBOX-164

(6) A new one: IMAP-359 Implement missing ACL commands SETACL, LISTRIGHTS and 
MYRIGHTS


> ACL Support
> ---
>
> Key: IMAP-351
> URL: https://issues.apache.org/jira/browse/IMAP-351
> Project: JAMES Imap
>  Issue Type: New Feature
>  Components: JCR Mailbox, JPA Mailbox, Mailbox, Maildir Mailbox, 
> Parser, Processor, Protocol
>Affects Versions: 0.3
>Reporter: Jochen Gazda
>  Labels: ACL, IMAP
> Fix For: 0.3
>
> Attachments: IMAP-GETACL.txt, ImapGetACLTest.java
>
>   Original Estimate: 672h
>  Remaining Estimate: 672h
>
> Support for RFC 4314 IMAP4 Access Control List (ACL) Extension

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Jenkins build is back to normal : james-app-trunk #590

2012-02-10 Thread Apache Jenkins Server
See 



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



Build failed in Jenkins: james-server-trunk #2626

2012-02-10 Thread Apache Jenkins Server
See 

--
[...truncated 1471 lines...]
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
 (451 B at 6.1 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
 (2 KB at 7.1 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/maven-metadata.xml
 (451 B at 3.2 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/james-server-data-library-3.0-beta4-20120210.101708-654-tests.jar
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/james-server-data-library-3.0-beta4-20120210.101708-654-tests.jar
 (30 KB at 132.0 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-data-library/3.0-beta4-SNAPSHOT/maven-metadata.xml
 (2 KB at 10.6 KB/sec)
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-data-library/builds/2012-02-10_10-13-59/archive/org.apache.james/james-server-data-library/3.0-beta4-SNAPSHOT/james-server-data-library-3.0-beta4-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-data-library/builds/2012-02-10_10-13-59/archive/org.apache.james/james-server-data-library/3.0-beta4-20120210.101708-654/james-server-data-library-3.0-beta4-20120210.101708-654.jar
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-data-library/builds/2012-02-10_10-13-59/archive/org.apache.james/james-server-data-library/3.0-beta4-20120210.101708-654/james-server-data-library-3.0-beta4-20120210.101708-654-tests.jar
[INFO] 
[INFO] 
[INFO] Building Apache James Server HBase Data Persistence 3.0-beta4-SNAPSHOT
[INFO] 
[INFO] [INFO] Deleting 


[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
james-server-data-hbase ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ 
james-server-data-hbase ---
[INFO] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
james-server-data-hbase ---
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
james-server-data-hbase ---
[INFO] Compiling 7 source files to 

[INFO] 
[INFO] --- maven-bundle-plugin:2.3.5:manifest (bundle-manifest) @ 
james-server-data-hbase ---
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
james-server-data-hbase ---
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
james-server-data-hbase ---
[INFO] Compiling 5 source files to 

[INFO] 
[INFO] [INFO] Surefire report directory: 

--- maven-surefire-plugin:2.10:test (default-test) @ jame

[jira] [Created] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread lcl hst (Created) (JIRA)
IMAP-folder jumps
-

 Key: IMAP-360
 URL: https://issues.apache.org/jira/browse/IMAP-360
 Project: JAMES Imap
  Issue Type: Bug
  Components: JPA Mailbox, Mailbox, Protocol
Affects Versions: 0.2.1, 0.2, 0.2-M1, 0.1, 0.3
 Environment: Windows 7, 64 bits, Oracle JPA.
Reporter: lcl hst
Priority: Critical


When clicking an IMAP-folder in Thunderbird, I see several messages,
when changing to another and switching back, I see different messages!

This is the case, everytime I switch folders. So this folder "jumps".
I did not expect this. This should never happen.

It seems different messages are returned sometimes? Or maybe
Thunderbird is doing something wrong.

I've attached the IMAP-log from Thunderbird. As you can see in the log
below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
The 2nd time I viewed the inbox, there were other messages and
messages got removed. When I switch over and over, I get different
messages all the time. Some messages are marked read, some not. This
changes all the time.

What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Re: IMAP-folder jumps

2012-02-10 Thread l0c4l h0st
Created IMAP-360.

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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread Eric Charles (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205382#comment-13205382
 ] 

Eric Charles commented on IMAP-360:
---

Hi, Can you also indicate the james version you are using (and optionally the 
thunderbird version also)
Thx,
Eric

> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205401#comment-13205401
 ] 

lcl hst commented on IMAP-360:
--

Hi, yes:

JAMES version 3.0 beta3.

Thunderbird version 9.0.1.

Now that I clicked "Help - About", it starts downloading an update. I also saw 
there's now JAMES 3.0 beta 4? I don't know where I could acquire this version.

I won't update Thunderbird now, because I know I can do something so that it 
will get "magically" fixed. Going to do that now, I'll paste a log again.

> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205402#comment-13205402
 ] 

lcl hst commented on IMAP-360:
--

Regarding Norman's question: No. When messages appear in a certain folder that 
jumps, it'll always ONLY show messages that are actually in that folder. 
However, sometimes it doesn't show certain messages.

So everything that's shown, *is* correct. It just doesn't show everything all 
the time, which it should.

> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205412#comment-13205412
 ] 

lcl hst commented on IMAP-360:
--

OK, cool, been refreshing a bit more: It also works when you're viewing the 
inbox and click "Get messages" in Thunderbird's toolbar (top left).

I also noticed there's the same pattern (for example):
Message 1, 2, 3, 4, 7, 9 are shown (case 1)
Refresh
Message 1, 3, 5, 6, 7, 9 are shown (case 2)
Refresh
Message 1, 3, 5, 7, 8, 9 are shown (case 3)
Refresh
Case 1
Refresh
Case 2
Refresh
Case 3
Refresh
Case 1
Refresh
Case 2

etc.

Also, when marking those messages as read (they're always unread) and clicking 
"Get mail messages" again a few times, they re-appear unread.

Also, when viewing the activity manager, I see this:
13:38 Removed 3 messages from INBOX.
13:38 Removed 5 messages from INBOX.
13:38 Removed 32 messages from INBOX.
13:40 Removed 3 messages from INBOX.
13:41 Removed 2 messages from INBOX.
13:41 Removed 3 messages from INBOX.
13:41 Removed 5 messages from INBOX.
13:42 Removed 56! messages from INBOX.

That's when I click "Get mail messages" very fast. Now it shows "Removed 157 
messages from INBOX".

There is *something* that causes Thunderbird to actually delete (or try to 
delete and fail) these messages.

There is also something that triggers this, because it works perfectly, 
however, suddenly you get into this scenario where you see the jumping 
IMAP-folders. Maybe it has to do with messages being received into IMAP-folders 
and a missynchronization between some folders. Or something.

I haven't been able to fix it yet. I know for sure I once did some actions 
which caused the jumping to stop.

> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread Eric Charles (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205478#comment-13205478
 ] 

Eric Charles commented on IMAP-360:
---

Hi, Thx for the details. I have to take time next week to figure out what could 
be the cause, but there were many changes since M3.

I'm having with current version (trunk, not released), sometimes some unread 
which become read, and just after unread, but I suspect more a thunderbird or 
network misbehaviour.
I never had the issues you describe, but I didn't run long with M3 (I regularly 
upgrade)

In the meantime, you could;

- Right-click on your folder, select properties, and click on "Repair Folder" 
button : it could help.

- Try with a trunk snapshot (no M4 atm) : Download from 
https://repository.apache.org/content/groups/snapshots/org/apache/james/apache-james/3.0-beta4-SNAPSHOT/
 for example the apache-james-3.0-beta4-20120210.100938-566-app.zip file

Thx,
Eric




> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Re: [jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread l0c4l h0st
As I said, the jumping folders do not cause any events on the
mailboxmanager, so Thunderbird doesn't actually mark the messages read
on the server or anything.

I'll download the beta4 and retest. However, I'm not sure how to
trigger this. I usually get this at random times. I'll download the
beta4 and test every once in a while, I must be able to get this
again. :) Or I hope it's somehow fixed in beta4. :)

Thanks.

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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205507#comment-13205507
 ] 

lcl hst commented on IMAP-360:
--

As I said, the jumping folders do not cause any events on the mailboxmanager, 
so Thunderbird doesn't actually mark the messages read on the server or 
anything.

I'll download the beta4 and retest. However, I'm not sure how to trigger this. 
I usually get this at random times. I'll download the beta4 and test every once 
in a while, I must be able to get this again. :) Or I hope it's somehow fixed 
in beta4. :)

Thanks.

> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-10 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205512#comment-13205512
 ] 

lcl hst commented on IMAP-360:
--

Maybe UIDVALIDITY changed and Thunderbird still has the old UIDs? I know 
UIDVALIDITY can be quite funky sometimes.

> IMAP-folder jumps
> -
>
> Key: IMAP-360
> URL: https://issues.apache.org/jira/browse/IMAP-360
> Project: JAMES Imap
>  Issue Type: Bug
>  Components: JPA Mailbox, Mailbox, Protocol
>Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
> Environment: Windows 7, 64 bits, Oracle JPA.
>Reporter: lcl hst
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When clicking an IMAP-folder in Thunderbird, I see several messages,
> when changing to another and switching back, I see different messages!
> This is the case, everytime I switch folders. So this folder "jumps".
> I did not expect this. This should never happen.
> It seems different messages are returned sometimes? Or maybe
> Thunderbird is doing something wrong.
> I've attached the IMAP-log from Thunderbird. As you can see in the log
> below, I chose INBOX, then clicked "Trash", then chose "INBOX" again.
> The 2nd time I viewed the inbox, there were other messages and
> messages got removed. When I switch over and over, I get different
> messages all the time. Some messages are marked read, some not. This
> changes all the time.
> What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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