Re: I have mail, but where?

2009-12-23 Thread Andrea Venturoli

Steve Randall ha scritto:

No mail for  andrea


Are there really two spaces in a row there? That's a vital clue.


Sure. I noticed that too, but though it might be normal.




For
some reason your 'USER' environment variable is set to ' andrea' (with a
leading space). Then .cshrc sets the 'mail' shell variable to
'(/var/mail/ andrea)'. That's now a list with two elements. Since the
first is a directory, csh counts the files in it, assuming they are
messages.

Since you don't have this problem with console logins, look for a
configuration error in your GUI login manager.


This is interesting...
Unfortunately (or luckily), today that message does not appear anymore, 
so I can't check.

If it does, I'll try your suggestion.



 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have mail, but where?

2009-12-23 Thread Boris Samorodov
On Wed, 23 Dec 2009 09:05:04 +0100 Andrea Venturoli wrote:
 Steve Randall ha scritto:

  No mail for  andrea
  Are there really two spaces in a row there? That's a vital clue.
 Sure. I noticed that too, but though it might be normal.
  For
  some reason your 'USER' environment variable is set to ' andrea' (with a
  leading space). Then .cshrc sets the 'mail' shell variable to
  '(/var/mail/ andrea)'. That's now a list with two elements. Since the
  first is a directory, csh counts the files in it, assuming they are
  messages.
 
  Since you don't have this problem with console logins, look for a
  configuration error in your GUI login manager.
 This is interesting...
 Unfortunately (or luckily), today that message does not appear
 anymore, so I can't check.

Which message are you talking about? Is it a message You have new
mail? The latter shows only once if there is a new mail. The system
doesn't prompt you when there is unread mail. So you should actually
read (and delete, save, etc.) your mail.

-- 
WBR, bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


I have mail, but where?

2009-12-22 Thread Andrea Venturoli

Hello.

This evening something new appeared on my box.
When I open an xterm or a KDE shell, I get:
You have 10 mail messages in /var/mail/.

This does not happen when I login on ttyvX.

Nothing mail related is on this box (apart from KMail and Thunderbird) 
and ls -l /var/mail gives only zero size files, none of which is named 
after me.


My home is NFS mounted on a mail server, but that uses Cyrus IMAP, so, 
again, nothing relevant is in /var/mail even there.


Where do I look?

This is no stopper, but I'm just curious...

 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have mail, but where?

2009-12-22 Thread APseudoUtopia
On Tue, Dec 22, 2009 at 4:55 PM, Andrea Venturoli m...@netfence.it wrote:
 Hello.

 This evening something new appeared on my box.
 When I open an xterm or a KDE shell, I get:
 You have 10 mail messages in /var/mail/.

 This does not happen when I login on ttyvX.

 Nothing mail related is on this box (apart from KMail and Thunderbird) and
 ls -l /var/mail gives only zero size files, none of which is named after
 me.

 My home is NFS mounted on a mail server, but that uses Cyrus IMAP, so,
 again, nothing relevant is in /var/mail even there.

 Where do I look?

 This is no stopper, but I'm just curious...

  bye  Thanks
        av.

Type mail

man 1 mail

FreeBSD has a daily cron security and status script that run and send
email to root (which then is usually redirected to another user's
account). This is probably what is sending the emails - check it and
see.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have mail, but where?

2009-12-22 Thread Andrea Venturoli

APseudoUtopia ha scritto:

Type mail


You have 10 mail messages in /var/mail/.
%mail
No mail for  andrea
%


I had already tried that, but AFAIK mail reads from /var/mail/andrea and 
that file is not there (in spite of the above message).







FreeBSD has a daily cron security and status script that run and send
email to root (which then is usually redirected to another user's
account). This is probably what is sending the emails - check it and
see.


These are redirected to my mail server, which is another box.
Besides, as you can see, I'm not experiencing this on my root account.



 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have mail, but where?

2009-12-22 Thread Ed Jobs
On Wednesday 23 December 2009 00:50, Andrea Venturoli wrote:
 I had already tried that, but AFAIK mail reads from /var/mail/andrea and
 that file is not there (in spite of the above message).

In my box, there is the ~/mbox file that has the messages in it. you can check 
out if it exists...

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Re: I have mail, but where?

2009-12-22 Thread Steve Randall
On Tue, 22 Dec 2009 23:50:54 +0100
Andrea Venturoli m...@netfence.it wrote:

 APseudoUtopia ha scritto:
  Type mail
 
 You have 10 mail messages in /var/mail/.
 %mail
 No mail for  andrea

Are there really two spaces in a row there? That's a vital clue. For
some reason your 'USER' environment variable is set to ' andrea' (with a
leading space). Then .cshrc sets the 'mail' shell variable to
'(/var/mail/ andrea)'. That's now a list with two elements. Since the
first is a directory, csh counts the files in it, assuming they are
messages.

Since you don't have this problem with console logins, look for a
configuration error in your GUI login manager.

HTH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have mail, but where?

2009-12-22 Thread Andrea Venturoli

Ed Jobs ha scritto:

In my box, there is the ~/mbox file that has the messages in it. you can check 
out if it exists...


Nope.

 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org