LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-02-2004, 04:19 PM   #1
KingofBLASH
Member
 
Registered: Sep 2003
Distribution: Just upgraded to Slackware 10.0
Posts: 91

Rep: Reputation: 15
Turning off New Mail Notification


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:

There are x unread messages

Thank you,

Dan
 
Old 04-02-2004, 04:26 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Edit your /etc/profile and comment out the portion to notify users of new mail.
 
Old 04-02-2004, 04:29 PM   #3
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
from /etc/profile:
Code:
# 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]

HTH
 
Old 04-24-2004, 12:28 AM   #4
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
BTW, the origins of the biff command is one of my favourite:

From http://www.faqs.org/faqs/unix-faq/fa...section-3.html

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
 
Old 04-24-2004, 02:07 AM   #5
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
lol ... nice origin ...
 
Old 03-10-2012, 03:38 PM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
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.
 
Old 03-13-2012, 06:15 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Linux.tar.gz View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome Mail Notification - POP3 mail always shown as new? tsiMental Linux - Software 0 09-08-2005 10:50 AM
Turning off mail notification in bash Phathead Slackware 1 02-03-2005 01:23 PM
Mail notification Maverick1182 Linux - Software 0 08-29-2004 05:45 AM
e-mail and pager notification Jo_Nak Programming 1 06-11-2003 10:58 AM
E-Mail notification to users via SMS (gateway script ok, but notification script?!?) Riku2015 Linux - Networking 10 03-08-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration