Skip to content

OpenSMTPd on OpenBSD : Integration with Current Syntax and Notes on OpenBSD #51

Open
@sissieadmin

Description

@sissieadmin

OpenSMTPd's Syntax has changed significantly since the documentation for Sympa was posted. The change to OpenSMTPd appeared on OpenBSD's release of 6.4, I haven't tracked down the OpenSMTPd version for this.

This took me longer than I'd like to admit, but I'm entirely new to Sympa. I have a basically working config for Current versions of OpenSMTPd integrated with Sympa. Much of the original documentation can be left alone, just the OpenSMTPd config sections needs this added for version:

listen on *

table sympa_domains file:/var/sympa/sympa_domains
table sympa db:/var/sympa/etc/sympa_domain_aliases.db

action "sympa_deliver"  maildir virtual <sympa>

match from any		for domain <sympa_domains> action "sympa_deliver"

The for 'domain' section is an added component since the old config on Sympa's documentation. This is also completely barebones, the "listen on" section can be narrowed to an IP or interface, and should be extended to use pki/tls, filters and proc-execs for rspamd and more. Refer to the original OpenSMTPd documentation for this, and Poolp's articles.

Some notes on OpenBSD that can be added somewhere in the documentation. This is all for the port installable via "pkg_add sympa":

$SYSCONFDIR = /var/sympa
$LIBEXECDIR = /usr/local/libexec/sympa/
Sympa.conf is stored in /var/sympa/sympa.conf

Hope this can be tweaked and added as needed, and that it helps someone else along.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions