"lastmail" parses a procmail log file and extracts information about the most recent received e-mail, printing it in the form definbox: Logwatch for lamp (Linux) (8 minutes ago). This is useful as a backtick substitution in screenrc:
backtick 1 30 30 lastmail
hardstatus string "%H %n%?: %t%? %h  %1`"

Files currently attached to this page:

lastmail2.5kB