Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maxage: use the remote folder first to compute min_uid
On each folder scan, we must compute the min_uid. Locally, this is done by relying on the prefix timestamp in the filenames. If for whatever reason they do not reflect the Date header of the email, changing maxage leads to undefined behaviour. To prevent from this, we rather rely on the remote folder. We assume that the remotes are more reliable to provide correct sets of UIDs based on dates than we are. Github-ref: #384 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
- Loading branch information