Hello Rodti MacLeary Am 2014-03-13 10:40, schrieb Rodti MacLeary: > > I've trawled the archives and found a variety of questions asking how > dynamic content might be added to Mailman message footers, but no real > answers. > > While I appreciate that the Mailman tags available to the footer can be > useful for adding list admin info etc into the footer, it would be nice > to be able to inject scripted or dynamic content in there. Even if the > footer could be persuaded to read a text file (like the other template > files) then that text file could be updated. > > If there's no current solution or workaround to this is it something > that could be considered for Mailman 3? >
You could use bin/config_list -i text_file.txt yourlist for the corresponding list. You would have to provide your text file in mailman config syntax to this command. So something like this in the text file text_file.txt would work: msg_footer = """Some Text to put at the footer. With multiple lines. And with tags like %(host_name)s.""" digest_footer = """Some Text to put at the digest footer. With multiple lines. And with tags like %(host_name)s.""" This also works for headers. Kind regards, Christian Mack ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org