Mailing List Archive

Support open source code!


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

Re: tlug: Mail directory





On Mon, 21 Feb 2000, Stephen J. Turnbull wrote:

>  >>>>> "Darren" == Darren Cook <darren@example.com> writes:
>  
>      Darren> man mail says:
>      Darren>    -u  is equivalent to: mail -f /var/mail/user
>  
>  This looks like a typo.  The traditional location was
>  /usr/spool/mail/$LOGNAME, so it's possible somebody mistyped when
>  updating to /var/spool/mail/$LOGNAME.  All MUAs I've ever seen look
>  there by default.  I've never seen /var/mail/$LOGNAME.
>  
>  

The mail (actually mailx) source I have here gets the user mailbox as

if (!(mbox = getenv("MAIL")))
		(void)sprintf(buf, "%s/%s", _PATH_MAILDIR, user);	

and /usr/include/paths.h defines _PATH_MAILDIR as /var/spool/mail.
This is paths.h labelled @(#)paths.h     5.15 (Berkeley) 5/29/91.

Selva

[*]
bash$ mail -v
Mail version 5.5 6/1/90.  Type ? for help.    

--------------------------------------------------------------------
Next Technical Meeting: March 11 (Sat) 13:00 Temple University Japan
* Topic: "What's new in Perl 5.6"
Guest speaker: Simon Cozens (TLUG Perl guru)
Next Nomikai Meeting:   April 21 (Fri) 19:00 Tengu TokyoEkiMae
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links