# Changing default ports

**URL:** <https://forum.delta.chat/t/changing-default-ports/5737>\
**Category:** Mutual Help\
**Tags:** chatmail\
**Created:** [September 2, 2026, 11:38am UTC](https://forum.delta.chat/t/changing-default-ports/5737 "2026-09-02T11:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakob42](https://forum.delta.chat/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jakob42](https://forum.delta.chat/u/jakob42)\
**Post date:** [September 2, 2026, 11:38am UTC](https://forum.delta.chat/t/changing-default-ports/5737/1 "2026-09-02T11:38:02Z")

</div>

Hi,

I’m a new Delta-Chat user, wanting to self host chatmail on my own. Is it possible to change the used ports? I’m running already a mail server (postfix+dovecot) on the same machine.

Thanks!

---

<div class="post-metadata">

**Author:** ![punkero](https://forum.delta.chat/user_avatar/forum.delta.chat/punkero/32/3455_2.png) [@punkero](https://forum.delta.chat/u/punkero)\
**Post date:** [September 4, 2026, 10:57am UTC](https://forum.delta.chat/t/changing-default-ports/5737/2 "2026-09-04T10:57:13Z")

</div>

The deployment of a DC relay using the official chatmail code takes over the machine; it will install a custom Dovecot DEB for example (patched to include a feature not in upstream), alter your repos and basically reconfigure everything from `/etc/resolv.conf` on down to installed packages. You do not want to deploy the current chatmail infra on an existing mail server, it will create a disaster of your existing setup.

A basic VPS (5-10 USD/Euro range) is plenty to run a relay for a whole bunch of users, I found my best deal this past cycle at OVH fwiw, 4cpu/8ram/75disk for ~$8 USD/mo (for a year). If you can snag one, demand has been high in their Quebec datacenter(s) for example so you can’t always get one when you want.

---

<div class="post-metadata">

**Author:** ![jakob42](https://forum.delta.chat/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jakob42](https://forum.delta.chat/u/jakob42)\
**Post date:** [September 5, 2026, 8:45pm UTC](https://forum.delta.chat/t/changing-default-ports/5737/3 "2026-09-05T20:45:16Z")

</div>

Well, there is a docker installation, but it seems like changing ports is not supported ☹
