🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #180330

Re: [slrn] getting a customized From-header in e-mail

#180330
From: Neil Woods
Date: Wed, 08 Feb 2006 23:48
44 lines
2819 bytes
On Wed, Feb 08 2006, Adam Funk wrote:

> On 2006-02-07, SINNER <arcade.master@gmail.com> wrote:
>> * Adam Funk wrote in news.software.readers:
>>
>>> When I want to forward an article by e-mail and edit the e-mail
>>> before sending it, slrn opens it correctly in the editor.  But when
>>> I type a From header in, slrn seems to delete it before piping it to
>>> my MTA, which adds the default From header for my account.
>>>
>>> How can I configure slrn to leave the custom From header in?  (I
>>> know slrn is deleting the header because if I save the e-mail to
>>> another file and pipe it to the MTA, the custom From header gets
>>> through.)
>>>
>>
>> So you have set reply_custom_headers set in your slrnrc?
>
> No, because -- as I understand it -- that would set one fixed From
> header for all e-mail replies.  I want to be able to manually add the
> From header in the external editor so I can use sometimes my home and
> sometimes my work address.

You might want to look at the generate_email_from variable. From the
manual (section 6.38)

  If non-zero, a ``From:'' header line is generated when sending email.
  On Unix systems, this is usually not necessary, because the MTA will
  do the job for you and might even be configured to reject messages
  that already have a ``From:'' header.

  This variable defaults to 0, except on Windows and OS/2, where this
  feature is turned on by default. Its value cannot be changed when
  SLRN_HAS_STRICT_FROM was enabled at compile time (default is off).

So it sounds like putting

set generate_email_from 1

in your ~/.slrnrc should do what you want.

-- 
Neil.
Given sufficient time, what you put off doing today will get done by itself.
Technical Details
Message-ID: <87vevpcsyi.fsf@phun.phasmic.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <mqpmb3-cno.ln1@news.ducksburg.com> <Xns9763A7FF0471Flouiscypherhellorg@140.99.99.130> <i9pob3-vta.ln1@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <87vevpcsyi.fsf@phun.phasmic.org>
Subject: Re: [slrn] getting a customized From-header in e-mail
Date: Wed, 08 Feb 2006 23:48:53 +0000
From: Neil Woods <cnw+usenet@pobox.com>
References: <mqpmb3-cno.ln1@news.ducksburg.com> <Xns9763A7FF0471Flouiscypherhellorg@140.99.99.130> <i9pob3-vta.ln1@news.ducksburg.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!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: (TINO)
Lines: 44
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net MAJmr+Vqe5kqbTWx6KHyoAntTEgS+aKr9Hww6gxGrKeAbCUODS
Mail-Copies-To: nobody
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:4JWP6g7DeleDX1Ht7yEo6JJC37M=