An HTTP server, that listenes for incoming requests to send an email via an SMTP server.
This project is built using cargo:
cargo build --release
The resulting binary will be at
You might also want to install the example
.env file, for example to
/etc/epistula/epistula.env, as well as the Systemd service file
I maintain a copr repo for Fedora and CentOS. To enable it and install the package run:
sudo dnf copr enable janbaudisch/epistula sudo dnf install epistula
See the manpage for
epistula is configured via environment variables.
When run in debug mode, variables from the
.env are merged with the environment.
||Debugging level for logger. One of
||Address to listen on, in
||none||(UNIX only) socket (path) to listen on, if set will take precedence over HTTP (will not be enabled).|
||none||SMTP host/domain to connect to for sending mails.|
||SMTP port to connect to.|
||Wether or not to use TLS for SMTP.|
||none||Username to use when authenticating with SMTP.|
||none||Password to use when authenticating with SMTP.|
||none||Mail address to send to.|
||Subject line to use within mails.|
.env for an example configuration.
Make sure, your environment is setup correctly. Then run the server:
There is a Systemd service
To enable it run:
systemctl enable epistula
The provided service file will take the environment variables from
See the issue tracker.