# Chatmail: Moving the local PC directory

**URL:** <https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134>\
**Category:** Chatmail Relays\
**Tags:** chatmail\
**Created:** [September 19, 2025, 6:16pm UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134 "2025-09-19T18:16:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![amuuza](https://forum.delta.chat/user_avatar/forum.delta.chat/amuuza/32/2787_2.png) [@amuuza](https://forum.delta.chat/u/amuuza)\
**Post date:** [September 19, 2025, 6:16pm UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/1 "2025-09-19T18:16:21Z")

</div>

Hi

I have just installed a Chatmail server and it works great.

On my local PC now I need to move the `relay` folder to a different location.

Besides moving it, what else should I do so that everything works as it does in the current location?

Or should I just start over at the new location following again the instructions at [GitHub - chatmail/relay: chatmail service deployment scripts and docs](https://github.com/chatmail/relay) ?

What is the safest way? I can’t code and I get stressed when I see Python stuff : )

And… what about having a second local PC? What should I do in that case?

Thank you

---

<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:** [September 20, 2025, 2:54am UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/2 "2025-09-20T02:54:19Z")

</div>

Symlinks may be your friend. Move the folder, but replace it with a symlink to the new location. On Linux, press CTRL-T for the terminal, then, in the terminal, type:  
`ln -s new_location old_location`  
…but use the real full paths of the locations. This should be safe, and less effort than a reinstall.

_Oh, and offtopic, but if you ever want to learn Python, working through this [excellent Python textbook for non-coders](https://openbookproject.net/thinkcs/python/english3e/index.html) would do the trick._

What exactly do you want to do on the second PC? Set up another Chatmail server?

Sorry, I’m really not sure if I’m answering your questions or not (or being incomprehensible).

---

<div class="post-metadata">

**Author:** ![amuuza](https://forum.delta.chat/user_avatar/forum.delta.chat/amuuza/32/2787_2.png) [@amuuza](https://forum.delta.chat/u/amuuza)\
**Post date:** [September 20, 2025, 10:31am UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/3 "2025-09-20T10:31:38Z")

</div>

Thanks, but I did not want to use symlinks.

I finally moved it and it works. This is how I did it:

I created the new directory, run `git clone https://github.com/chatmail/relay`, `cd relay` and `scripts/initenv.sh`

Then I copied `chatmail.ini`, and recursively `www/src/*.md` and `cmdeploy/*` files into the new location and finally run `scripts/cmdeploy deploy`.

---

<div class="post-metadata">

**Author:** ![amuuza](https://forum.delta.chat/user_avatar/forum.delta.chat/amuuza/32/2787_2.png) [@amuuza](https://forum.delta.chat/u/amuuza)\
**Post date:** [September 20, 2025, 10:34am UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/4 "2025-09-20T10:34:07Z")

</div>

> [@Minim](#):
>
> What exactly do you want to do on the second PC? Set up another Chatmail server?

I meant to be able to keep tweaking my only chatmail server from a different computer.

But now I think it won’t be a problem, thanks.

---

<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:** [September 20, 2025, 4:40pm UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/5 "2025-09-20T16:40:03Z")

</div>

Great, obviously if you can avoid remote access that’s more secure.

Thank you for posting the solutions to your problems for people from the future. 🙂

---

<div class="post-metadata">

**Author:** ![amuuza](https://forum.delta.chat/user_avatar/forum.delta.chat/amuuza/32/2787_2.png) [@amuuza](https://forum.delta.chat/u/amuuza)\
**Post date:** [September 27, 2025, 7:24pm UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/6 "2025-09-27T19:24:04Z")

</div>

> [@amuuza](#):
>
> I meant to be able to keep tweaking my only chatmail server from a different computer.
> 
> But now I think it won’t be a problem, thanks.

It finally is a problem : ) but will open a new thread for it.

---

<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:18pm UTC](https://forum.delta.chat/t/chatmail-moving-the-local-pc-directory/4134/7 "2026-10-06T15:18:34Z")

</div>


