[arch-general] "You have mail" message at login
Marek Otahal
markotahal at gmail.com
Tue Oct 16 13:12:28 EDT 2012
On Tuesday 16 of October 2012 10:33:53 Sébastien Leblanc wrote:
> 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.
Thank you for the solution! I have run into the same issue too, however, I'd like to keep the login msg when on TTY, but avoid it with kdm/graphical login prompt (new mail, and MOTD is displayed), I think this started with systemd/new kde ..?
Thank you for your time, Mark
--
Marek Otahal :o)
More information about the arch-general
mailing list