I have a mail system set up on my server (Postfix + Dovecot) that I use for personal and sys-admin email. Every time I login via shell (for all of my accounts), the message "You have old mail." is displayed below the MOTD modules I've configured.
I can't delete or move (most of) my read mail elsewhere, but I'd like to hide this message; it's pointless and clutters my MOTD. I'd prefer to keep the "You have new mail." message if possible, but I'm willing to lose it if that's what it takes.
I don't think this message is from a MOTD module, and it shows up on both SSH and local.
How can I hide or remove the "You have old mail." message when logging into shell?
pam_mail
;-).