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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. [imapsync] Can I install imapsync on the same server where Cloudron is installed?

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

Scheduled Pinned Locked Moved Solved Support
15 Posts 8 Posters 2.5k Views 7 Watching
  • 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

    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

    rmdesR Offline
    rmdesR Offline
    rmdes
    wrote on last edited by
    #4

    @p44 Why not install imapsync locally ?

    P 1 Reply Last reply
    1
    • rmdesR rmdes

      @p44 Why not install imapsync locally ?

      P Offline
      P Offline
      p44
      translator
      wrote on last edited by
      #5

      @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! 😄

      d19dotcaD 1 Reply Last reply
      2
      • P p44

        @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! 😄

        d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by
        #6

        @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
        2
        • d19dotcaD d19dotca

          @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.

          P Offline
          P Offline
          p44
          translator
          wrote on last edited by
          #7

          @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
          1
          • fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by fbartels
            #8

            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 necrevistonnezrN 2 Replies Last reply
            6
            • fbartelsF 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 Offline
              P Offline
              p44
              translator
              wrote on last edited by
              #9

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

              1 Reply Last reply
              1
              • fbartelsF 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
                
                necrevistonnezrN Offline
                necrevistonnezrN Offline
                necrevistonnezr
                wrote on last edited by
                #10

                @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?!

                fbartelsF 1 Reply Last reply
                0
                • necrevistonnezrN necrevistonnezr

                  @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?!

                  fbartelsF Offline
                  fbartelsF Offline
                  fbartels
                  App Dev
                  wrote on last edited by
                  #11

                  @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
                  4
                  • fbartelsF fbartels

                    @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 Offline
                    P Offline
                    p44
                    translator
                    wrote on last edited by
                    #12

                    @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!

                    fbartelsF 1 Reply Last reply
                    0
                    • P p44

                      @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!

                      fbartelsF Offline
                      fbartelsF Offline
                      fbartels
                      App Dev
                      wrote on last edited by
                      #13

                      @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
                      4
                      • fbartelsF fbartels

                        @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 Offline
                        P Offline
                        p44
                        translator
                        wrote on last edited by
                        #14

                        @fbartels Amazing!

                        1 Reply Last reply
                        1
                        • d19dotcaD d19dotca

                          @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.

                          J Offline
                          J Offline
                          jayonrails
                          translator
                          wrote on last edited by
                          #15

                          @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
                          3
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search