[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?:
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.
-
@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!
-
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
-
@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?!
-
@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 runningdocker 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. -
@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!
-
@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?:
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.