Duh. Ignore my previous email, I wasn't thinking straight. I said:
> 4. Get mtime from tmp/, cur/ and new/. the mtime on tmp is (a): last time
> a new message arrived. MAX(mtime(cur), mtime(new)) defines (b): when the
> maildir mailbox was last checked for new mail.
This doesn't work, ofcourse the mtime on new/ is changed every time a new
message is delivered into the maildir. So it's back to the original idea:
1. Use atime on new/ for (a), and mtime on tmp/ for (b)
Problem: some non-MUA programs scan new/ as well and change the
atime on new/. They should be fixed.
Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?