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

Krzysztof Warzecha kwarzecha7 at gmail.com
Tue Oct 16 10:24:37 EDT 2012


2012/10/16 gt <static.vortex at gmx.com>:
> Any idea what's causing it to show up?

Well, you could always try brute force method. Login and run this as root:

strace -vft -p $TARGET_GETTY_PID -o /tmp/strace-getty

Now login in straced terminal, logout and grep for "New mail" in
/tmp/strace-getty. You will get (among other things) pid of process
which wrote "new mail" on screen. You can easily find (with grep)
parent process. I believe you know what to do from here ;).

-- 
Krzysztof Warzecha


More information about the arch-general mailing list