On Thu, Feb 16, 2023 at 9:32 PM Mark Sapiro <mark@msapiro.net> wrote:
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;
root@localhost [mailmansuite]> SELECT * FROM template; Empty set (0.03 sec)
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/.
Well, space is cheap these days.
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.
And what I am seeing is that the default list:member:generic:footer template is what is showing up in all posts. To my chagrin though.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)