I have one system that I would like to do a little clean up, so I would like to get all user accounts and last date they accessed they mail. It is a Debian system.
So far I got to this:
cut -d: -f1 /etc/passwd | xargs -n1 finger | grep "Mail last read"
But I dont know how to write that username in front of Mail last read Sun Aug 12 03:06 2012 (CEST)