# Mailadm server deployment

**URL:** <https://forum.delta.chat/t/mailadm-server-deployment/1196>\
**Category:** Chatmail Relays\
**Created:** [September 7, 2020, 3:37pm UTC](https://forum.delta.chat/t/mailadm-server-deployment/1196 "2020-09-07T15:37:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 8, 2020, 7:14am UTC](https://forum.delta.chat/t/mailadm-server-deployment/1196/2 "2020-09-08T07:14:04Z")

</div>

I have a working local setup on 4GB Raspberry Pi 4 Model B, Raspberry Pi OS Lite, with Postfix, Dovecot and mailadm, mainly used for testing.

How does LibreRouter DNS works? My setup has a hostname `raspberrypi` and my OpenWrt router exposes it as `raspberrypi.lan`, but in case of Kolibri the hostname is simply `kolibri`. Is it the same across the whole mesh or does it appear as a subdomain somewhere?

`mailadm` is mainly used to create “burner accounts” or testing accounts for automated online tests. It can also create normal accounts with `mailadm add-user` command, but this requires an administrator to type this command in the console, users can’t use it to register themselves.

Something based on [pyinfra](https://pyinfra.com/) or Ansible can be created or an entire image like [LibreRouter / pi-gen · GitLab](https://gitlab.com/librerouter/pi-gen), but it’s not clear how users would create accounts in this network.

Maybe LibreRouter has some authentication server and a web interface for user registration which can be integrated with Postfix and Dovecot? Then mailadm is not needed and users can register themselves. I see there are some [soporteremoto](https://gitlab.com/librerouter/soporteremoto) repositories at [LibreRouter · GitLab](https://gitlab.com/librerouter), what is it about?

Related topic about LAN setups for Delta Chat:

> [@LAN-decentralized-no-internet setup: mDNS + SMTP-server (postfix) + delta.chat (+ IMAP-server (dovecot)?)](https://support.delta.chat/t/lan-decentralized-no-internet-setup-mdns-smtp-server-postfix-delta-chat-imap-server-dovecot/583):
>
> I managed to run host1 .local and host2 .local using mDNS and each participant using its own simple-lightweight SMTP mail server, some details [1] Then, now there is a possible setup-use case where you can use email in the same LAN, because thunderbird and claws mail allow to use a localhost mailbox (specifically, in file /var/mail/myuser). Next think I thought was to have a “decentralized chat” that would be possible if delta .chat manages the localhost mailbox. I tried to login with myuser@l…

---

_[View the full topic](https://forum.delta.chat/t/mailadm-server-deployment/1196)._
