1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-08 17:51:57 +00:00
Files
go-chasquid-smtp/etc/chasquid
Alberto Bertogli 0f2ffc8ff5 WIP: Add smarthost support
WORK IN PROGRESS -- WORK IN PROGRESS -- WORK IN PROGRESS

This patch adds support for delivering mail via a smarthost.

In this mode, all accepted mail gets delivered through an SMTP
connection to a specific host, statically configured.
2022-11-12 18:54:59 +00:00
..
2022-08-27 23:58:26 +01:00
2022-11-12 18:54:59 +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.