1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/etc/chasquid
Alberto Bertogli 2bad7a14be etc: Simplify default config by removing systemd sockets
Having systemd open sockets and pass them to chasquid is neat, but also
adds some complexity to the default config, for very little value in
practice.

This patch simplifies the default config by having chasquid open the
sockets instead.

Note that systemd file descriptor passing continues to be supported, and
existing installations will not be affected.
2022-11-12 11:49:20 +00:00
..
2022-08-27 23:58:26 +01:00

This directory contains chasquid's configuration.

- chasquid.conf          Main config file.

- domains/               Domains' data.
  - example.com/
    - users          User and password database for the domain.
    - aliases        Aliases for the domain.
  ...

- certs/                 Certificates to use, one dir per pair.
  - example.com/
    - fullchain.pem  Certificate (full chain).
    - privkey.pem    Private key.
  ...


Note the certs/ directory matches certbot's structure, so if you use it you
can just symlink to /etc/letsencrypt/live.

You need at least one certificate, or the server will refuse to start.
Ideally there should be a certificate for each DNS name pointing to you.

Make sure the user you use to run chasquid under ("mail" in the example
systemd files) can access the certificates and private keys.


The user databases can be created and edited with the chasquid-util tool.