View Full Version : [all variants] How to check mail in motd?
May 15th, 2008, 07:37 PM
Hi, I just did a fresh install of Ubuntu 8.04 Server. One thing I noticed is that when I ssh into the new server, the motd doesn't check your mail anymore - actually 'mail' wasn't even installed. So I installed mail, and now I'm wondering how to have the motd check the user's mail upon login and display something like "No mail for <username>" or "New mail for <username>". I think they do this for the Desktop installations but evidently not for Server installations. Thanks!
May 17th, 2008, 08:32 PM
OK, so I realized it's not actually part of the motd, but its something directly after it. I thought it might have something to do with pam but evidently that's only for login via tty, not ssh. Google isn't helping and all of my Linux guru friends are out of ideas, but I know this works because I can log into a debian ssh server and it currently says "No mail.".
May 22nd, 2008, 04:41 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.