Even in server mode, this would still be implemented by comparing the date on the cache files. This would be a great feature. I don't know how receptive our users would be, however.
My co-worker had these thoughts on the issue:
Keep in mind that the date on the temporary file is not changed when in server mode. We discovered this because our support department depends on the date on the file to determine when someone last checked their email. The following patch (by Clifton Royston) implements a touch of the file.
Also, with the happymail patch installed qpopper seems much slower after authenticating and when quitting, even after setting happymail-bufsiz to various values such as 16, 1024, 16384, and 0 (which disables the call to setvbuf). I'm surprised since I thought there would be a speed-up. Is anyone else seeing this?
*** popper/pop_dropcopy.c 2001/06/02 02:24:34 1.1
--- popper/pop_dropcopy.c 2001/06/15 00:38:43
***************
*** 1645,1650 ****
--- 1645,1658 ----
* Because p->drop is used for bulletins. Right now it reverts back to
* regular mode if drop box open fails. </todo>
*/
+ if ( p->bKeep_temp_drop && p->server_mode ) {
+ /*
+ * keep-temp + server_mode: touch it to ensure access time is updated!
+ * (If we're not in server_mode it will get written, and if we
+ * aren't going to keep it, we don't care about the access time.)
+ */
+ touch_file( p->temp_drop, p->trace );
+ }
mfd = open ( p->drop_name, O_RDWR );
if ( mfd > 0 ) {
/*
