Using Slackware current and testing this out...
This does not work for me:
in /etc/profile
Code:
if [ -x /usr/bin/biff ]; then
biff n 2> /dev/null
fi
Once logged in:
This does not work for me:
in ~/.bashrc or ~/.bash_profile
Code:
if [ -x /usr/bin/biff ]; then
biff n 2> /dev/null
fi
Once logged in:
@Woodsman: I was not sure how to check this one as
/etc/profile.d is a folder here and I was not sure
exactly where to put the code.
/etc/profile.d:
This did not work for me:
in ~/.bashrc or ~/.bash_profile
Once logged in:
Code:
set | grep MAILCHECK
returns nothing
This did not work for me:
in /etc/inetd.conf
Code:
# The comsat daemon notifies the user of new mail when biff is set to y:
#comsat dgram udp wait root /usr/sbin/tcpd in.comsat
I made the change and rebooted but I still get the "No Mail." message.
This worked for me:
/etc/login.defs
but is global.
Looking through the startup scripts, I'm not seeing where mail is getting checked.
The documentation appears to indicate that this can be done.
So how does one turn off mail notification for a particular user?
Just curious.
Cheers