#smtp-server #toml-config #plugin-system #dynamic #list #mailing #config-file

app mailing-list

SMTP server with TOML configuration and dynamic plugin system

2 unstable releases

0.4.0 Aug 5, 2024
0.3.1 Jul 4, 2024

#38 in Email

Download history 39/week @ 2024-06-28 71/week @ 2024-07-05 2/week @ 2024-07-12 13/week @ 2024-07-26 111/week @ 2024-08-02 10/week @ 2024-08-09

122 downloads per month

GPL-3.0 license

33KB
822 lines

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"

Dependencies

~24–36MB
~652K SLoC