Bug 64025 - mod-mbox-util -u date handling
Summary: mod-mbox-util -u date handling
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mbox (show other bugs)
Version: 2.5-HEAD
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2019-12-22 12:25 UTC by Sebb
Modified: 2019-12-22 12:25 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2019-12-22 12:25:25 UTC
AFAICT the -u update option currently relies on comparing the date stored in the listinfo.db file with the modification times of the mbox files.

It does not check if the .msgsum file even exists.

Also the date stored in the listinfo.db file is the current time.
The source file may have been copied from another system, so may meanwhile have been updated further.
If the source is not further updated, next time the copy may be older than the date in listinfo.db.

Ideally the 'last updated date' in the cache files and listinfo.db should be the same as the most recent source from which the file is created/updated.