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@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/
_______________________________________________
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to