🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257245

Re: tin: 'you have mail'

#257245
From: Bruce Esquibel
Date: Wed, 09 Apr 2014 13:12
26 lines
2089 bytes
alb <al.basili@gmail.com> wrote:

> I have no environment variable named MAIL...( 'env | grep MAIL' shows 
> nothing ).

> Any other idea?

I think (but not sure) a path can be defined at build time, if none is found,
then it uses the environment variable. Else the variable overrides the built
in default.

So it checks either /var/mail or /var/spool/mail for a file matching the
username that is running it (/var/mail/bob) and if the time stamp on it is
larger than the last time it checked it, it prints the "You Have Mail"
thing.

There is no way to read it in tin anyway, you have to escape it using the !
then type whatever mail program is available, elm, pine, alpine. When you
quit that, it'll return to exactly where you were before the shell escape.

But if the mail you get isn't being delivered to the machine you are running
tin on, it's just probably reading /tmp or something and the message is in
error.

-bruce
bje@ripco.com
Technical Details
Message-ID: <li3h08$1in$1@remote5bge0.ripco.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.ripco.com!not-for-mail
References: <bqkglfF99nhU3@mid.individual.net> <g7jf1bxf22.ln2@perseus.wenlock-data.co.uk> <bqkq3mFb9f3U1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <li3h08$1in$1@remote5bge0.ripco.com>
Subject: Re: tin: 'you have mail'
Date: Wed, 09 Apr 2014 13:12:40 +0000
From: Bruce Esquibel <bje@ripco.com>
References: <bqkglfF99nhU3@mid.individual.net> <g7jf1bxf22.ln2@perseus.wenlock-data.co.uk> <bqkq3mFb9f3U1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.ripco.com!not-for-mail
Newsgroups: news.software.readers
Organization: Ripco Communications Inc.
Lines: 26
NNTP-Posting-Host: shell3.ripco.com
X-Trace: remote5bge0.ripco.com 1397049160 1623 66.251.253.170 (9 Apr 2014
X-Complaints-To: usenet@ripco.com
NNTP-Posting-Date: Wed, 9 Apr 2014 13:12:40 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.10
 (i86pc))
X-Original-Bytes: 1791