Opush
  1. Opush
  2. OP-226

T#14971 Respect mail_conf.ini settings about special folder paths

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Labels:
      None
    • Rank:
      6933
    • Sprint:
      2016#01

      Description

      Pre-conditions

      • Set "altnamespace: no" in /etc/imapd.conf
      • Restart cyrus: /etc/init.d/cyrus-imapd restart
      • Verify that your special folders are under the INBOX
        $ curl -kv -u "admin@obm24.lyn.lng:admin" imap://obm24/ -X 'LSUB "" *'
        ...
        * LSUB () "/" INBOX/Drafts
        * LSUB () "/" INBOX/SPAM
        * LSUB () "/" INBOX/Sent
        * LSUB () "/" INBOX/Trash
        
      • Adapt your mail_conf.ini to match these folders
        imap.mailbox.draft=INBOX/Drafts
        imap.mailbox.sent=INBOX/Sent
        imap.mailbox.trash=INBOX/Trash
        

      Reproduction steps

      1. As usera with any device, delete an email A of your INBOX
      2. As usera with any device, send an email B

      Current behavior

      1. NOK the email A is not deleted, it has not been moved in the trash
      2. NOK the email B is not sent, it has not been stored in the sentbox

      Expected behavior

      1. OK the email A is deleted, it has been moved in the trash
      2. OKthe email B is well sent, it has been stored in the sentbox

      Additional informations

        Activity

        Hide
        Stephane COLSON added a comment -

        OK with version 3.1.2~rc0 on CentOS. Tested with iPhone 5 (iOS 9.1) and Fairphone FP1 (Android 4.2.2)

        1. Send email, email in Sent Folder
        2. Reply email, email in Sent Folder
          # Forward email, email in Sent Folder
        3. Receive email, email in Inbox
        4. Delete email, email in Trash
        Show
        Stephane COLSON added a comment - OK with version 3.1.2~rc0 on CentOS. Tested with iPhone 5 (iOS 9.1) and Fairphone FP1 (Android 4.2.2) Send email, email in Sent Folder Reply email, email in Sent Folder # Forward email, email in Sent Folder Receive email, email in Inbox Delete email, email in Trash
        Hide
        Jenkins Continuous Integration Server added a comment -

        SUCCESS: Integrated in opush-master-3.1 #36
        OP-226 Fix failed bumping (thilaire: 58d0820f1e5bb56fd945e6c436c3b1e528a14151)

        • pom.xml
          OP-226 Add integration test about send an email (thilaire: 6555c00db782f4ea99fe37b01b5eb77a927c0c35)
        • integration-testing/opush/src/main/java/org/obm/opush/env/OpushStaticConfiguration.java
        • integration-testing/opush/src/test/java/org/obm/opush/env/GreenMailEnvModule.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java
        • integration-testing/opush/src/main/java/org/obm/opush/env/OpushConfigurationFixture.java
          OP-226 Send email now takes care of the settings (thilaire: 191607cce449dbdb3c6c85c115754074abb8a311)
        • push-mail/src/test/java/org/obm/push/mail/imap/MockBasedImapMailboxServiceTest.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java
        • push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java
          OP-226 Delete email now takes care of the settings (thilaire: a1d8e81285396a7b4eaa5cb27c27fdc0cdd9b775)
        • push-mail/src/test/java/org/obm/push/mail/MailBackendTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • integration-testing/opush/src/test/java/org/obm/opush/MailBackendGetChangedTest.java
          OP-226 FolderSync now takes care of the settings (thilaire: 037f8e9822d85455cabb35e83483ea33a8dc2ef5)
        • push-mail/src/test/java/org/obm/push/mail/MailBackendImplTest.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderSyncHandlerWithBackendsTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendFoldersBuilder.java
        • integration-testing/opush/src/main/java/org/obm/opush/HierarchyChangesTestUtils.java
        • push-mail/src/test/java/org/obm/push/mail/MailBackendFoldersBuilderTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncTestUtils.java
        Show
        Jenkins Continuous Integration Server added a comment - SUCCESS: Integrated in opush-master-3.1 #36 OP-226 Fix failed bumping (thilaire: 58d0820f1e5bb56fd945e6c436c3b1e528a14151 ) pom.xml OP-226 Add integration test about send an email (thilaire: 6555c00db782f4ea99fe37b01b5eb77a927c0c35 ) integration-testing/opush/src/main/java/org/obm/opush/env/OpushStaticConfiguration.java integration-testing/opush/src/test/java/org/obm/opush/env/GreenMailEnvModule.java integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java integration-testing/opush/src/main/java/org/obm/opush/env/OpushConfigurationFixture.java OP-226 Send email now takes care of the settings (thilaire: 191607cce449dbdb3c6c85c115754074abb8a311 ) push-mail/src/test/java/org/obm/push/mail/imap/MockBasedImapMailboxServiceTest.java integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java OP-226 Delete email now takes care of the settings (thilaire: a1d8e81285396a7b4eaa5cb27c27fdc0cdd9b775 ) push-mail/src/test/java/org/obm/push/mail/MailBackendTest.java push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java integration-testing/opush/src/test/java/org/obm/opush/MailBackendGetChangedTest.java OP-226 FolderSync now takes care of the settings (thilaire: 037f8e9822d85455cabb35e83483ea33a8dc2ef5 ) push-mail/src/test/java/org/obm/push/mail/MailBackendImplTest.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderSyncHandlerWithBackendsTest.java push-mail/src/main/java/org/obm/push/mail/MailBackendFoldersBuilder.java integration-testing/opush/src/main/java/org/obm/opush/HierarchyChangesTestUtils.java push-mail/src/test/java/org/obm/push/mail/MailBackendFoldersBuilderTest.java push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncTestUtils.java
        Hide
        Jenkins Continuous Integration Server added a comment -

        ABORTED: Integrated in opush-master #262
        OP-226 Add integration test about send an email (thilaire: 3826c684b3394d13a1051f6796b78d7a0fa3c1da)

        • integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java
        • integration-testing/opush/src/main/java/org/obm/opush/env/OpushStaticConfiguration.java
        • integration-testing/opush/src/main/java/org/obm/opush/env/OpushConfigurationFixture.java
        • integration-testing/opush/src/test/java/org/obm/opush/env/GreenMailEnvModule.java
          OP-226 Send email now takes care of the settings (thilaire: 6f546bc035c6f8764e6d2da920d290e61ef3efdf)
        • push-mail/src/test/java/org/obm/push/mail/imap/MockBasedImapMailboxServiceTest.java
        • push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java
          OP-226 Delete email now takes care of the settings (thilaire: 0ce4fc02771ca10caefecaf3d3aa5aea2138470f)
        • integration-testing/opush/src/test/java/org/obm/opush/MailBackendGetChangedTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • push-mail/src/test/java/org/obm/push/mail/MailBackendTest.java
          OP-226 FolderSync now takes care of the settings (thilaire: 40bff16a9a88b6f21ab4753c720f515174cc3267)
        • push-mail/src/test/java/org/obm/push/mail/MailBackendImplTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendFoldersBuilder.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderSyncHandlerWithBackendsTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • push-mail/src/test/java/org/obm/push/mail/MailBackendFoldersBuilderTest.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncTestUtils.java
        • integration-testing/opush/src/main/java/org/obm/opush/HierarchyChangesTestUtils.java
        Show
        Jenkins Continuous Integration Server added a comment - ABORTED: Integrated in opush-master #262 OP-226 Add integration test about send an email (thilaire: 3826c684b3394d13a1051f6796b78d7a0fa3c1da ) integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java integration-testing/opush/src/main/java/org/obm/opush/env/OpushStaticConfiguration.java integration-testing/opush/src/main/java/org/obm/opush/env/OpushConfigurationFixture.java integration-testing/opush/src/test/java/org/obm/opush/env/GreenMailEnvModule.java OP-226 Send email now takes care of the settings (thilaire: 6f546bc035c6f8764e6d2da920d290e61ef3efdf ) push-mail/src/test/java/org/obm/push/mail/imap/MockBasedImapMailboxServiceTest.java push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java integration-testing/opush/src/test/java/org/obm/opush/command/email/SmartReplyHandlerTest.java OP-226 Delete email now takes care of the settings (thilaire: 0ce4fc02771ca10caefecaf3d3aa5aea2138470f ) integration-testing/opush/src/test/java/org/obm/opush/MailBackendGetChangedTest.java push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java push-mail/src/test/java/org/obm/push/mail/MailBackendTest.java OP-226 FolderSync now takes care of the settings (thilaire: 40bff16a9a88b6f21ab4753c720f515174cc3267 ) push-mail/src/test/java/org/obm/push/mail/MailBackendImplTest.java push-mail/src/main/java/org/obm/push/mail/MailBackendFoldersBuilder.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderSyncHandlerWithBackendsTest.java push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java push-mail/src/test/java/org/obm/push/mail/MailBackendFoldersBuilderTest.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncTestUtils.java integration-testing/opush/src/main/java/org/obm/opush/HierarchyChangesTestUtils.java

          People

          • Assignee:
            Thomas HILAIRE
            Reporter:
            Thomas HILAIRE
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile