[arch-general] "You have mail" message at login

Sébastien Leblanc leblancsebas at gmail.com
Tue Oct 16 10:33:53 EDT 2012


On 16 October 2012 01:42, gt <static.vortex at gmx.com> 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


More information about the arch-general mailing list