This series of patches modifies the new mail detection for maildir formats.
The first patch modifies move the reset of the "new" flag from the BUFFY structure to the individual checks for each mailbox format, such that the check function can use the previous value if needed. The second patch brings the new mail detection in line with the MH and IMAP formats in that it reports on all UNSEEN messages, by inspecting the /cur subdirectory if no messages are found in /new, unless $mark_old is set. buffy.c | 5 +- buffy.c | 129 ++++++++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 94 insertions(+), 40 deletions(-)
