On 2/15/23 23:42, Odhiambo Washington wrote:
On Thu, Feb 16, 2023 at 10:26 AM Mark Sapiro <mark@msapiro.net> wrote:
In my case, I had the exact same files in the two paths and the list:user:action:subscribe.txt was still not used in my tests. Why?
I don't know why? What's the content of the template table in the database?
SELECT * FROM template;
I have now created the directory: mkdir -p /opt/mailman/mm/var/templates/domains/lists.kictanet.or.ke/en/ And I have placed the same files in there. Gearing up for a test to see if the template will be used this time around.
That's just wasting space. If you're putting the exact same templates in site/, domains/ and lists/, you might just as well delete the ones in domains/ and lists/ and Mailman will use the ones from site/.
A template from import21 of the kictanet@lists.kictanet.or.ke list will be stored in the /opt/mailman/mm/var/templates/lists/kictanet.lists.kictanet.or.ke/en/ directory.
It wasn't a template per se. It was the regular nondigest msg_footer from MM2.
import21 imports the nondigest msg_footer, makes certain adjustments for Mailman3 compatibility and stores it as a template in the var/templates/lists/<list-id>/<lc>/ directory, however if it was the MM 2.1 default msg_footer, it won't be stored as a template and the MM3 default list:member:generic:footer template will be used.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan