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

Marek Otahal markotahal at gmail.com
Tue Oct 16 13:22:48 EDT 2012


On Wednesday 17 of October 2012 01:12:28 you wrote:
> 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
> 
Sorry, just read the older mail, there's already a filed bug at: 
https://bugs.archlinux.org/task/31999


-- 

Marek Otahal :o)


More information about the arch-general mailing list