Re: "You have mail" message at login

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



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.

-- 
Sébastien Leblanc


[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