Modify approval email
Good morning, Is there a way to modify the email that is sent by default to list owners when a non-list member sends email to the list? Basically the default email that is sent is this:
As list administrator, your authorization is requested for the following mailing list posting:
List: lis1@llistes.csuc.cat
From: jim@csuc.cat
Subject: test
The message is being held because:
El missatge no és d'un membre de la llista
At your convenience, visit your dashboard to approve or deny the request.
We would like to add the link to the page to accept the email from the list itself. I think I remember that in the old mailman it could be done Thanks!
pau.baiges@csuc.cat writes:
Is there a way to modify the email that is sent by default to list owners when a non-list member sends email to the list?
Yes. As list owner (or site admin) in Postorius go to Templates, and click on "New Template". Select list:admin:action:post from the drop-down menu to the right of "Name". Copy the current message (site-packages/mailman/templates/en/list:admin:action:post.txt is the original, but do not edit this -- it will be overwritten on upgrades) to the text box and edit to taste. Unfortunately there is no "web site" variable but typically that is the same for all lists, so adding
https://your.host.here/mailman3/lists/$list_id/held_messages
in some appropriate place probably does what you want.
There is no way to indicate that this is a link because these messages are plain text. However, most mail clients will turn a URL into a link. If your moderators are not so lucky, try wrapping it with
<URL:https://your.host.here/mailman3/lists/$list_id/held_messages>
or even the usual HTML:
<a href="https://your.host.here/mailman3/lists/$list_id/held_messages"> Moderation Page </a>
One of those may help.
Steve
On Fri, Sep 15, 2023 at 5:33 PM Stephen J. Turnbull < turnbull.stephen.fw@u.tsukuba.ac.jp> wrote:
pau.baiges@csuc.cat writes:
Is there a way to modify the email that is sent by default to list owners when a non-list member sends email to the list?
Yes. As list owner (or site admin) in Postorius go to Templates, and click on "New Template". Select list:admin:action:post from the drop-down menu to the right of "Name". Copy the current message (site-packages/mailman/templates/en/list:admin:action:post.txt is the original, but do not edit this -- it will be overwritten on upgrades) to the text box and edit to taste. Unfortunately there is no "web site" variable but typically that is the same for all lists, so adding
https://your.host.here/mailman3/lists/$list_id/held_messages
in some appropriate place probably does what you want.
There is no way to indicate that this is a link because these messages are plain text. However, most mail clients will turn a URL into a link. If your moderators are not so lucky, try wrapping it with
<URL:https://your.host.here/mailman3/lists/$list_id/held_messages>
or even the usual HTML:
<a href="https://your.host.here/mailman3/lists/$list_id/held_messages"> Moderation Page </a>
One of those may help.
Also, you can take a look at this documentation:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/t...
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
Yes. As already described, you can set it **per list** in Postorious.
Though, you can also set it systemwide with a template in [..]/var/templates/site/de/list:admin:action:post.txt (where de should be changed to it/en in your case, I suppose!?)
and the following link: https://$domain/postorius/lists/$short_listname.$domain/held_messages
(maybe you also need the other variables: $list_id and $reasons)
This can also be set per domain as a template in /var/templates/domains/$domain/$your-language/...
Regards, Jens.
Am 15.09.23 um 13:22 schrieb pau.baiges@csuc.cat:
Good morning, Is there a way to modify the email that is sent by default to list owners when a non-list member sends email to the list? Basically the default email that is sent is this:
As list administrator, your authorization is requested for the following mailing list posting:
List: lis1@llistes.csuc.cat From: jim@csuc.cat Subject: test
The message is being held because:
El missatge no és d'un membre de la llista
At your convenience, visit your dashboard to approve or deny the request.
We would like to add the link to the page to accept the email from the list itself. I think I remember that in the old mailman it could be done Thanks!
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to jens.guenther@posteo.de
Thank you very much everyone, in the end I obtained the option to modify the file [..]/var/templates/site/de/list:admin:action:post.txt and add the url
Regards, Pau
participants (4)
-
Jens Günther
-
Odhiambo Washington
-
pau.baiges@csuc.cat
-
Stephen J. Turnbull