On 11/25/22 11:00, Jan Eden via Mailman-users wrote:
I obviously do not want to add an entry to the map file for each mailing list created by someone on the server. Is there a way to programmatically create a sender login map with Mailman?
You could modify mailman/src/mailman/mta/postfix.py to create a smtpd_sender_login_maps file with the desired content or you could create a script that creates the file using data in the generated var/data/postfix_lmtp. If the latter, you might be able to create a plugin <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/plugins/docs/intro.html> to run the script whenever a list is created or deleted
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan