Subject: Re: changing "from" address

From: [email-masked] (Georg Schwarz)
Date: 13 Nov 1996 21:18:44 GMT

Rob Newberry <[email-masked]> writes:

>I have an account login of "rob", but I have an alias that I
>would prefer to use as my "return address".  That is, currently,
>my outgoing mail says

>	[email-masked]

>but I would like to change it so it says

>	[email-masked]

>I already have the alias configured in sendmail so that if someone sends 
>mail to "[email-masked]", it will work fine.  But I can't seem 
>to get elm or pine to let me set up my return address as this -- Eudora 
>on PCs and Macs allow me to.  Is there some way to do this with either 
>elm or pine?  Thanks!
 There is in fact an easy way to do it with elm (and a similar way to do
it with pine, but AFAIK pine must be specifically compiled to allow
changing your address).
I'll give an exaple of how I do it with elm:
On the machine I normally use elm on, lorenz.physik.tu-berlin.de, I have
the login name schwarz, so my "generic" address would be
[email-masked]. I do prefer however to use the address
[email-masked], so I created the file ~/.elm/elmheaders and
put in the following line:

  From: Georg Schwarz <[email-masked]>

I also put in

  Reply-To: [email-masked]

but that should not be necessary. The same way you can add other header
lines like Organziation and so on. BTW, you can do similar things with nn
and probably most other newsreaders as well.
-- 
Georg Schwarz ([email-masked], [email-masked], PGP 2.6ui)
Institut für Theoretische Physik  +49 30 314-24254   FAX -21130  IRC kuroi
Technische Universität Berlin            http://home.pages.de/~schwarz/

---

From: Diethard Ohrt <[email-masked]>
Date: Thu, 14 Nov 1996 08:09:29 +0100 (MET)

On 13 Nov 1996, Georg Schwarz wrote:

[>Rob Newberry <[email-masked]> writes:
[>
[>>I have an account login of "rob", but I have an alias that I
[>>would prefer to use as my "return address".  That is, currently,
[>>my outgoing mail says
[>
[>>	[email-masked]
[>
[>>but I would like to change it so it says
[>
[>>	[email-masked]
[>

[...]

[>[email-masked]. I do prefer however to use the address
[>[email-masked], so I created the file ~/.elm/elmheaders and
[>put in the following line:
[>
[>  From: Georg Schwarz <[email-masked]>
[>
[>I also put in
[>
[>  Reply-To: [email-masked]
[>
[>but that should not be necessary. [...]

Also, if you set the user-domain in your pine setup, this will be used to
complete your address -- and there's also the feature use-domain-only (or
similar). But it is always a good idea to set the "Reply-To:" header.

Cheers,
Diti
      _/_/    _/    _/  _/_/_/    _/_/_/_/                  _  __------ \
   _/    _/  _/    _/  _/    _/     _/                     | --          \
  _/    _/  _/_/_/_/  _/_/_/       _/                     |_              \
 _/    _/  _/    _/  _/   _/      _/                        | ___-\   o   |
  _/_/    _/    _/  _/    _/     _/                        /_/     |      |
                                                                    |__---|
                                  Steiermark - das gruene Herz Oesterreichs
                                        Styria - the green heart of Austria
                                          Styrie - le coeur vert d'Autriche
===========================================================================
Diethard Ohrt                                       SIEMENS AG / PSE TMN G1
[email-masked]                       A-8054 Graz     Austria
[email-masked]    http://www.siemens.at/~psem/pse/de/psehomep.htm
===========================================================================

---

From: [email-masked] (Bill Pemberton)
Date: Thu, 14 Nov 1996 18:49:07 GMT

In article <[email-masked]>,
>  From: Georg Schwarz <[email-masked]>

Be aware that this won't work at many sites that use sendmail.
Sendmail is typically configured to overwrite the From: header.

--
Bill

---

From: [email-masked] (Sven Guckes)
Date: 13 Nov 1996 21:38:39 GMT

[email-masked] (Rob Newberry):
> I have an account login of "rob", but I have an alias
> that I would prefer to use as my "return address".

http://www.math.fu-berlin.de/~guckes/elm/reply-to.html

Sven

-- 
Sven Guckes [email-masked] [960930]
ELM - the "Easy Learn Mail" program. Newsgroup: comp.mail.elm [sig.elm]
ELM - Read the "ELM Pages":   http://www.math.fu-berlin.de/~guckes/elm/
ELM Info on ELMME+ patch: http://www.math.fu-berlin.de/~guckes/elm/patches/#pgp
ELM Latest  ELMME+ patch: ELM2.4ME+PL28 [960930] (based on ELM2.4PL24ME8b+)
ELM Latest  ELM    alpha: ELM2.5a11     [960809] ELM testers please check this!
ELM Latest  ELM  release: ELM2.4PL25    [951204] patch25 fixes security bug!
ELM Latest  ELMPGP patch: ELMPGP6       [95????] "Supported".

---

From: [email-masked] (Mike Berger)
Date: Thu, 14 Nov 1996 15:27:02 -0400

In article <[email-masked]>,

> http://www.math.fu-berlin.de/~guckes/elm/reply-to.html

My problem is similar. I need to add a "from:" header line, which I do now
using the manual "headers:user..." technique. Looking at your reply-to.html
page, I saw your description of the "elmheaders" file. My .elm directory
does not contain such a file. Basically, I want the header change to be
universal and permanent, so changing the elmheaders file sounds like the
solution, but do I need to create the file myself or can I download a
template from somewhere? Thanks,
   --Mike

---

From: [email-masked] (Sven Guckes)
Date: 15 Nov 1996 12:15:45 GMT

[email-masked] (Mike Berger):
> page, I saw your description of the "elmheaders" file.
> My .elm directory does not contain such a file.
> Basically, I want the header change to be universal and permanent, so
> changing the elmheaders file sounds like the solution, but do I need to
> create the file myself or can I download a template from somewhere?

No.  Just create the file with any editor.  Or just use echo:

	echo From: Mike Berger \<[email-masked]\> > $HOME/.elm/elmheaders

If you need an example then take a look at mine:

	http://www.math.fu-berlin.de/~guckes/elm/elmheaders

MUTT users can do this via the muttrc (no extra file required):

	my_hdr From: [email-masked] (Sven Guckes)
	my_hdr X-Mailer-Info: http://www.math.fu-berlin.de/~guckes/mutt/

Or is you use header editing then just add anything to your header.  :-)

Sven

-- 
Sven Guckes [email-masked] using MUTT 0.50   [961108]
 ,,   WOOF! http://www.math.fu-berlin.de/~guckes/mutt/
.'\___)     http://www.math.fu-berlin.de/~guckes/mutt/vs.elm.html
  /|  |\    http://www.math.fu-berlin.de/~guckes/mutt/pictures.html

---

From: [email-masked] (Georg Schwarz)
Date: 14 Nov 1996 08:38:13 GMT

>similar). But it is always a good idea to set the "Reply-To:" header.

but doesn't changing the user domain mean that *any* local user is assumed
to have such an address? Suppose you are using the host host.my.org and
set the user domain to my.org so your address in pine becomes [email-masked]
(if your login is me). However, suppose you write a mail to root, will
pine not automatically assume that you're sending that mail to [email-masked]
instead of [email-masked]?
-- 
Georg Schwarz ([email-masked], [email-masked], PGP 2.6ui)
Institut für Theoretische Physik  +49 30 314-24254   FAX -21130  IRC kuroi
Technische Universität Berlin            http://home.pages.de/~schwarz/