On 1/14/22 6:35 PM, Mark Sapiro wrote:
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 themailman notify
command using thelist: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
, notlist:admin:action:pending.txt
. Thats why it didn't work.
Bingo. Thanks -- the template works as intended now.
...
- Restarted the mailman3 and mailmanweb services
You only needed to restart Mailman core.
OK
...
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.
Understood, thanks. Although this distinction is very important for server admins, it's likely not meaningful for many list owners and moderators. For them, MM2.1 sent an email saying "go here" and MM3/Django/Postorius/Hyperkitty doesn't, at least not out of the box.
There is some pending template in use by default, just not one with a URL included.
Is this something better handled in the venv and/or Web installation docs? Or should I file a feature request for core, or Postorious or someplace else?
Thanks very much!
dn