🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #36193

Re: Slrn: altering "From" line in email replies

#36193
From: Sylvain Robitaille
Date: Mon, 22 Sep 1997 00:00
58 lines
2975 bytes
On 16 Sep 1997 10:38:37 GMT, Craig Werner <Wernercg@viking.cris.com> wrote:
> Sylvain Robitaille <sp_robi@alcor.concordia.ca> wrote:
> >Unless I'm mistaking, the Username and Hostname entries in .slrnrc will form
> >the From: line of both Usenet posts, and email replies. This is certainly
> >for the machine I'm posting from at the moment.
> 
> Sylvain, it works differently from my machine.
> 
> Here on cris.com, we have two domain names, either cris.com or
> concentric.net.  The .slrnrc line
> 
> hostname "cris.com"
> 
> assures that my public posts go out as "wernercg@cris.com", but it does
> not have this effect on email replies, which go out as
> "wernercg@concentric.net" by default.

Hrmmm... I just checked this again on my machine, and it seems I was wrong.
(Ok, let's at least *pretend* to be a *little* surprised!)

From what I can gather, the From: line of email messages is dependant
entirely on the mail transport agent, (ie.: sendmail). My machine actually
sends email replies as being From: syl@Elvira.home (which is a bogus
address), not From: username@hostname, as I expected.  :-(

So now, I think the answer to your question lies in /etc/sendmail.cf...

> The only work-around that I have found since posting my original question
> is to use the line
> 
> set reply_custom_headers "wernercg@cris.com"
> 
> in my .slrnrc file.
> Anyone know if I'm using the right approach?

I don't think so... Does this work?  (If it does, then yes, I'd say you have
the right approach, but I'd be surprised).

> BTW, setting the "hostname" to "concentric.net" using the line
> 
> hostname "concentric.net
> 
> produces posts from "concentric.net".  That's how I know the "hostname"
> variable governs posts from this machine.

What do the posts say if you don't set hostname at all? (They would use the
actual name of the machine)

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca

Assistant to the System Managers                  Concordia University
Computing Services Department                 Montreal, Quebec, Canada
----------------------------------------------------------------------

Technical Details
Message-ID: <slrn62c1pv.b1a.syl@Elvira.home>
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!not-for-mail
References: <slrn6116du.18b.Wernercg@voyager.cris.com> <slrn61saod.183.sp_robi@Elvira.home> <slrn61sodd.iud.Wernercg@viking.cris.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn62c1pv.b1a.syl@Elvira.home>
Subject: Re: Slrn: altering "From" line in email replies
Date: Mon, 22 Sep 1997 00:00:00 +0000
From: syl@alcor.concordia.ca (Sylvain Robitaille)
References: <slrn6116du.18b.Wernercg@voyager.cris.com> <slrn61saod.183.sp_robi@Elvira.home> <slrn61sodd.iud.Wernercg@viking.cris.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.mbox.zip!not-for-mail
X-Deja-AN: 274414019
Organization: Concordia University, Montreal, Quebec, Canada
NNTP-Posting-User: syl
Newsgroups: news.software.readers