# Could provide a set of non-standard ports on nine.testrun.org

**URL:** <https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157>\
**Category:** Feature Proposal\
**Created:** [June 22, 2024, 3:32am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157 "2024-06-22T03:32:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [June 22, 2024, 3:32am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/1 "2024-06-22T03:32:46Z")

</div>

- Could [nine.testrun.org](http://nine.testrun.org/) provide a set of non-standard ports for connections? Certain network environments may block some standard interfaces used for mail services.

I’m uncertain whether this classification is appropriate; please do not take offense.

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [June 23, 2024, 12:54pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/2 "2024-06-23T12:54:40Z")

</div>

Moved to Feature Proposal category.

What ports are not blocked in your environment? Using port 443 for chatmail setups should likely work, but then we need to figure out how to multiplex both SMTP and IMAP there together with HTTPS webserver already used. This could be done using ALPN but SMTP for submission port does not have ALPN assigned: [Transport Layer Security (TLS) Extensions](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)  
Using ALPN for IMAP to allow connecting over port 443 and at least read emails could be interesting.

---

<div class="post-metadata">

**Author:** ![adbenitez](https://support.delta.chat/user_avatar/support.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://support.delta.chat/u/adbenitez)\
**Post date:** [June 23, 2024, 5:06pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/3 "2024-06-23T17:06:47Z")

</div>

this is common problem for me, and the reason I don’t use VPNs more often, I have NekoBox and I add to it some VPNs like shadowsocks VPNs from Outline but these VPN providers (or their VPS providers) seem to block the email ports, once I enable the VPNs Delta Chat can’t connect anymore which makes it really hard to use DC with VPNs, this already affects in some censorship situations when people find a VPN to bypass some restrictions and WhatsApp etc work fine but DC can’t work with the VPN

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [June 23, 2024, 5:44pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/4 "2024-06-23T17:44:33Z")

</div>

Could you provide some logs when VPN is used? Which ports fail to connect (SMTP and/or IMAP)? What happens if you try to rerun configuration or create new [nine.testrun.org](http://nine.testrun.org) account, does it select the working ports or fails to configure?

---

<div class="post-metadata">

**Author:** ![adbenitez](https://support.delta.chat/user_avatar/support.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://support.delta.chat/u/adbenitez)\
**Post date:** [June 23, 2024, 7:00pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/5 "2024-06-23T19:00:30Z")

</div>

it is stuck at 60% for several seconds then it just display this dialog:

 ![deltachat-2024-06-23-210108](https://support.delta.chat/uploads/default/original/2X/8/80ca422e5c7f134cefd7b1271325c8dfd62f9f6b.jpeg)

---

<div class="post-metadata">

**Author:** ![adbenitez](https://support.delta.chat/user_avatar/support.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://support.delta.chat/u/adbenitez)\
**Post date:** [June 23, 2024, 7:02pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/6 "2024-06-23T19:02:08Z")

</div>

and there is no way to get the logs there, I think that dialog should have an “open logs” button

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [June 23, 2024, 7:17pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/7 "2024-06-23T19:17:33Z")

</div>

Is it possible to get it with `adb logcat`? It should have individual “failure” and “success” logs printed for each attempt.

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [June 24, 2024, 2:03am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/8 "2024-06-24T02:03:20Z")

</div>

> [@link2xt](#):
>
> What ports are not blocked in your environment?

I am currently utilizing a desktop client application, which provides me with access to log files. The log in question was generated during my attempt to set up a new account. It appears from the logs that the port used by SMTP has been blocked. In my particular network environment, most ports are generally open and accessible, yet for some reason, the port associated with SMTP is being restricted.

“远程主机强迫关闭了一个现有的连接” means：  
The remote host has forcibly closed an existing connection.

```auto
2024-06-24T01:53:37.804Z	core/event WARNING	""	12	"/build/source/src/config.rs:680: No self addr configured"
2024-06-24T01:53:37.877Z	core/event WARNING	""	12	"/build/source/src/config.rs:680: No self addr configured"
2024-06-24T01:53:38.921Z	core/event INFO	""	12	"src/configure.rs:111: Configure ..."
2024-06-24T01:53:38.929Z	core/event INFO	""	12	"src/configure.rs:236: checking internal provider-info for offline autoconfig"
2024-06-24T01:53:38.930Z	core/event INFO	""	12	"src/configure.rs:251: offline autoconfig found"
2024-06-24T01:53:38.943Z	core/event INFO	""	12	"src/configure.rs:610: Trying: imap: 39g66f2yu@nine.testrun.org@nine.testrun.org:993 security=Ssl certificate_checks=strict oauth2=false socks5_config=None"
2024-06-24T01:53:38.944Z	core/event INFO	""	12	"src/imap.rs:333: Connecting to IMAP server"
2024-06-24T01:53:38.945Z	core/event INFO	""	12	"src/configure.rs:662: Trying: smtp: 39g66f2yu@nine.testrun.org@nine.testrun.org:465 security=Ssl certificate_checks=strict oauth2=false socks5_config=None"
2024-06-24T01:53:38.947Z	core/event INFO	""	12	"src/net.rs:72: Resolved nine.testrun.org:465 into 116.202.233.236:465."
2024-06-24T01:53:38.948Z	core/event INFO	""	12	"src/net.rs:72: Resolved nine.testrun.org:993 into 116.202.233.236:993."
2024-06-24T01:53:38.976Z	core/event INFO	""	12	"src/chat.rs:2682: Attaching \"C:\\Users\\xxxx\\AppData\\Local\\DeltaChat\\accounts\\8f4e690f-ebe9-4810-853b-472119047083\\dc.db-blobs\\welcome-image.jpg\" for message type #Image."
2024-06-24T01:53:39.158Z	core/event INFO	""	12	"src/configure.rs:668: failure: 远程主机强迫关闭了一个现有的连接。 (os error 10054)"
2024-06-24T01:53:39.952Z	core/event INFO	""	12	"src/imap.rs:412: Logging into IMAP server with LOGIN"
2024-06-24T01:53:41.017Z	renderer/loginForm ERROR	"\nfile:///C:/Users/xxxx/AppData/Local/Programs/DeltaChat/resources/app.asar/src/renderer/components/LoginForm.tsx:447:15"	"configure error"	{"code":-1,"message":"远程主机强迫关闭了一个现有的连接。 (os error 10054)"}
2024-06-24T01:53:41.023Z	core/event INFO	""	12	"src/imap.rs:428: Successfully logged into IMAP server"
2024-06-24T01:53:41.023Z	core/event INFO	""	12	"src/configure.rs:634: success: imap: 39g66f2yu@nine.testrun.org@nine.testrun.org:993 security=Ssl certificate_checks=strict oauth2=false socks5_config=None"
2024-06-24T01:53:41.024Z	core/event INFO	""	12	"src/configure.rs:142: apply config_defaults mvbox_move=0"

// try once more

2024-06-24T01:53:47.497Z	main/menu INFO	""	"rebuilding menu with locale zh_CN"
2024-06-24T01:53:50.413Z	core/event WARNING	""	12	"/build/source/src/config.rs:680: No self addr configured"
2024-06-24T01:53:51.059Z	core/event WARNING	""	12	"/build/source/src/config.rs:680: No self addr configured"
2024-06-24T01:53:51.438Z	core/event INFO	""	12	"src/configure.rs:111: Configure ..."
2024-06-24T01:53:51.447Z	core/event INFO	""	12	"src/configure.rs:236: checking internal provider-info for offline autoconfig"
2024-06-24T01:53:51.448Z	core/event INFO	""	12	"src/configure.rs:251: offline autoconfig found"
2024-06-24T01:53:51.454Z	core/event INFO	""	12	"src/configure.rs:610: Trying: imap: 6g42plbv1@nine.testrun.org@nine.testrun.org:993 security=Ssl certificate_checks=strict oauth2=false socks5_config=None"
2024-06-24T01:53:51.455Z	core/event INFO	""	12	"src/imap.rs:333: Connecting to IMAP server"
2024-06-24T01:53:51.456Z	core/event INFO	""	12	"src/configure.rs:662: Trying: smtp: 6g42plbv1@nine.testrun.org@nine.testrun.org:465 security=Ssl certificate_checks=strict oauth2=false socks5_config=None"
2024-06-24T01:53:51.456Z	core/event INFO	""	12	"src/net.rs:72: Resolved nine.testrun.org:465 into 116.202.233.236:465."
2024-06-24T01:53:51.458Z	core/event INFO	""	12	"src/net.rs:72: Resolved nine.testrun.org:993 into 116.202.233.236:993."
2024-06-24T01:53:51.458Z	core/event INFO	""	12	"src/chat.rs:4307: Device-message core-welcome-image already added."
2024-06-24T01:53:51.459Z	core/event INFO	""	12	"src/chat.rs:4307: Device-message core-welcome already added."
2024-06-24T01:53:51.688Z	core/event INFO	""	12	"src/configure.rs:668: failure: 远程主机强迫关闭了一个现有的连接。 (os error 10054)"
2024-06-24T01:53:52.125Z	renderer/loginForm ERROR	"\nfile:///C:/Users/xxxx/AppData/Local/Programs/DeltaChat/resources/app.asar/src/renderer/components/LoginForm.tsx:447:15"	"configure error"	{"code":-1,"message":"There is already another ongoing process running."}
2024-06-24T01:53:52.160Z	core/event INFO	""	12	"src/imap.rs:412: Logging into IMAP server with LOGIN"
2024-06-24T01:53:52.703Z	renderer/loginForm ERROR	"\nfile:///C:/Users/xxxx/AppData/Local/Programs/DeltaChat/resources/app.asar/src/renderer/components/LoginForm.tsx:447:15"	"configure error"	{"code":-1,"message":"远程主机强迫关闭了一个现有的连接。 (os error 10054)"}
2024-06-24T01:53:52.706Z	core/event INFO	""	12	"src/imap.rs:428: Successfully logged into IMAP server"
2024-06-24T01:53:52.707Z	core/event INFO	""	12	"src/configure.rs:634: success: imap: 6g42plbv1@nine.testrun.org@nine.testrun.org:993 security=Ssl certificate_checks=strict oauth2=false socks5_config=None"
2024-06-24T01:53:52.708Z	core/event INFO	""	12	"src/configure.rs:147: skip already set config_defaults mvbox_move=0"

```

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [June 24, 2024, 3:58pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/9 "2024-06-24T15:58:07Z")

</div>

[nine.testrun.org](http://nine.testrun.org) and other chatmail servers already have alternative SMTP port 587 but it is not tried.  
Opened a PR to fix this:  
[Add more ports for chatmail servers and testrun.org by link2xt · Pull Request #294 · deltachat/provider-db · GitHub](https://github.com/deltachat/provider-db/pull/294)

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [June 25, 2024, 2:27am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/10 "2024-06-25T02:27:42Z")

</div>

👍 👍 👍 🤩 🤩 🤩

---

<div class="post-metadata">

**Author:** ![r10s](https://support.delta.chat/user_avatar/support.delta.chat/r10s/32/1513_2.png) [@r10s](https://support.delta.chat/u/r10s)\
**Post date:** [June 25, 2024, 8:04am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/11 "2024-06-25T08:04:28Z")

</div>

> and there is no way to get the logs there […]

you can access the logs during onboarding at “Classic E-Mail Login / Advanced / View Log”

> I think that dialog should have an “open logs” button

if it is about “Create New Profile”, i would more think about a three dot menu, as we have already for “Add Second Device”. Meanwhile, as the FAQ have improved, we could also link that. but that is offtopic, let’s discuss this elsewhere

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [June 26, 2024, 9:45am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/12 "2024-06-26T09:45:52Z")

</div>

The change is a part of the nightly: [Index of /android/nightly/2024-06-26/](https://download.delta.chat/android/nightly/2024-06-26/)

@imysl0 You can install the nightly build side by side with current Delta Chat and try to setup a [nine.testrun.org](http://nine.testrun.org) account. If port 587 is not blocked on your network, nightly build should succeed in using it for SMTP setup.

[Hetzner FAQ](https://docs.hetzner.com/cloud/servers/faq/#why-can-i-not-send-any-mails-from-my-server) has this:

> ## Why can I not send any mails from my server?
> 
> Unfortunately, email spammers and scammers like to use cloud hosting providers. And we at Hetzner naturally want to prevent this. That’s why we block ports 25 and 465 by default on all cloud servers. This is a very common practice in the cloud hosting industry because it prevents abuse. We want to build trust with our new customers before we unblock these mail ports. Once you have been with us for a month and paid your first invoice, you can create a [limit request](https://console.hetzner.cloud/limits) to unblock these ports for a valid use case. In your request, you can tell us details about your use case. We make decisions on a case-by-case basis.
> 
> As an alternative, you can also use port 587 to send emails via external mail delivery services. Port 587 is not blocked and can be used without sending a limit request.

So not trying 587 can indeed be a problem for many setups, e.g. if someone has a personal VPN hosted on a Hetzner server. I didn’t know that they block port 465 by default, thought it only applies to port 25.

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [June 27, 2024, 11:11am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/13 "2024-06-27T11:11:13Z")

</div>

Thank you @link2xt very much, however, I am unable to test with the Android client because the specific network I mentioned can only be accessed via a PC connection. If there is a Windows version available, I can test it immediately.

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [July 10, 2024, 11:29pm UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/14 "2024-07-10T23:29:41Z")

</div>

> [@link2xt](#):
>
> Using ALPN for IMAP to allow connecting over port 443 and at least read emails could be interesting.

I opened a PR adding ALPN in the core:

> <https://github.com/deltachat/deltachat-core-rust/pull/5767>
>
> IMAP has a registered protocol ID
> listed at \<https://www.iana.org/assignments/t…ls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids\>
> 
> Requesting specific ALPN on the client
> should allow the server to
> multiplex multiple protocols on the same
> port and dispatch
> requests to the correct backend on the proxy such as HAProxy.

Experimental PR adding multiplexing over HTTPS port to chatmail:

> <https://github.com/deltachat/chatmail/pull/357>
>
> Services are distinguished based on ALPN.
> For example,
> openssl s\_client -c…onnect example.org:443 -alpn smtp
> gives SMTP connection and
> openssl s\_client -connect example.org:443 -alpn imap
> gives IMAP connection.

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [July 11, 2024, 6:13am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/15 "2024-07-11T06:13:56Z")

</div>

When the desktop preview version comes out, I will test it 😍

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [September 15, 2024, 3:30am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/16 "2024-09-15T03:30:14Z")

</div>

I can use it with the latest 1.46.8 version now. That’s great news! Although I don’t quite understand the principle, thank you!

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [March 7, 2025, 2:36am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/17 "2025-03-07T02:36:30Z")

</div>

Recently, I have been unable to access it again. Here are the logs and version screenshots. I’m not sure if it’s due to my version or my network issue?

[2025-03-07-10-32-33.txt](https://support.delta.chat/uploads/short-url/pKKD8H4DvhcnQTnZ3pMjBGFvEw9.txt) (8.9 KB)

 ![image](https://support.delta.chat/uploads/default/original/2X/8/892a985e480a95522c11cfe55dfed977658b908f.png)

 ![image](https://support.delta.chat/uploads/default/original/2X/0/0b77df03fec0d902f981b9ea9b8c8a093159e4dd.png)

---

<div class="post-metadata">

**Author:** ![link2xt](https://support.delta.chat/user_avatar/support.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://support.delta.chat/u/link2xt)\
**Post date:** [March 7, 2025, 3:05am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/18 "2025-03-07T03:05:09Z")

</div>

“os error 10054” on port 443 means the connection is likely blocked with TCP RST packet.

Does the website [https://nine.testrun.org/](https://nine.testrun.org/) open?

Can you create an account on other chatmail servers listed on [https://delta.chat/chatmail](https://delta.chat/chatmail) ?

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [March 7, 2025, 3:14am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/19 "2025-03-07T03:14:13Z")

</div>

Does it mean that my port 443 is blocked by the firewall? But I can use the Deltachat account of mehl.cloud, which implies that the port 443 of [nine.testrun.org](http://nine.testrun.org) is blocked by the firewall? Is my understanding correct?

---

<div class="post-metadata">

**Author:** ![imysl0](https://support.delta.chat/user_avatar/support.delta.chat/imysl0/32/2169_2.png) [@imysl0](https://support.delta.chat/u/imysl0)\
**Post date:** [March 7, 2025, 3:18am UTC](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157/20 "2025-03-07T03:18:28Z")

</div>

> [@link2xt](#):
>
> Does the website [https://nine.testrun.org/](https://nine.testrun.org/) open?
> 
> Can you create an account on other chatmail servers listed on [https://delta.chat/chatmail](https://delta.chat/chatmail) ?

[https://nine.testrun.org](https://nine.testrun.org) is accessible without any issues, and I am able to successfully create and use a new account. So, is there a problem with my account? 🤣

[Next page](https://support.delta.chat/t/could-provide-a-set-of-non-standard-ports-on-nine-testrun-org/3157.md?page=2)
