Re: "You have mail" message at login

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



On Tue, Oct 16, 2012 at 10:33:53AM -0400, Sébastien Leblanc wrote:
> On 16 October 2012 01:42, gt <static.vortex@xxxxxxx> wrote:
> > Whenever I log in to a TTY, I get this message. I read my system mails
> > through mutt, so i don't need this.
> 
> Pam is taking care of showing whether you have mail or not. In
> /etc/pam.d/system-login, comment this line:
> 
>     session    optional   pam_mail.so          dir=/var/spool/mail standard
> 
> You should not get new mail prompts anymore.

That did it! I had searched in the pam directory earlier, but didn't
grep through the files for mail.

Thanks a lot.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux