[imapsync] Can I install imapsync on the same server where Cloudron is installed?
-
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 -
@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 -
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?
-
@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!
-
@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.