Bug 53120 - [PATCH] obtain list address alternatively when List-Post header is missing
Summary: [PATCH] obtain list address alternatively when List-Post header is missing
Status: REOPENED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mbox (show other bugs)
Version: 2.5-HEAD
Hardware: All FreeBSD
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-21 22:41 UTC by Daniel Shahaf
Modified: 2017-10-22 01:20 UTC (History)
0 users



Attachments
patch, v1 (2.45 KB, patch)
2012-04-21 22:42 UTC, Daniel Shahaf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.