Replace "visit your dashboard" with URL link, like in Mailman 2.
Has anybody attempted to change the format of the emails that are sent to the owner of a mailing list, to include a URL, instead of stating "visit your dashboard"? The former is the behavior of Mailman 2.
Is there any reason why this can't be done? If nobody has tried to do so yet, I'll give it a try myself, as I'm familiar with django. Thanks.
- Mark
At your convenience, visit:
https://.../mailman/admindb/...
to approve or deny the request.
The message is being held because:
The message is not from a list member
At your convenience, visit your dashboard to approve or deny the request.
We expanded it like that:
list:admin:action:post.txt
Your approval as administrator for the following Mailinglist is requested:
list: $list_id
The message has been held for the following reasons:
$reasons
Please visit the following dashboard to approve or discard the message:
https://$domain/postorius/lists/$short_listname.$domain/held_messages
Am 08.05.23 um 18:52 schrieb Mark London via Mailman-users:
Has anybody attempted to change the format of the emails that are sent to the owner of a mailing list, to include a URL, instead of stating "visit your dashboard"? The former is the behavior of Mailman 2.
Is there any reason why this can't be done? If nobody has tried to do so yet, I'll give it a try myself, as I'm familiar with django. Thanks.
- Mark
On 5/8/23 09:52, Mark London via Mailman-users wrote:
Has anybody attempted to change the format of the emails that are sent to the owner of a mailing list, to include a URL, instead of stating "visit your dashboard"? The former is the behavior of Mailman 2.
Many users, e.g. Jens Günther whose replied to this thread, have made custom templates to do this.
Is there any reason why this can't be done? If nobody has tried to do so yet, I'll give it a try myself, as I'm familiar with django. Thanks.
See https://gitlab.com/mailman/mailman/-/issues/901 and https://gitlab.com/mailman/mailman/-/issues/1055
Also see https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/t... for some documentation of templates, but note that you don't need to set URI's via REST, You can place list specific templates in Mailman's var/templates/lists/<list-id>/<lc>/ directory, domain specific templates in var/templates/domains/<domain-name>/<lc>/ and sitewide templates in var/templates/domain/site/<lc>/ or you can create list and/or domain specific templates via Postorius but see https://gitlab.com/mailman/postorius/-/issues/366
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Jens Günther
-
Mark London
-
Mark Sapiro