LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-10-2004, 12:58 PM   #16
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50

Are you still trying to get rid of the "You have mail" message? I had some trouble with it at first, so this is what I did.

1) Check my mail with pine. You already did that, so...
2) Look in /var/mail. Delete the files in there.

I'm not the sharpest, but I think that your mailbox can be either ~/mail or /var/mail , depending on how you set things up. Anyway, try that out. Note, you may want to make sure you back up any messages that you want to save, in case this breaks something.
 
Old 08-10-2004, 01:17 PM   #17
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Thanks for the tip, but putting those commands in .bashrc did not help.

It will not help on its own but, if you add on ~/.bash_profile :
source ~/.bashrc

It will do (assuming you set unset MAILCHECK in .bashrc )
 
Old 08-10-2004, 02:28 PM   #18
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Nothing happened!

1. I changed the biff y to biff n in /etc/profile but still see the mail notification
2. I chmod -x biff and still getting the notification

LOL This one is going to be fun.

Ok, it no longer says 'You have mail'. Now it says 'No mail'. I used shilo's tip. I also followed the .bash_profile and .bashrc tip, but it still displays the message 'No mail'. It's fine with just that message, though. Before it was just annoying me because there was no messages in there. However, if you do a less ~/mail/saved-messages, there is an actual message that the system creates. I don't know why that is. That same message was in /var/mail but under the name root.

Wow, that was fun! Thanks guys.

Last edited by hrp2171; 08-10-2004 at 02:35 PM.
 
Old 08-10-2004, 02:39 PM   #19
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Just one question, I am curious, do you use /bin/bash as login shell or /bin/csh ?
 
Old 08-10-2004, 02:49 PM   #20
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
/bin/sh which is a symlink to /bin/bash and that's the default shell configuration. I have not changed my default shell. Why?
 
Old 08-10-2004, 03:00 PM   #21
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
weird...

man bash says :
MAIL If this parameter is set to a file name and the MAILPATH
variable is not set, bash informs the user of the arrival
of mail in the specified file.

So if you unset MAIL, logically you should not get mail signals...
 
Old 08-10-2004, 03:21 PM   #22
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
You don't want it to say anything? As it is now, when you have new mail, it will tell you, when you have no mail, it will tell you. I always found that handy.
 
Old 08-10-2004, 06:22 PM   #23
rovitotv
Member
 
Registered: Jan 2003
Location: Dayton, Ohio
Distribution: Slackware 10.2
Posts: 116

Rep: Reputation: 15
How to kill biff

To turn off biff try this

In your .bash_profile and .bashrc place a line that says "biff n" which turns biff off. You can also do "export MAILCHECK="no"" to turn off mail notification.

biff is responsible for email reminders.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 10:18 AM
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM
Exists a mail-client for Fedora, that can read local mail file without deleting? mxn Linux - Software 1 07-10-2004 12:53 PM
parsing mail.log with perl and calculate mail traffic on domain base markus1982 Programming 1 03-18-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:21 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