mirror of
https://github.com/chatmail/relay.git
synced 2026-05-11 08:24:37 +00:00
Compare commits
5 Commits
link2xt/sc
...
streamline
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
131e7b9387 | ||
|
|
1c0543cb46 | ||
|
|
dde879c7fc | ||
|
|
cf95dfd49d | ||
|
|
4a96f19faf |
19
README.md
19
README.md
@@ -25,55 +25,56 @@ DNS domain name (FQDN), for example `chat.example.org`.
|
|||||||
ssh root@CHATMAIL_DOMAIN
|
ssh root@CHATMAIL_DOMAIN
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install the `cmdeploy` command in a virtualenv and activate it
|
2. Install the `cmdeploy` command in a virtualenv
|
||||||
|
|
||||||
```
|
```
|
||||||
|
git clone https://github.com/deltachat/chatmail
|
||||||
|
cd chatmail
|
||||||
scripts/initenv.sh
|
scripts/initenv.sh
|
||||||
. venv/bin/activate
|
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create chatmail configuration file `chatmail.ini`:
|
3. Create chatmail configuration file `chatmail.ini`:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy init CHATMAIL_DOMAIN
|
scripts/cmdeploy init CHATMAIL_DOMAIN
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Deploy to the remote chatmail server:
|
4. Deploy to the remote chatmail server:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy run
|
scripts/cmdeploy run
|
||||||
```
|
```
|
||||||
|
|
||||||
5. To output a DNS zone file from which you can transfer DNS records
|
5. To output a DNS zone file from which you can transfer DNS records
|
||||||
to your DNS provider:
|
to your DNS provider:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy dns
|
scripts/cmdeploy dns
|
||||||
```
|
```
|
||||||
|
|
||||||
6. To check status of your remotely running chatmail service:
|
6. To check status of your remotely running chatmail service:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy status
|
scripts/cmdeploy status
|
||||||
```
|
```
|
||||||
|
|
||||||
7. To test your chatmail service:
|
7. To test your chatmail service:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy test
|
scripts/cmdeploy test
|
||||||
```
|
```
|
||||||
|
|
||||||
8. To benchmark your chatmail service:
|
8. To benchmark your chatmail service:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy bench
|
scripts/cmdeploy bench
|
||||||
```
|
```
|
||||||
|
|
||||||
### Refining the web pages
|
### Refining the web pages
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy webdev
|
scripts/cmdeploy webdev
|
||||||
```
|
```
|
||||||
|
|
||||||
This starts a local live development cycle for chatmail Web pages:
|
This starts a local live development cycle for chatmail Web pages:
|
||||||
|
|||||||
@@ -378,6 +378,20 @@ def deploy_chatmail(mail_domain: str, mail_server: str, dkim_selector: str) -> N
|
|||||||
system=True,
|
system=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Run local DNS resolver `unbound`.
|
||||||
|
# `resolvconf` takes care of setting up /etc/resolv.conf
|
||||||
|
# to use 127.0.0.1 as the resolver.
|
||||||
|
apt.packages(
|
||||||
|
name="Install unbound",
|
||||||
|
packages="unbound",
|
||||||
|
)
|
||||||
|
systemd.service(
|
||||||
|
name="Start and enable unbound",
|
||||||
|
service="unbound.service",
|
||||||
|
running=True,
|
||||||
|
enabled=True,
|
||||||
|
)
|
||||||
|
|
||||||
# Deploy acmetool to have TLS certificates.
|
# Deploy acmetool to have TLS certificates.
|
||||||
deploy_acmetool(nginx_hook=True, domains=[mail_server, f"mta-sts.{mail_server}"])
|
deploy_acmetool(nginx_hook=True, domains=[mail_server, f"mta-sts.{mail_server}"])
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ def fmt_cmd_options(parser):
|
|||||||
|
|
||||||
|
|
||||||
def fmt_cmd(args, out):
|
def fmt_cmd(args, out):
|
||||||
"""Run formattting fixes (fuff and black) on all chatmail source code."""
|
"""Run formattting fixes (ruff and black) on all chatmail source code."""
|
||||||
|
|
||||||
sources = [str(importlib.resources.files(x)) for x in ("chatmaild", "cmdeploy")]
|
sources = [str(importlib.resources.files(x)) for x in ("chatmaild", "cmdeploy")]
|
||||||
black_args = [shutil.which("black")]
|
black_args = [shutil.which("black")]
|
||||||
|
|||||||
6
scripts/cmdeploy
Executable file
6
scripts/cmdeploy
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Wrapper for cmdelpoy to run it in activated virtualenv.
|
||||||
|
set -e
|
||||||
|
. venv/bin/activate
|
||||||
|
cmdeploy "$@"
|
||||||
@@ -218,97 +218,16 @@ on these or possible objections.
|
|||||||
A deletion can be made
|
A deletion can be made
|
||||||
directly in the Delta Chat email messenger.
|
directly in the Delta Chat email messenger.
|
||||||
|
|
||||||
a) request information about your personal data processed by us
|
If you have any questions or complaints,
|
||||||
in accordance with Art. 15 GDPR.
|
please feel free to contact us by email:
|
||||||
In particular,
|
{{ config.privacy_mail }}
|
||||||
you can request information about the processing purposes,
|
|
||||||
the category of personal data,
|
|
||||||
the categories of recipients to whom your data have been or will be disclosed,
|
|
||||||
the planned storage period,
|
|
||||||
the existence of a right to rectification, erasure, restriction of processing or objection,
|
|
||||||
the existence of a right of complaint,
|
|
||||||
the origin of your data if it has not been collected by us,
|
|
||||||
as well as the existence of automated decision-making including profiling
|
|
||||||
and, if applicable,
|
|
||||||
meaningful information about its details;
|
|
||||||
|
|
||||||
b) in accordance with Art. 16 of the GDPR,
|
As a rule, you can contact the supervisory authority of your usual place of residence
|
||||||
immediately request the correction
|
|
||||||
of inaccurate or incomplete personal data stored by us;
|
|
||||||
|
|
||||||
c) pursuant to Article 17 of the GDPR,
|
|
||||||
to request the erasure of your personal data stored by us,
|
|
||||||
unless the processing is necessary
|
|
||||||
for the exercise of the right to freedom of expression and information,
|
|
||||||
for compliance with a legal obligation,
|
|
||||||
for reasons of public interest,
|
|
||||||
or for the establishment, exercise or defence of legal claims;
|
|
||||||
|
|
||||||
d) pursuant to Art. 18 GDPR,
|
|
||||||
to request the restriction of the processing of your personal data,
|
|
||||||
insofar as the accuracy of the data is disputed by you,
|
|
||||||
the processing is unlawful,
|
|
||||||
but you object to its erasure
|
|
||||||
and we no longer require the data,
|
|
||||||
but you need it for the assertion, exercise or defence of legal claims
|
|
||||||
or you have objected to the processing pursuant to Art. 21 GDPR;
|
|
||||||
|
|
||||||
e) pursuant to Art. 20 GDPR,
|
|
||||||
to receive your personal data that you have provided to us
|
|
||||||
in a structured, common and machine-readable format
|
|
||||||
or to request that it be transferred to another controller;
|
|
||||||
|
|
||||||
f) in accordance with Art. 7 (3) of the GDPR,
|
|
||||||
to revoke your consent given to us at any time.
|
|
||||||
This has the consequence that we may no longer continue the data processing
|
|
||||||
based on this consent in the future; and
|
|
||||||
|
|
||||||
g) complain to a supervisory authority
|
|
||||||
in accordance with Article 77 of the GDPR.
|
|
||||||
As a rule,
|
|
||||||
you can contact the supervisory authority of your usual place of residence
|
|
||||||
or workplace
|
or workplace
|
||||||
or our registered office for this purpose.
|
or our registered office for this purpose.
|
||||||
The supervisory authority responsible for our place of business
|
The supervisory authority responsible for our place of business
|
||||||
is the `{{ config.privacy_supervisor }}`.
|
is the `{{ config.privacy_supervisor }}`.
|
||||||
|
|
||||||
If you have any questions or complaints, please feel free to contact us by email:
|
|
||||||
{{ config.privacy_mail }}
|
|
||||||
|
|
||||||
|
|
||||||
### 5.1 Right to object
|
|
||||||
|
|
||||||
If your personal data is processed on the basis of our legitimate interests
|
|
||||||
in accordance with Art. 6 (1) lit. f GDPR,
|
|
||||||
you have the right to object to the processing of your personal data
|
|
||||||
in accordance with Art. 21 GDPR,
|
|
||||||
provided that there are grounds for this based on your particular situation
|
|
||||||
or the objection is directed against direct advertising.
|
|
||||||
In the latter case,
|
|
||||||
you have a general right of objection,
|
|
||||||
which will be implemented by us
|
|
||||||
without specifying a particular situation.
|
|
||||||
|
|
||||||
If you wish to exercise your right of objection,
|
|
||||||
simply send an e-mail to: {{ config.privacy_mail }}
|
|
||||||
|
|
||||||
### 5.2 Right to withdraw
|
|
||||||
|
|
||||||
If your personal data is processed on the basis of your consent
|
|
||||||
in accordance with Art. 6 (1) lit. a GDPR
|
|
||||||
(e.g. via the mailing list),
|
|
||||||
you can withdraw your consent at any time
|
|
||||||
and without any disadvantages.
|
|
||||||
As a result,
|
|
||||||
we may no longer continue the data processing
|
|
||||||
that was based on this consent for the future.
|
|
||||||
However,
|
|
||||||
the withdrawal of your consent
|
|
||||||
does not affect the lawfulness of the processing
|
|
||||||
carried out on the basis of the consent until the withdrawal.
|
|
||||||
|
|
||||||
If you wish to make use of your right of withdrawal,
|
|
||||||
simply send an e-mail to: {{ config.privacy_mail }}
|
|
||||||
|
|
||||||
## 6. Validity of this privacy policy
|
## 6. Validity of this privacy policy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user