Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved [imapsync] Can I install imapsync on the same server where Cloudron is installed?

    Support
    8
    15
    610
    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.
    • P
      p44 translator last edited by p44

      I need to move different email accounts and this time want to use imapsync.

      My question is: can I install directly on the Cloudron server?

      Eg. I found this guides: (Guide 1) or this (Guide 2).

      I'm posting this question because when login via SSH I get this message:

      "Please do not run apt upgrade manually as it will update packages that Cloudron relies on and may break your installation."

      Let me know,
      Thank's a lot

      BrutalBirdie rmdes 2 Replies Last reply Reply Quote 1
      • BrutalBirdie
        BrutalBirdie Staff @p44 last edited by

        @p44 You can / could but let me quote.

        Cloudron does not support installing additional packages or running other services on the server.

        ~ https://docs.cloudron.io/networking/


        Setting this aside, it's still your server and cloudron does not block you from doing what ever you want, even if it means destroying your system. (NO bird in a gilded cage).

        I the past I also run some extra stuff which I needed but then started to package it as an app.
        Which might not be a solution for you here.

        Let me answer even a little more vague.
        If your extra service you want to install does not interfere with cloudron, you should be good to go.

        What do you want to achieve with imapsync?
        Getting your E-Mails from Account X to your cloudron mailserver?
        I did that via Thunderbird 😄

        Like my work? Consider donating a beer 🍻 Cheers!

        1 Reply Last reply Reply Quote 2
        • nebulon
          nebulon Staff last edited by

          Yes it is not recommended to install other things on the same server. This is because we cannot test all variations of packages installed to ensure solid updates. Also we have had cases where debugging an issue is so much harder when the server had other things installed or even running as services.

          Looking at the links you posted and looking at what dependencies it has, I cannot recommend installing it on your Cloudron.

          Is there any specific reason why you want to install it there?

          1 Reply Last reply Reply Quote 2
          • rmdes
            rmdes @p44 last edited by

            @p44 Why not install imapsync locally ?

            P 1 Reply Last reply Reply Quote 1
            • P
              p44 translator @rmdes last edited by

              @rmdes Thank's all for answers. I can install locally but ... not so much bandwidth. Idea it was to install directly on new server to take advantage of the provider's bandwidth. But it is clear that is better don't touch filesystem.

              So I decided to use this: https://omm.ovh.net 😊

              Many thank's all for all the answers! 😄

              d19dotca 1 Reply Last reply Reply Quote 2
              • d19dotca
                d19dotca @p44 last edited by

                @p44 said in [imapsync] Can I install imapsync on the same server where Cloudron is installed?:

                https://omm.ovh.net

                Oh that's pretty cool! I haven't come across a hosted (and apparently free?) mail migration tool. Wouldn't trust any old service for that, but OVH is a reputable company. Very neat. I'll keep that in mind for possible future migrations.

                --
                Dustin Dauncey
                www.d19.ca

                P J 2 Replies Last reply Reply Quote 2
                • P
                  p44 translator @d19dotca last edited by

                  @d19dotca Ok I think also service is blazing fast and move giga of data in very small time, effortless. Also, another good feature that they added, ability to sync both email later the first sync. This is useful to align two accounts while DNS are propagating.

                  Thank's again!

                  1 Reply Last reply Reply Quote 1
                  • fbartels
                    fbartels App Dev last edited by fbartels

                    Instead of directly installing imapsync on the Cloudron host you could also use the official docker image of imapsync. This way you could just run docker run --rm gilleslamiral/imapsync imapsync <usual imapsync arguments> which will leave no traces once the execution has finished.

                    More info:
                    https://hub.docker.com/r/gilleslamiral/imapsync/

                    edit: full sync command. Since running the container on the cloudron host i also decided to run it in the host network to be able to just localhost for the cloudron mailbox.

                    My current command is:

                    docker run --rm --network host gilleslamiral/imapsync imapsync \
                    --host1 old.server.com --user1 old.user --password1 REDACTED --ssl1 \
                    --host2 127.0.0.1 --user2 cloudron.user@domain --password2 REDACTED --ssl2 \
                    --nosslcheck --useheader Message-Id --automap --dry
                    
                    P necrevistonnezr 2 Replies Last reply Reply Quote 6
                    • P
                      p44 translator @fbartels last edited by

                      @fbartels Really interesting suggestion!! Thank's a lot!

                      1 Reply Last reply Reply Quote 1
                      • necrevistonnezr
                        necrevistonnezr @fbartels last edited by

                        @fbartels said in [imapsync] Can I install imapsync on the same server where Cloudron is installed?:

                        Instead of directly installing imapsync on the Cloudron host you could also use the official docker image of imapsync. This way you could just run docker run --rm gilleslamiral/imapsync imapsync <usual imapsync arguments> which will leave no traces once the execution has finished.

                        Sorry, I'm not experienced with Docker - does that mean the docker file is not permanently saved on my machine but automatically discarded after execution?!

                        fbartels 1 Reply Last reply Reply Quote 0
                        • fbartels
                          fbartels App Dev @necrevistonnezr last edited by

                          @necrevistonnezr kind of.

                          if you normally execute a container with e.g. docker run -it ubuntu bash the container remains on your system and could at a later time be rerun with the exact same state (all data changed inside of the container remains). You can for example see this container when running docker ps -a (-a to show also exited/stopped containers).

                          When adding --rm to the run command these leftovers will be removed automatically once the container has stopped and a brand new instance will be started when the command is run again.

                          P 1 Reply Last reply Reply Quote 4
                          • P
                            p44 translator @fbartels last edited by

                            @fbartels Can you simulate a typical imapsync string with arguments to run? Eg. email@demo.com to email@demo-two.com ?

                            Thank's a lot!

                            fbartels 1 Reply Last reply Reply Quote 0
                            • fbartels
                              fbartels App Dev @p44 last edited by

                              @p44 just look at "my current command is" in https://forum.cloudron.io/post/22184

                              This one does a dry run, to do the actual migration you need to remove --dry from the end.

                              P 1 Reply Last reply Reply Quote 4
                              • P
                                p44 translator @fbartels last edited by

                                @fbartels Amazing!

                                1 Reply Last reply Reply Quote 1
                                • J
                                  jayonrails translator @d19dotca last edited by

                                  @d19dotca said in [imapsync] Can I install imapsync on the same server where Cloudron is installed?:

                                  @p44 said in [imapsync] Can I install imapsync on the same server where Cloudron is installed?:

                                  https://omm.ovh.net

                                  Oh that's pretty cool! I haven't come across a hosted (and apparently free?) mail migration tool. Wouldn't trust any old service for that, but OVH is a reputable company. Very neat. I'll keep that in mind for possible future migrations.

                                  Another tool you might like that is hosted by German hosting provider Netcup GmbH is the https://mailsync.netcup.net/ website. It is both available in German and English language.

                                  1 Reply Last reply Reply Quote 3
                                  • First post
                                    Last post
                                  Powered by NodeBB