mailing-list

Crates.iomailing-list
lib.rsmailing-list
version0.4.0
sourcesrc
created_at2024-07-04 22:06:46.594659
updated_at2024-08-05 20:14:07.22719
descriptionSMTP server with TOML configuration and dynamic plugin system
homepagehttps://github.com/Ung-Data-Falun/mailing-list
repositoryhttps://github.com/Ung-Data-Falun/mailing-list
max_upload_size
id1292132
size110,595
vanten-s (vanten-s)

documentation

README

mailing-list

mailing-list is an SMTP server with plugin support and an extensive configuration

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"
Commit count: 22

cargo fmt