You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ikedas
transferred this issue from sympa-community/sympa
Mar 8, 2020
I'll document my stuff from the mailing list here and also further findings.
My first guess was something like this but it doesn't work (resulting in "524 5.2.4 Mailing list expansion problem..." upon every try):
table sympa db:$SYSCONFDIR/sympa_domain_aliases.db
table lists db:$SENDMAIL_ALIASES.db
table sympa_domains { "mail.example.org" }
action "SYMPA-VIRTUAL" maildir alias <sympa>
action "SYMPA-LIST" maildir alias <lists>
match from any for rcpt-to <sympa> action "SYMPA-VIRTUAL"
match from any for rcpt-to <lists> action "SYMPA-LIST"
match from any for domain <sympa_domains> reject
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:
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.
The text was updated successfully, but these errors were encountered: