Article View: news.software.readers
Article #178703Re: tin "new mail" reporting
From: Urs Janßen
Date: Mon, 02 Jan 2006 19:02
Date: Mon, 02 Jan 2006 19:02
39 lines
2766 bytes
2766 bytes
In <43b81766$0$86724$dbd4b001@news.wanadoo.nl>, Frank Slootweg wrote: > > the users default mail-spool (e.g. /var/mail/$USER) > [deleted] > > it checks the mtime of the users default mail-spool > [deleted] > BTW, where is this documented? [doc/INSTALL] --with-mailbox=PATH (default: empty) Define the directory for incoming mailboxes. If none is given, /var/spool/mail, /usr/spool/mail, /var/mail, /usr/mail, and /mail are checked automatically. > Does it really use $USER? no, it relies on $MAIL or struct passwd->pw_name (so setting $MAIL to something wrong should help). > The reason I'm asking is that I can't find the string "USER" (except > for "AUTHINFO USER %s") in the tin executable which I used to run on > UNIX/HP-UX (which did *not* say "You have mail"). The executable > contains "You have mail" and contains "/var/mail" (which HP-UX > used/uses). IIRC, HP-UX did/does not use USER but LOGNAME, so that would if new mail is stored in mbox format below /var/mail/yor_login and tin is build with that path (check include/autoconf.h after running configure) it should work. > explain why I never saw "You have mail", BUT if the executable does not > contain "USER" then how does it check /var/mail/$USER? So I still don't > understand. I used $USER as a shorthand for getpwnam(); passwd->pw_name. urs -- Jef Poskanzer: "When people aren't stupid Usenet is even more useful. Too bad this happens so rarely."
Technical Details
Message-ID:
<dpbtbd$2vs$1@news2.rz.uni-karlsruhe.de>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mailReferences:
<dp3hpo$m3r$1@reader2.panix.com> <dp4c6j$5ko$1@news2.rz.uni-karlsruhe.de> <43b6ee77$0$195$dbd41001@news.wanadoo.nl> <dp7iq2$mmh$1@news2.rz.uni-karlsruhe.de> <43b81766$0$86724$dbd4b001@news.wanadoo.nl>Show Full Headers
Complete Article Headers
Message-ID: <dpbtbd$2vs$1@news2.rz.uni-karlsruhe.de>
Subject: Re: tin "new mail" reporting
Date: Mon, 02 Jan 2006 19:02:05 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <dp3hpo$m3r$1@reader2.panix.com> <dp4c6j$5ko$1@news2.rz.uni-karlsruhe.de> <43b6ee77$0$195$dbd41001@news.wanadoo.nl> <dp7iq2$mmh$1@news2.rz.uni-karlsruhe.de> <43b81766$0$86724$dbd4b001@news.wanadoo.nl>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Lines: 39
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news2.rz.uni-karlsruhe.de 1136228525 3068 172.22.9.237 (2 Jan 2006
X-Complaints-To: usenet@rz.uni-karlsruhe.de
NNTP-Posting-Date: Mon, 2 Jan 2006 19:02:05 +0000 (UTC)
X-No-Archive: yes
User-Agent: tin/1.8.0-20051228 ("Ronay") (UNIX) (Linux/2.6.11-1-686 (i686))