I’m still wondering about mailman’s cache (cache_dir setting).  I have 2x cache 
files under it that are 3-4 days old.  These are mailman cache files, not 
mailman-web.


# pwd

/opt/mailman/mm

# find cache -type f -ls

 38627053      4 -rw-rw----   1 mailman  mailman        13 Feb  6 16:42 
cache/26/26/2626c32ded811be4e9631d2215f32d88522b67142bf0eea502362d2b15c4743e

   118392      4 -rw-rw----   1 mailman  mailman        11 Feb  7 09:42 
cache/98/14/9814e4457e2489e2ec77d19ce982d3643fac3ad849c9861a9198eebf53f1fcde


I haven’t figured out how to work with these cache files.  I found some mention 
that a runner would clean up cache files after a week (default) and that one 
could use ‘cache_life’ to change that default.  So, I set the following and 
restarted mailman.  The cache files hadn’t been removed after > 4 hours, so I 
unset it and restarted again.

Cache_life: 1d

Without further information or direction, I’m tempted to just remove those 
cache files and move on with life.

Thank you

Tom Lieuallen

From: Lieuallen, Thomas Otis via Mailman-users <mailman-users@mailman3.org>
Date: Friday, February 7, 2025 at 1:43 PM
To: mailman-users@mailman3.org <mailman-users@mailman3.org>
Subject: [MM3-users] Re: Pck files stuck in out queue
[This email originated from outside of OSU. Use caution with links and 
attachments.]

Mark,

I checked the database; nothing there.  Note that there are only 3x entries and 
only one is list:member:regular:header (my test), so just nothing of interest.  
The URL works and produces the proper template information.

I finally did a find/grep in the mailman tree and found a match for this errant 
string.  It is under the cache folder.  This corresponds to the cache_dir 
value.  I could wipe the file out, but what is the proper way of doing so and 
should they be cleaned out via a schedule?  These don’t appear to be web 
related, as far as I can tell.

Thank you

Tom Lieuallen


From: Mark Sapiro <m...@msapiro.net>
Date: Friday, February 7, 2025 at 10:37 AM
To: mailman-users@mailman3.org <mailman-users@mailman3.org>
Subject: [MM3-users] Re: Pck files stuck in out queue
[This email originated from outside of OSU. Use caution with links and 
attachments.]

On 2/7/25 10:08, Lieuallen, Thomas Otis via Mailman-users wrote:
>
> I have a remaining issue that baffles me.  With my test list, I created a 
> template for ‘list:member:regular:header’.  It just has text in it, keeping 
> it simple.  I create it and see the entries in the database tables and they 
> are correct.  However, when I send a test email, my template text is not 
> inserted, but instead another simple text: “testing hello”.  I do the same 
> with list:member:regular:footer, and it works just fine.  It is just the 
> header that is working incorrectly.  When I remove that postorius header 
> template for the list, that ‘testing hello’ goes away.  So, it’s only 
> appearing when I have a postorius template setup for that list.

What do you get from the following database queries?

SELECT * FROM template WHERE name = 'list:member:regular:header';
SELECT * FROM postorius_emailtemplate WHERE name =
'list:member:regular:header';

Depending on your installation, these tables may be in separate
databases, i.e., template table in mailman db and
postorius_emailtemplate in mailmanweb db.

And what do you get if you go to the uri in the result(s) from the first
query?

The context in the first results and maybe the second results should
also be a clue.

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Fmailman3%2Flists%2Fmailman-users.mailman3.org%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7C77d8ba7740ca48f3aae908dd47c07c83%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638745614241674450%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=XvnqWtxV2HXnNiEBr%2Bkkv%2FBO%2BJEsfL%2BKtLDrenZQoA8%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Fmailman3%2Flists%2Fmailman-users.mailman3.org%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7C77d8ba7740ca48f3aae908dd47c07c83%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638745614241694316%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=oAWbbLnlSsIak0z2joXU4qQarF5ic7DBOgwRDOtVlfY%3D&reserved=0><https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/>
Archived at: 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Farchives%2Flist%2Fmailman-users%40mailman3.org%2Fmessage%2FFVEPCQHV5N4M536OA42QCX7UMMR37H3X%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7C77d8ba7740ca48f3aae908dd47c07c83%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638745614241707007%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=JR%2FgWDWy20sD3021nvOyVA4xeSrpRuX0MTbcB3eesrg%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Farchives%2Flist%2Fmailman-users%40mailman3.org%2Fmessage%2FFVEPCQHV5N4M536OA42QCX7UMMR37H3X%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7C77d8ba7740ca48f3aae908dd47c07c83%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638745614241719500%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=dnDD7DBvbfH8tH3%2Fn2ivaJQsmaDNLlkG0r%2BmjdGIJGE%3D&reserved=0><https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/FVEPCQHV5N4M536OA42QCX7UMMR37H3X/>

This message sent to lieua...@oregonstate.edu
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Fmailman3%2Flists%2Fmailman-users.mailman3.org%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7C77d8ba7740ca48f3aae908dd47c07c83%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638745614241734404%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=NQMIgyPR0woaDsRIvFF4bUAME%2FoZzQvs4hUsH75KJeY%3D&reserved=0<https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/>
Archived at: 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Farchives%2Flist%2Fmailman-users%40mailman3.org%2Fmessage%2FXXZSE62Z4HFS5SEPMCGIQBWSTFP2PHJX%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7C77d8ba7740ca48f3aae908dd47c07c83%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638745614241746658%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=8ZqgFc6mZdXIj7KjCAARkG59bXHkdB%2BclH3UzlT6l0U%3D&reserved=0<https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/XXZSE62Z4HFS5SEPMCGIQBWSTFP2PHJX/>

This message sent to lieua...@oregonstate.edu
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@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/PAP4EMXRHVKI3FV4M5ETETEX7GCEP6OY/

This message sent to arch...@mail-archive.com

Reply via email to