# Switch to local server?

**URL:** <https://forum.delta.chat/t/switch-to-local-server/3399>\
**Category:** Uncategorized\
**Created:** [December 17, 2024, 5:32pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399 "2024-12-17T17:32:02Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [December 17, 2024, 5:32pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/1 "2024-12-17T17:32:02Z")

</div>

Some time ago, I recommended Deltachat to a couple and they started using it, registering accounts with the geographically closest server. Then they moved continents and the messages between them became very slow. When they told me I helped them re-register new accounts from a server on the same continent, and it started working promptly again, but in the meanwhile they’d switched over to a proprietary messenger. They also didn’t want to go to the trouble of re-contacting their friends to swap keys again, nor switch addresses repeatedly (they move seasonally).

Is this now fixed if you use the new P2P functionality? I presume you could now mail out a vcard introduction of your new account from your old account. Is there any way of labeling two accounts as geographical variants of one another or some such? This would leak information about what continent you are on, but that might not be a big deal for some users.

This is a minor disadvantage of individuals hosting local servers; they don’t have a global network of servers and automatically route you through the nearest one. [Forwarding](https://delta.chat/en/2022-09-14-aeap) would only increase the delay.

_edit:_ [this post](https://support.delta.chat/t/deltachat-uberfordert-mich-problem-mit-nutzern-mehrerer-e-mail-adressen/1646) seems related, it suggests letting recipients group several accounts together and treat them as one person.

I did not have this problem myself and would be happy to hear from anyone who has.

---

<div class="post-metadata">

**Author:** ![Simon](https://forum.delta.chat/user_avatar/forum.delta.chat/simon/32/287_2.png) [@Simon](https://forum.delta.chat/u/Simon)\
**Post date:** [December 17, 2024, 8:57pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/2 "2024-12-17T20:57:33Z")

</div>

> [@Minim](#):
>
> the messages between them became very slow

how much delay are we talking about in seconds/miliseconds?

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [December 17, 2024, 9:04pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/3 "2024-12-17T21:04:45Z")

</div>

One of them said about 25 min and the other about 15; both agreed it was variable.

---

<div class="post-metadata">

**Author:** ![Simon](https://forum.delta.chat/user_avatar/forum.delta.chat/simon/32/287_2.png) [@Simon](https://forum.delta.chat/u/Simon)\
**Post date:** [December 17, 2024, 9:24pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/4 "2024-12-17T21:24:09Z")

</div>

have they tried chatmail? [Chatmail for instant, interoperable and privacy-preserving messaging - Delta Chat](https://delta.chat/en/chatmail)

Chat mail is a best case email server configuration that we developed which solves a few problems:

- normal message roundtrip times are like under 1 second
- push notifications on iOS work reliably
- easy to setup and login without any personal info

With normal email providers there might be spam checking delays and other processing delays.  
If it would be only the internet connection to the server, then other messengers would also be slow or not work at all. Like reaching other continents normally takes (milli)seconds, not minutes.

> [@Minim](#):
>
> Is this now fixed if you use the new P2P functionality?

The p2p functionality currently is about the [realtime channels](https://webxdc.org/docs/spec/joinRealtimeChannel.html#realtimechannelsenddata) in webxdc  
There are ideas about multi-transport (using multiple email providers at the same time) that might solve this issue, but realistically this will not have been realised before start of 2026.

For now I would recommend to use any chatmail server, this should already solve the issue. If not we’d like to hear about it, so we can improve chat mail.

Though the disadvantage of chatmail is that you can not send unencrypted mail, so someone has to write you first announcing their key or you have to use vcard or qr code scanning feature to establish the contact.

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [December 17, 2024, 10:10pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/5 "2024-12-17T22:10:06Z")

</div>

They both used a chatmail server listed in-app. I think it was based in Germany. It was fast while they were in Europe. Of course, it could have been co-incidence that it slowed when they moved; it could have been the server’s ISP or anything. This is anecdote and not data. 🫤

They were both in the same room setting it up, so using the QR code scanning was not a problem. VCard would have made it even easier to add others, and I’m really glad that now exists. Thank you for adding it.

By multi-transport, you mean something like garlic routing in I2P? That sounds hard to implement.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [December 19, 2024, 4:29pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/6 "2024-12-19T16:29:54Z")

</div>

> [@Minim](#):
>
> One of them said about 25 min and the other about 15; both agreed it was variable.

Even 10 minute delay is not explainable by moving somewhere, I am pretty sure you will get message delivered end-to-end in \<10 seconds regardless of where you connect from. There are users from US on servers hosted in Europe and for them it is very fast.

Is it actually about message delivery delay or some problems with notifications? How the delay was measured?

---

<div class="post-metadata">

**Author:** ![adbenitez](https://forum.delta.chat/user_avatar/forum.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://forum.delta.chat/u/adbenitez)\
**Post date:** [December 19, 2024, 5:19pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/7 "2024-12-19T17:19:41Z")

</div>

I also suspect the problem was actually delayed notifications, maybe it was before we added push notifications support or they use the app from f-droid, they need to install the app from google play that has support for push notifications

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [December 24, 2024, 8:50pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/8 "2024-12-24T20:50:24Z")

</div>

I checked and they did indeed install it from F-Droid; they were looking for something as reliable as a distro package repository. They were going by when it went “bong”. Thank you for solving this. I’m not sure why the notifications became near-instant when I switched the server, but I’ll go with “chance”.

I take it this will not be fixed in an F-Droid update and a backup, deinstall, and reinstall would be needed.

---

<div class="post-metadata">

**Author:** ![peppa](https://forum.delta.chat/letter_avatar_proxy/v4/letter/p/da6949/32.png) [@peppa](https://forum.delta.chat/u/peppa)\
**Post date:** [December 31, 2024, 11:58am UTC](https://forum.delta.chat/t/switch-to-local-server/3399/9 "2024-12-31T11:58:40Z")

</div>

> [@Minim](#):
>
> I take it this will not be fixed in an F-Droid update

From the F-Droid/FOSS perspective there is nothing to “fix”. I think F-Droid considers FCM an unacceptable anti-feature cos you need to put proprietary Google code in the app and also tie the app to a proprietary network.

> [@Minim](#):
>
> a backup, deinstall, and reinstall would be needed.

I don’t know if a deinstall and reinstall is needed, maybe someone else can answer you about that, but be careful with backups, their not encrypted, so you don’t want to put your backups in the cloud for security reasons. I don’t know when DC will make backups encrypted?

The delayed notification issue is actually due to the Android OS. If you don’t want to use the Google Play version of DC with the proprietary FCM code, there is a setting to force background connection for DC which sometimes helps, otherwise switching to a custom ROM can also solve the issue

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [January 9, 2025, 8:11pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/10 "2025-01-09T20:11:31Z")

</div>

I won’t stick the backups in the cloud. 😀

F-droid does consider a lack of notifications to be undesirable, and has a non-proprietary notification service, the vowel-free **ntfy**.

> **[ntfy - PUT/POST to your phone | F-Droid - Free and Open Source Android App...](https://f-droid.org/packages/io.heckel.ntfy/)**
>
> Send notifications to your phone from any script using PUT/POST requests

Jami, a peer-to-peer messenger [also on F-droid](https://f-droid.org/packages/cx.ring/), uses it, and any server can use it. You subscribe to the notifications you want in the ntfy app.

I assume it would be possible for the F-droid Deltachat to use ntfy, but I don’t know how much work it would be.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [January 9, 2025, 8:39pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/11 "2025-01-09T20:39:17Z")

</div>

If you can run ntfy client on your phone in the background without OS killing it, you can as well run Delta Chat in the background. IMAP IDLE is just as efficient as the protocols ntfy and similar push notification services use.

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [January 9, 2025, 10:14pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/12 "2025-01-09T22:14:29Z")

</div>

It would be great if that worked out of the box, and good if you got instructions on configging it at install.

Would it still be equally efficient if there were multiple apps using ntfy?

---

<div class="post-metadata">

**Author:** ![peppa](https://forum.delta.chat/letter_avatar_proxy/v4/letter/p/da6949/32.png) [@peppa](https://forum.delta.chat/u/peppa)\
**Post date:** [January 10, 2025, 1:25pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/13 "2025-01-10T13:25:27Z")

</div>

> [@Minim](#):
>
> It would be great if that worked out of the box, and good if you got instructions on configging it at install.

IMAP IDLE does work out of the box and there is no need to config anything at install, except possibly enabling “force background connection” in some cases. If it doesn’t work this means the problem lies with your OS and there’s not much you can do apart from switching to a better OS

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:20pm UTC](https://forum.delta.chat/t/switch-to-local-server/3399/14 "2026-10-06T15:20:18Z")

</div>


