Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


problem with my mail account.

Posted on 2003-12-05
Medium Priority
Last Modified: 2013-12-27
Hi all,

         I have an account on a solaris server. At the promt I get the message " you have new mail", but when i actually open the mailbox  ( solaris CDE) it is empty, even though it shows that i have a mail.
I think, the new mails are being automatically deleted. How can I reconfigure so that I will be able to see my e-mails.

I have Mail and nsmail folders. Each time I say "ls -l" it shows me total 0, even at the promt of new mail. I do have administrator provelliges on this server.

Question by:mantram
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 51

Expert Comment

ID: 9890039
how do you "open mailbox"?

Author Comment

ID: 9891463
I open my mailbox from the Common Desktop Environment, i,e by clicking on the mailbox icon
LVL 51

Accepted Solution

ahoffmann earned 60 total points
ID: 9891649
sounds like your environment variable MAIL is set impropper.
Please check in a shell:
  echo $MAIL
  ls -l $MAIL

Hopefully mailx shows you you mail. otherwise check with:
  ls -l /var/spool/mail
  ls -l /var/mail
if a file exists with your user name
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 9902150
just type mail on the prompt and you get to read your email once. then dtmail should work.
LVL 51

Expert Comment

ID: 9902612
> .. ust type mail on the prompt and you get to read your email once.
.. if everything is setup propper, which seems not to be here ..

Author Comment

ID: 9903059
1) echo $MAIL shows me /var/mail//mantram (observe the //mantram, is it correct?)

2) and ls -l $MAIL shows me the permissions as

-rw-rw----   1 mantram  mail         318 Oct 11 19:42 /var/mail//mantram

3) and also ls -l /var/mail shows the above permissions

4) And when i say mail actually i am able to read the contents of it.
All it says is

This is a System message.

I think this is the reason why the mail is getting deleted immediately, without allowung me to  see it.

How to change these seetings/configuration so that my mail wont be deleted.

LVL 51

Expert Comment

ID: 9903196
1) ..3) is ok
4) is ok too, but I assume that you're mis-understanding what you read
   the text you see (starting at: Delete ...) is the mail itself
   Solaris' mail command is usually configured to delete all read mails automatically, is this what you're
   wondering about?

try to use mailx instead.
Then also read man pages for mail and mailx.

Anyway, 1) .. 3) proofs that you account is setup propper (means the shell is setup proper for $MAIL).
Now you need to check the properties of your mail icon in CDE

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question