Crates.io | mailing-list |
lib.rs | mailing-list |
version | 0.4.0 |
source | src |
created_at | 2024-07-04 22:06:46.594659 |
updated_at | 2024-08-05 20:14:07.22719 |
description | SMTP server with TOML configuration and dynamic plugin system |
homepage | https://github.com/Ung-Data-Falun/mailing-list |
repository | https://github.com/Ung-Data-Falun/mailing-list |
max_upload_size | |
id | 1292132 |
size | 110,595 |
mailing-list is an SMTP server with plugin support and an extensive configuration
The default location for the configuration is /etc/mailing-list/daemon.toml
.
example daemon.toml
:
hostname = "example.com"
port = 25
# Load plugins
plugins = [
"libplugin.so",
]
# Dynamically load other list
[lists."<members@example.com>".Remote]
location = "members.toml"
# List directly in this file
[lists."<board@example.com>".Local]
members = ["foo@example.com", "bar@example.com"]
# If no defined users, send to another server
[forwarding]
enable = true
server = "[127.0.0.1]"
server_tls = "example.org"
port = 2525
members.toml:
[[medlemmar]]
namn = "Foo"
mail = "foo@example.com"
[[medlemmar]]
namn = "Bar"
mail = "bar@example.com"