1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00
Files
go-chasquid-smtp/etc/chasquid
Alberto Bertogli a1ca50ab57 hooks: Add mising quote in the example post-data hook
The example post-data hook was missing a quote around a sub-shell
execution.

This is harmless because the content itself is admin-provided and not
related to user input, but this commit fixes the quote for defense in
depth and consistency.
2020-02-02 02:07:38 +00: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.