Create deltachat.md

This commit is contained in:
A 2025-05-05 11:17:02 -07:00 committed by GitHub
parent e57056b327
commit 7dd75336fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

51
docs/deltachat.md Normal file
View File

@ -0,0 +1,51 @@
# Deltachat
The current Deltachat docker image is running an outdated version of Deltachat. We are in the process of building support for Deltachat's chatmail server.
## Creating admin account and invite codes
From within the `compose-postfix` Docker container, you can generate a token up to a max of 999 days. Example:
```
$ mailadm add-token oneday --expiry 999d --prefix="tmp."
added token 'oneday'
token:oneday
prefix = tmp.
expiry = 999d
maxuse = 50
usecount = 0
token = 999d_xfw7y3mh5zs8t5m
https://demo.dcomms.org/new_email?t=999d_xfw7y3mh5zs8t5m&n=oneday
DCACCOUNT:https://demo.dcomms.org/new_email?t=999d_xfw7y3mh5zs8t5m&n=oneday
```
This can then be shared as a qr code, using the Linux `qrencode` command and the DCACCOUNT line on the host system. Example:
```
root@dcomms-demo:~/dcomms-docker-compose# qrencode -t UTF8 'DCACCOUNT:https://demo.dcomms.org/new_email?t=999d_xfw7y3mh5zs8t5m&n=oneday'
█████████████████████████████████████████
█████████████████████████████████████████
████ ▄▄▄▄▄ █▀ █▀▀▀▀█▀▀ █ ▄▄▄▄█ ▄▄▄▄▄ ████
████ █ █ █▀ ▄ ▀▀▄▀ ▄█▄ █▀▄██ █ █ ████
████ █▄▄▄█ █▀█ █ ▀▄ ▀▀ ▄▀▀▀█ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄█▄█ ▀ █▄▀▄▀▄█▄▀▄█▄▄▄▄▄▄▄████
████ ▄ ▄ ▀▄▄▄ ▄█▀██ ██▄█▀▀ ██ ▀▄▀▄█▄▀████
████▀▀▄▄▀▄▄██ ▀ █▄ █▀ ▄ ▀▀ ▄█▀ ▄▀█▀█████
████▀▀ ▄▄▄▀ ▄▀█▀█▄ █▄█▄▀█▀█ ▀█▄▄████
████▀█▀ ▀▀▄▀▄ ▀▄▄▀█▀ ▄ ▀▀▄ ▄▄▀▀▄ █▄████
████▀▄▄▄▀█▄█ ██▄█ ▄▄█▄█▄▀ ▀▀▄█▀▄▀ ▄████
██████▀▄█▄▄▄▄▄█▀▄ ▄▄▄▄▀▀▀██▀▄▄▀█▄ ▀ ████
████ ▄▀▀█▄▀ ▀▄███ ▄█▀█ ▀ █▄ █ █▀ ▀█████
████ █▀█▄█▄▀ ▄▀▄▄██ ▀█ ▀█▄▀▄▄▀█▄█ █████
████▄████▄▄█▀▀▀▀▄▄▄▄ ▄██ ▀▄█ ▄▄▄ ▄▀████
████ ▄▄▄▄▄ █▄ ▀ ▄ ▄▄▄ █▀▀▀▄ █▄█ ██▀█████
████ █ █ █ █ ▀█▄▄▄ █ ▀ ▄▄ ▄▀ ▄█████
████ █▄▄▄█ █ █▀ ▄ ▀▄ ▄▀▄ ▀ ▀▄ ██▀ ▀█▀████
████▄▄▄▄▄▄▄█▄▄▄███▄▄█▄██▄█▄▄██▄███▄██████
█████████████████████████████████████████
█████████████████████████████████████████
```
# Links
* Official docs: https://mailadm.readthedocs.io/en/latest/