Bug 53120

Summary: [PATCH] obtain list address alternatively when List-Post header is missing
Product: Apache httpd-2 Reporter: Daniel Shahaf <danielsh>
Component: mod_mboxAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: REOPENED ---    
Severity: normal    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: FreeBSD   
Attachments: patch, v1

Description Daniel Shahaf 2012-04-21 22:41:11 UTC
Sometime the List-Post is missing (for historical reasons, or because the mbox files are not the archives of a mailing list).  This patch parses the list's address from a $DIR/.listname file when the List-Post is missing.
Comment 1 Daniel Shahaf 2012-04-21 22:42:11 UTC
Created attachment 28654 [details]
patch, v1
Comment 2 Stefan Fritsch 2012-04-26 20:52:52 UTC
committed with some tweaks as r1331072, thanks
Comment 3 Sebb 2017-10-22 01:20:27 UTC
I think the precedence is wrong here.

If the .listname file is present, it should be used in preference to List-Post, rather than as a fallback.

This is necessary for use with archives that are not mailing lists but which may nevertheless contain posts that also sent to mailing lists. 

If the .listname does not take precedence, then the info that is extracted will vary depending on whether the current mbox has a mail with a List-Post or not.