01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
If you are in a login shell, then no mail file isreported unless it has been modified after thetime the shell has started up, to prevent redun-dant notifications. Most login programs will tellyou whether or not you have mail when you log in.So *why* is CheckMail depreciated? Because OpenSSH sees noreason to perform cross-platform new mail notifications whenit could be handled by the PAM instead. It's not reallya login tool's job to tell you that you have new email.session optional pam_mail.soUsePAM yes% ssh arnomasao@arno's password:You have new mail in /var/mail/masao.Last login: Tue Mar 8 17:04:05 2005 from nile.slis.tsukuba.ac.jpWelcome to Turbolinux.masao@arno%