Re: No "you have new mail" message on login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



To answer my own mail ...

I've never had to do this before but this is what did the trick to show mail on
login and ssh login:

/etc/pam.d/login - add the following line:
session    optional     pam_mail.so standard

/etc/pam.d/sshd - add the following line:
session    optional     pam_mail.so standard noenv

For anyone who's interested.


> I have a few servers running CentOS release 5.4 (Final) and none of them are
> displaying a "you have new mail" message on login.
> 
> I've asked Professor Google but he is strangely silent. Have I neglected an
> important setting? I thought this was a default on most linux ditributions.
> 
> Any help much appreciated.
> 
> Ian
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
> 


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux