[arch-general] "You have mail" message at login
gt
static.vortex at gmx.com
Tue Oct 16 11:33:58 EDT 2012
On Tue, Oct 16, 2012 at 10:33:53AM -0400, 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.
That did it! I had searched in the pam directory earlier, but didn't
grep through the files for mail.
Thanks a lot.
More information about the arch-general
mailing list