LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2001, 03:09 AM   #1
aethereal
Member
 
Registered: Dec 2000
Location: Seattle
Distribution: Red Hat 8.0
Posts: 41

Rep: Reputation: 15

Why is it that if I use the "mail" command to check mail within (Red Hat 6.2) Linux for a given user, the response is "No mail for [username]" even though I know mail is being stored for the user at /var/spool/mail/username?

Where is mail looking for mail, such that it is not finding it???

I have exhaustively read the documentation on this issue for hours, and mail should be looking for messages in /var/spool/mail/username, as stated. Why can't it recognize them?

I can even read these mail messages using pine, but "mail" itself cannot find these messages. Why?

Another question:
One user in particular on my system is not recognized by mail as a user on my system. Any mail sent to this user is sent to a dead.letter file instead. Where the heck does mail look to see if an addressee is a user? (Nowhere that I I can find.) What do I need to do to make a user recognizable to mail?

This is ridiculous. I like Linux despite Linux. (i.e., I must say, ~nothing~ ever works on Linux. But I just keep trying to make it work anyway....)

Thanks,
Ben
 
Old 04-11-2001, 07:46 PM   #2
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
which mail package do you have installed? If it's sendmail, which version is it?
 
Old 04-11-2001, 11:11 PM   #3
aethereal
Member
 
Registered: Dec 2000
Location: Seattle
Distribution: Red Hat 8.0
Posts: 41

Original Poster
Rep: Reputation: 15
I have sendmail installed. It is version 8.9.3-20.

As someone suggested, I did try the following:
echo $MAIL
It returned:
/var/spool/mail/[username]
as expected. So that seems to be fine.

Btw, I did learn the reason why one user, in particular, is unable to be the addressee of any mail. Red Hat Linux is fine with a username that includes an uppercase letter, but sendmail is not.

Thanks for your help,
Ben
 
Old 04-11-2001, 11:18 PM   #4
aethereal
Member
 
Registered: Dec 2000
Location: Seattle
Distribution: Red Hat 8.0
Posts: 41

Original Poster
Rep: Reputation: 15
Just one more interesting piece of information:

I scanned the archives of linux.redhat.misc for any problems similar to this, and ~indeed~, others have experienced this same problem as well (i.e., mail properly stored at /var/spool/mail/[username], yet mail indicates no messages), but unfortunately, no one appears to have ever offered a definitive explanation or solution for this problem.

I re-posted my question to that newsgroup on Monday as well, hoping that someone would know how to solve this problem.

Thanks,
Ben
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 - Newbie

All times are GMT -5. The time now is 11:26 PM.

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