Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Slackware 9.1, and whenever I receive mail in my local spool, all console sessions notify me with an excerpt of the emails. The problem is, that with all of the mailing lists I'm subscribed to, it is very painful to work on the command line and have fetchmail running as a cron job.
Is it possible to turn off the new mail notification, or perhaps only have it print a simple message like:
# Notify user of incoming mail. This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
biff y
fi
couple of options:[list=1][*]Change `y` to `n`[*]make /usr/bin/biff non-executable[*]comment out this section.[/list=1]
biff : This command, which turns on asynchronous mail notification,
was actually named after a dog at Berkeley.
I can confirm the origin of biff, if you're interested.
Biff was Heidi Stettner's dog, back when Heidi (and I, and
Bill Joy) were all grad students at U.C. Berkeley and the
early versions of BSD were being developed. Biff was
popular among the residents of Evans Hall, and was known
for barking at the mailman, hence the name of the command.
Confirmation courtesy of Eric Cooper, Carnegie Mellon University
Nowadays (Slackware 13.37), it doesn't work anymore.
I commented all biff lines in /etc/profile, and every login of every user still have the mail notification.
Nowadays (Slackware 13.37), it doesn't work anymore.
I commented all biff lines in /etc/profile, and every login of every user still have the mail notification.
If it's not a mail server and you don't need it to send mail, just disable the MTA from running then. New mail notifications is awesome though, it lets you know when you have mail waiting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.