Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    [kopano-migration-pst] Imported e-mails not visible

    Kopano Groupware Core
    4
    12
    845
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fbartels
      fbartels Kopano last edited by

      Hi @Nortepe85 ,

      I am afraid we would need to have more information about your system before coming to a conclusion.

      Which version of Kopano are you using?
      On what os?
      What do you mean with “aren’t visible”? Can you share a screenshot?
      How did you connect Outlook? (IMAP, ActiveSync, …)

      I would say that since the mails are displayed in WebApp the folder class probably has no influence. I think our support has a script to fix these folder classes, so if you have a valid subscription you could open a support case to request the script.

      Regards Felix

      Resources:
      https://kopano.com/blog/how-to-get-kopano/
      https://documentation.kopano.io/
      https://kb.kopano.io/

      Support overview:
      https://kopano.com/support/

      1 Reply Last reply Reply Quote 0
      • robing
        robing Kopano (Inactive) last edited by

        @Nortepe85

        Actually that script is available for everyone on our stash https://stash.kopano.io/projects/KSC/repos/core-tools/browse/ipf-imap-to-note

        Regards Robin,

        Need support?
        Have a look at https://kopano.com/support/ for options.

        Helpful resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        1 Reply Last reply Reply Quote 0
        • entirenet
          entirenet last edited by

          I tried this Script today to convert via PST file imported IMAP mails.

          Unfortunately the script throws an error:

          “IndentationError: unexpected indent” on Line 12.

          As i’m not familar with python i have no clue what is missing here.

          Any ideas?

          BR,
          //entire

          1 Reply Last reply Reply Quote 0
          • robing
            robing Kopano (Inactive) last edited by

            @entirenet Did you copy paste the script by any chance ?

            Python is very strict on the indentation part and some editors replace the spaces for tabs and this is not allowed in Python

            Regards Robin,

            Need support?
            Have a look at https://kopano.com/support/ for options.

            Helpful resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            1 Reply Last reply Reply Quote 0
            • entirenet
              entirenet last edited by

              Yes, i did copy and paste it. From stash first into my editor, then into vim in terminal.

              I try to dowload it from stash. maybe that works better.

              1 Reply Last reply Reply Quote 0
              • entirenet
                entirenet last edited by

                That was a good hint. Copy & Paste into pico instead of vim seems to work better.

                Now i get another error, that kopano module is missing…

                Traceback (most recent call last):
                File “ipf-imap-to-note.py”, line 6, in <module>
                import kopano
                ImportError: No module named kopano

                fbartels 1 Reply Last reply Reply Quote 0
                • fbartels
                  fbartels Kopano @entirenet last edited by

                  @entirenet said in [kopano-migration-pst] Imported e-mails not visible:

                  ImportError: No module named kopano

                  you would need to run the script on a system where the kopano packages are installed (or install at least python-kopano with its dependencies)

                  @entirenet said in [kopano-migration-pst] Imported e-mails not visible:

                  Copy & Paste into pico instead of vim seems to work better.

                  I would not recommend to use c&p here at all. The file is in a public git repository so the best course of action would be to clone to repo to your machine. if you do not want to clone it (e.g. because of disk space shortage and no installed git binary) you could download the “raw” file from bitbucket. For this view there is a button on the top right corner of the code display. In the case of this script it leads to https://stash.kopano.io/projects/KSC/repos/core-tools/raw/ipf-imap-to-note/ipf-imap-to-note.py?at=refs%2Fheads%2Fmaster

                  Regards Felix

                  Resources:
                  https://kopano.com/blog/how-to-get-kopano/
                  https://documentation.kopano.io/
                  https://kb.kopano.io/

                  Support overview:
                  https://kopano.com/support/

                  1 Reply Last reply Reply Quote 0
                  • entirenet
                    entirenet last edited by

                    @entirenet said in [kopano-migration-pst] Imported e-mails not visible:

                    ImportError: No module named kopano

                    fixed it with “univention-install python-kopano”

                    Thanks a lot.

                    1 Reply Last reply Reply Quote 0
                    • entirenet
                      entirenet last edited by entirenet

                      Still the old mails are not visible. How can i check what the script is doing or if it did something at all? I only got the output:

                      “Checking user store: nameofuser”

                      1 Reply Last reply Reply Quote 0
                      • entirenet
                        entirenet last edited by

                        One step ahead. I did a kopano-fsck on the user and got this issues with unknown classes which are getting ignored:

                        kopano-fsck -u nameofuser -P --checkonly --all


                        WARNING


                        This tool will repair items and remove invalid items from a mailbox.
                        It is recommended to use this tool outside of office hours, as it may affect server performance.
                        Before running this program, ensure a working backup is available.

                        To accept these terms, press <ENTER> to continue or <CTRL-C> to quit.

                        Enter password:
                        Unknown class, skipping entry “Public folders”
                        Ignoring folder: “TEST-HH-06 bis 01” (IPF.Note)
                        Ignoring folder: “TEST-HH-07” (IPF.Note)
                        Ignoring search folder: “Erinnerungen” (Outlook.Reminder)
                        Ignoring folder: “Gesendete Elemente” (IPF.Note)
                        Ignoring folder: “Gelöschte Elemente” (IPF.Note)
                        Ignoring folder: “Junk-E-Mail” (IPF.Note)
                        Ignoring folder: “Vorgeschlagene Kontakte” (IPF.Contact)
                        Ignoring folder: “Quickstep Einstellungen” (IPF.Configuration)
                        Ignoring folder: “Konversationseinstellungen” (IPF.Configuration)
                        Ignoring folder: “RSS Feeds” (IPF.Note.OutlookHomepage)
                        Unknown class, skipping entry “Freebusy Data”
                        Ignoring folder: “Junk E-Mail” (IPF.Note)
                        Validating folder “Aufgaben”
                        No entries inside folder.
                        Validating of folder “Aufgaben” ended
                        Ignoring folder: “Notizen” (IPF.StickyNote)
                        Ignoring folder: “Journal” (IPF.Journal)
                        Ignoring folder: “Entwürfe” (IPF.Note)
                        Validating folder “Kalender”
                        No entries inside folder.
                        Validating of folder “Kalender” ended
                        Validating folder “Kontakte”
                        No entries inside folder.
                        Validating of folder “Kontakte” ended
                        Unknown class, skipping entry “Gesendete Objekte”
                        Unknown class, skipping entry “Gelöschte Objekte”
                        Unknown class, skipping entry “Postausgang”
                        Unknown class, skipping entry “Posteingang”
                        Unknown class, skipping entry “Schedule”
                        Unknown class, skipping entry “Verknüpfung”
                        Unknown class, skipping entry “FINDER_ROOT”
                        Unknown class, skipping entry “IPM_VIEWS”
                        Unknown class, skipping entry “IPM_COMMON_VIEWS”
                        Unknown class, skipping entry “IPM_SUBTREE”

                        Statistics:
                        IPF.Appointment
                        Folders: 1
                        Entries: 0
                        Problems: 0
                        Fixed: 0
                        Deleted: 0
                        IPF.Contact
                        Folders: 1
                        Entries: 0
                        Problems: 0
                        Fixed: 0
                        Deleted: 0
                        IPF.Task
                        Folders: 1
                        Entries: 0
                        Problems: 0
                        Fixed: 0
                        Deleted: 0

                        Seems the prior executed script didn’t do as it is supposed to, or?

                        //entire

                        1 Reply Last reply Reply Quote 0
                        • entirenet
                          entirenet last edited by

                          nevermind - i found an old post from @fbartels and kopano-fsck is not intended for use with mails, just contacs and appointments, taks and so on.

                          Anyone ideas why i only see the mails in WebApp? I might go and try the DeskApp, but in that it will work i’m sure.

                          //entire

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post