"You have mail" message at login

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



Whenever I log in to a TTY, I get this message. I read my system mails
through mutt, so i don't need this.

I have unset MAILCHECK in .bashrc, but no effect.

I set MAIL_CHECK_ENAB to no in login.defs, but still no effect.

Lastly i tried creating a .hushlogin file in the user's home, but even
that didn't have any effect.

The message only appears when logging in through a TTY though, not in
any other terminal.

Any idea what's causing it to show up?

ps: Gaetan, here's the content of my .bash_profile

[[ -f ~/.bashrc ]] && . ~/.bashrc

so, i believe .bashrc is sourced on login.


[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