On 1/14/22 6:11 PM, David Newman wrote:
On 1/14/22 4:54 PM, Mark Sapiro wrote:
It should work. I suspect you need to go to the list's Settings -> Automatic Responses and set
Admin immed notify
to Yes.It's enabled. I think this triggers notifications only for new subscription requests, not pending ones.
Yes. That will send a single notification at the time of the request
using the list:admin:action:subscribe.txt
template. Notices of pending
requests are sent by the mailman notify
command using the
list:admin:notice:pending.txt
template.
...
You can test
mailman notify
at any time by running it by hand.Thanks. This still isn't working as intended. I took these steps:
- Created the file '/opt/mailman/mm/var/templates/lists/test.lists.domain.tld/en/list:admin:action:pending.txt'
The template name is list:admin:notice:pending.txt
, not
list:admin:action:pending.txt
. Thats why it didn't work.
...
- Restarted the mailman3 and mailmanweb services
You only needed to restart Mailman core.
...
What I'm trying to do here is replicate a feature from MM2.1, where pending notifications had URLs embedded in the message. That's not available out of the box in MM3, and if there's a place for feature requests I'd be glad to ask that this be made the default.
The place for feature requests for Mailman core (which this is) is https://gitlab.com/mailman/mailman/-/issues, however, this is not straightforward as Mailman core doesn't know if you even have Postorius or some other web management UI installed or what the URL to access it might be. Thus it's not just a simple matter of editing templates. It would also require a configuration setting for the base URL for the web admin UI and changes in logic to provide an appropriate replacement depending on whether or not the base URL was configured.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan