Jörg Schulz writes:
[3] sounds beautiful. Will there be something comparable for exim?
Exim4 with Mailman >= 3.3.6 doesn't really need it. If you have a single-host setup, the existing configuration is extremely efficient and effective. If you want a networked that doesn't require Exim4 access to Mailman's file system, see https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht...
That said, Exim4 doesn't require any patching to Mailman to support a database lookup. From src/mailman/mta/exim4.py:
# Exim4 handles all configuration itself, by finding the list config file.
So just substitute a lookup through the SQL database for the existing "does this file exist?" query in your Exim4 routing configuration. See https://www.exim.org/exim-html-current/doc/html/spec_html/ch-file_and_databa...
The SQL query takes the form
SELECT list_name FROM mailinglist WHERE list_name = '%u' AND mail_host = '%d'
translated to Exim4's configuration language (the %u and %d in that snippet are Postfix syntax).
And before anybody asks, I have no idea about sendmail or qmail. ;-)
Steve