🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70462

Re: [trn] How do I set my email address on the "from:" line

#70462
From: Rob Wheatley
Date: Sat, 13 Jan 2001 20:44
41 lines
2756 bytes
In article <93q2ru$vmb$1@riva.ucam.org>,
Colin Watson <cjw44@flatline.org.uk> wrote:
>Rob Wheatley <rwheatle@ucalgary.ca> wrote:
>>In article <93md0o$ksm$1@slb6.atl.mindspring.net>,
>>Clay Blankenship <clay@mindspring.com> wrote:

>>>I managed to compile trn under Cygwin to run on Windows 95.  However,
>>>it somehow assumed my email address is clay@mindspring.com when it
>>>is really snoweel@mindspring.com.  How do I tell it what my 
>>>address is?  Thanks.

>>I can't quite remember how I solved this problem, but I think the following
>>works:

>>1.  Compile with the compiler flag:  -DLAX_INEWS

>Interesting - I didn't know about that flag. From a quick inspection, it
>looks like it only helps with usernames differing, not hostnames (but
>unless you're a packager you can hardcode the latter correctly at
>Configure-time).

>If MSDOS is defined (-DMSDOS, if necessary), then LAX_INEWS will be
>automatically defined. I'm not sure if setting MSDOS is a good idea
>under Cygwin, though.

Hmm.  So much for my memory.  I thought that  LAX_INEWS had to be defined
before trn would check the environment variable USER.  However, this 
appears to be wrong.  Simply setting USER is sufficient.

So, does setting USER=snoweel produce the correct email address on your
system?

BTW - I believe trn tries to build email addresses based on your account 
name.  On Unix systems, this process works.  However, under Windows, the 
account name is not usually part of the email address.

Rob Wheatley
rwheatle@ucalgary.ca


Technical Details
Message-ID: <c1.2b8.2Yxb2r$02K@blackadder.ucalgary.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!rover.ucs.ualberta.ca!news.ucalgary.ca!blackadder.ucalgary.ca!not-for-mail
References: <93md0o$ksm$1@slb6.atl.mindspring.net> <c1.2b8.2YwxDK$02G@blackadder.ucalgary.ca> <93q2ru$vmb$1@riva.ucam.org>

Show Full Headers
Complete Article Headers
Message-ID: <c1.2b8.2Yxb2r$02K@blackadder.ucalgary.ca>
Subject: Re: [trn] How do I set my email address on the "from:" line
Date: Sat, 13 Jan 2001 20:44:52 GMT
From: rwheatle@ucalgary.ca (Rob Wheatley)
References: <93md0o$ksm$1@slb6.atl.mindspring.net> <c1.2b8.2YwxDK$02G@blackadder.ucalgary.ca> <93q2ru$vmb$1@riva.ucam.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!rover.ucs.ualberta.ca!news.ucalgary.ca!blackadder.ucalgary.ca!not-for-mail
Newsgroups: news.software.readers
Organization: University of Calgary
Lines: 40
NNTP-Posting-Host: @123-110.dialup.ucalgary.ca
X-Trace: nserve1.acs.ucalgary.ca 979426050 21228 136.159.123.110 (13 Jan 2001 22:47:30 GMT)
X-Complaints-To: news@ucalgary.ca
NNTP-Posting-Date: 13 Jan 2001 22:47:30 GMT
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: rwheatle@ucalgary.ca (Rob Wheatley)