Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Mailcheck not showing new mail



Bill Horne wrote:
> I'm calling "mailcheck -cs " from my login script...

I presume this mailcheck:
http://manpages.ubuntu.com/manpages/precise/man1/mailcheck.1.html

(There seem to be several tools with that name.)


> ...but it is reporting "No new mail" when it shouldn't be.
>
> You have new mail in /var/mail/moder8
> moder8 at telecom:~$ mailcheck -cs
> No new mail.
>
> My .mailcheckrc file has my home mailbox listed.

The first message, presumably produced by 'mail', is reported on your
spool file, not Maildirs in your home directory. You say .mailcheckrc
specifies your "home mailbox." What exactly do you mean by that?

To match 'mail' I'd expect it to be:
/var/mail/$(USER)

Also check to see if /etc/mailcheckrc exists and see what it points to.
(If it does not already, it should probably contain a path, as I show
above, that matches the convention of where inboxes are stored on your
system.)

 -Tom

-- 
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org