Skip to content

feat: Add support for Web URLs in templates.

Abhilash Raj requested to merge maxking/mailman:domain-webhost into master

This adds support to include the Web URLs in the default email templates provided by Mailman. Since Postorius is an optional peice in Mailman 3, we haven't had support for Web URLs so far.

The changes in this PR include:

  1. Additional field on domain, web_host, which will typically be the public facing URL for Postorius, including the prefix. A typical value for it would be something like:

    https://lists.example.com/mailman3

  2. A new configuration section, urlpatterns, which has the various patterns to generate URLs based on Postorius's default URL patterns using parameters like list_id, domain, base_url (web_host).

See #981

Edited by Abhilash Raj

Merge request reports