View previous topic :: View next topic |
Author |
Message |
ryceck Apprentice
Joined: 13 Jan 2004 Posts: 195
|
Posted: Sun Nov 07, 2004 11:46 pm Post subject: I have got new mail in /root/ ..... but cant find it? |
|
|
I constantly get the message in my Konsole that I have new mail in /root/, but after scanning my root-dir, removing useless dirs and files the message remains.
This is my /root
Code: |
cloud /storage $ l /root
total 28
drwx------ 7 root root 280 Nov 8 00:39 .
drwxr-xr-x 20 ryceck users 456 Oct 24 13:48 ..
-rw------- 1 root root 8738 Nov 7 15:53 .bash_history
drwx------ 18 root root 4216 Nov 7 17:40 .ccache
drwxr-xr-x 3 root root 72 Oct 17 23:35 .distcc
-rw-r--r-- 1 root root 0 Nov 1 23:43 .keep
drwxr-xr-x 2 root root 112 Oct 20 15:20 .lftp
drwxr-xr-x 2 root root 48 Oct 10 23:54 .qt
drwx------ 2 root root 80 Oct 9 13:36 .ssh
-rw------- 1 root root 7084 Nov 8 00:39 .viminfo
-rw------- 1 root root 50 Nov 8 00:39 .xauthNzMni4
|
I have got sendmail installed (god knows why) but since the computer with the problem is a laptop it isnt used.
My /var/mail (/var/spool/mail) is empty so the mail isnt there.
As said the computer is a laptop which is 100% for desktop-use, so no apache, postfix or anything server-like.
What could this be?
After reading the forums ppl came up many times with the `UNSET mail` command, the MAIL-variable is indeed set to /root/ but this doesnt solve the problem. It just makes it stop from notifying me, it still generates/sends the mails.
I want to know why and where that mail is where it is. |
|
Back to top |
|
|
dsegel Tux's lil' helper
Joined: 31 Jan 2003 Posts: 127
|
Posted: Mon Nov 08, 2004 12:18 am Post subject: |
|
|
What do the mail messages say? Are they cron output ot something like that?
You could always do a massive grep for part of the contents. |
|
Back to top |
|
|
C.M Tux's lil' helper
Joined: 14 Mar 2003 Posts: 132 Location: Göteborg - Sweden
|
Posted: Mon Nov 08, 2004 9:57 am Post subject: |
|
|
I've got this problem too. I don't have any mailer installed, but somewhere the $MAIL path get set to /root/. Those annoying "You have new mail." messages, even if you don't have any mail, go away if you "unset MAIL".
Where does this variable get set all the time? I can't find it. |
|
Back to top |
|
|
ryceck Apprentice
Joined: 13 Jan 2004 Posts: 195
|
Posted: Mon Nov 08, 2004 10:00 am Post subject: |
|
|
The problem is I cant find the mail messages., because I dont know where they are.
So I dont know what they say.
Its just annoying that my laptop keeps on screaming that my /root/ has got mail, but that there is no mail to be found |
|
Back to top |
|
|
herbo Tux's lil' helper
Joined: 13 Feb 2004 Posts: 145 Location: Land Of Oz
|
Posted: Mon Nov 08, 2004 12:44 pm Post subject: |
|
|
This bug is probably your problem (tis a problem with 'shadow'):
https://bugs.gentoo.org/show_bug.cgi?id=70101
I had the same issue, but after applying the patch in the bug, that message went away even if the MAIL variable is set. |
|
Back to top |
|
|
ryceck Apprentice
Joined: 13 Jan 2004 Posts: 195
|
Posted: Mon Nov 08, 2004 2:06 pm Post subject: |
|
|
thanx for that one didnt could not it myself @ the bug-central
Gonna try that one and hope it helps |
|
Back to top |
|
|
|