Subject: HELP: User-id in Pine

From: [email-masked] (Nat Queen)
Date: 04 Apr 95 09:56:20 BST

==============================================================================
I want to change my return e-mail address in the "From:" line that
is placed in outgoing messages by Pine 3.89 on a unix machine.

The problem is that I want to use my "standard" address known to
my university's central mail server (as it appears in the header of
this post), and not my address on that particular computer.  When
people reply to this "standard" address, which is expected to remain
unchanged, I can have the mail forwarded to any computer(s) of my
choice, depending on circumstances.

Pine automatically inserts its own domain name and my user-id on
that computer into my e-mail address.  I can successfully change the
domain of the address by setting the variable "user-domain" in my
personal configuration file.  However, it appears to be impossible
to change the variable "user-id".  According to the Pine Technical
Notes (version 3.91), this can only be done in PC-Pine.

How can I replace my default e-mail address in the "From:" line to
my preferred address?  Any help will be greatly appreciated.

****************************************************************************
* Dr. N.M. Queen                     * Phone: +44 121 414 6590             *
* School of Mathematics & Statistics * Fax:   +44 121 414 3389             *
* University of Birmingham           * E-mail: [email-masked]  *
* Birmingham B15 2TT, England        * PGP public key available on request *
****************************************************************************

---

From: [email-masked] (Christian Mondrup)
Date: 7 Apr 1995 12:37:14 GMT

Nat Queen ([email-masked]) wrote:
: ==============================================================================
: I want to change my return e-mail address in the "From:" line that
: is placed in outgoing messages by Pine 3.89 on a unix machine.

: The problem is that I want to use my "standard" address known to
: my university's central mail server (as it appears in the header of
: this post), and not my address on that particular computer.  When
: people reply to this "standard" address, which is expected to remain
: unchanged, I can have the mail forwarded to any computer(s) of my
: choice, depending on circumstances.

: Pine automatically inserts its own domain name and my user-id on
: that computer into my e-mail address.  I can successfully change the
: domain of the address by setting the variable "user-domain" in my
: personal configuration file.  However, it appears to be impossible
: to change the variable "user-id".  According to the Pine Technical
: Notes (version 3.91), this can only be done in PC-Pine.

: How can I replace my default e-mail address in the "From:" line to
: my preferred address?  Any help will be greatly appreciated.

: ****************************************************************************
: * Dr. N.M. Queen                     * Phone: +44 121 414 6590             *
: * School of Mathematics & Statistics * Fax:   +44 121 414 3389             *
: * University of Birmingham           * E-mail: [email-masked]  *
: * Birmingham B15 2TT, England        * PGP public key available on request *
: ****************************************************************************

Edit the file pine/osdep/os-<your os type>.h thus:

/*----------------------------------------------------------------------
   Define this if you want to allow the users to change their From header
   line when they send out mail.  The users will still have to configure
   either default-composer-hdrs or custumized-hdrs to get at the From
   header, even if this is set.
 ----*/
#define ALLOW_CHANGING_FROM  /* comment out to not allow changing From */

and then recompile Pine. 

Also described in technicla notes

--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+      Christian Mondrup                                                      +
+      UNI-C Aarhus, Danish Computing Centre for Research and Education.      +
+      Olof Palmes Alle 38, DK 8200 Aarhus N.                                 +
+                                                                             +
+      Phone:   +45 86 78 44 44                                               +
+      Telefax: +45 86 78 44 55                                               +
+      E-Mail:  [email-masked]                                    +
+                                                                             +
+      Opinions expressed are mine and do not reflect those of my employer.   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++