$Id: TODO,v 1.28 2004/12/16 16:18:45 cslsublevel3org Exp $ Gubby TODO-list TODO: incremental reads, instead of reading entire logfile, read from last position (assuming the file has not shrunk/truncated). TODO: Add maildir support, only looking for /new/ is not enough, look from the right, and optionally look for /Maildir/, also this needs to be flagged, so that writes to the logfile will write back in maildir mode. BUG: procmail logwriter does writes to tempfile, but does not do any atomic move operation/filelocking. Haven't tested out how this works if procmail is doing a LOT of writing to the file. Snippet code from the procmail source do achieve the same locking mechanism. BUG: when marking folder as read, the "N" (new) marker always points to the last folder, it should be updated accordingly. BUG: procmail logwriter writes non-procmail format (does not write datefields or IDs) BUG: suspend (ctrl+z) from gubby using mutt/vim messes up the screen BUG: if "Subject" or other headers in mail are lowercase, they are written as-is to procmail-logfile. Gubby is case sensitive -> fix! - in one mailfolder, if several emails have same subject, then group them together with a number.. - read mail bytes - read mail datetime - sort folders on date of most recent mail, count, name - sort folders on count, name (default) - sort folders on name, count - sort folders on ... (lots of sorting options) - new key: update one folder as read. writes in-memory date to new logfile (write to $NAME-new; mv $NAME-new $NAME) - Autoconf/configure support - Three curses windows: (1) Header/footer, (2) Mainscreen, (3) helpscreen - Add timedate field, store dates when mail was received, sort by folder size (1) and date (2) - Build optmask (gubbyopts) string in runtime, based on options array - Display age of last received mail (from stat structure) - Scrolling windows in main and help screens - Better handling of environment variable expansion - Better handling of procmail variables (such as MAILDIR) - Possible to delete/clear contents of one folder (writes new procmail logfile as well) - Examine Procmail's mailstat: $ ls -l .log-procmail -rw------- 1 csl csl 0 Apr 3 10:17 .log-procmail $ echo test | mail csl $ mailstat -kl .log-procmail No mail arrived since Apr 3 10:17 $ mailstat -kl .log-procmail Total Average Number Folder ----- ------- ------ ------ 522 522 1 INBOX ----- ------- ------ 522 522 1 $ cat .log-procmail From csl@ares.sublevel3.org Thu Apr 03 08:18:13 2003 Folder: INBOX 522