In Elm, how can I get extra headers on my outgoing mail messages?
Note: The software discussed here is no longer in common use at Indiana University, and UITS may no longer be able to verify the document's accuracy. The UITS Support Center may no longer have the manuals and other materials required to support this software adequately.
Note: Elm is not available on any UITS systems.
In Elm, you can get extra headers on your outgoing mail messages. You need
to create a file in your ~/.elm directory called
elmheaders. This is a plain text file, containing
the headers that you want to include in your outgoing messages. Here
are some example lines:
Reply-To: johndoe@your.internet.address
X-Organization: Your organization
Your department
Your address
X-Phone: (000) 123-4567
X-Telex: 12345 abc de
X-Fax: (000) 987-654
When you send mail from Elm, it automatically appends your
message to the file ~/.elm/elmheaders and then mails the
complete file out to the recipient. You must be certain, however, that
the header names you supply are RFC822 and RFC1341 compliant. The
headers listed above are legal. You can find archived RFCs
at:
http://www.ietf.org/rfc.html
The method described above results in headers that will be included in
all future email from the host in which you have created the
elmheaders file. Elm also provides a mechanism for
adding certain headers to a single message, as follows:
- Compose a message as usual, and after you have quit your editor,
instead of pressing
sto send the message, presshfor Headers.
- You will see Elm's message header edit screen. This screen
presents a number of basic headers that can be changed:
"To:", "Cc:", "Bcc:", "Subject:", "Reply-to:", "Priority:", "Expires",
"Action", "In-reply-to:", and "Precedence". Except for "To:", all of
these are optional, and many will be presented as blank fields.
- Each header name includes a letter that is set off by one or two
parentheses. Type this letter to edit that header. Thus, to add or
change a "P)riority:" header, press
p.
- Type the changes you wish to make, and press
Enter.
- Press
Enteragain to return to the main Elm menu, from which you can presssto send the message.
Last modified on May 13, 2009.







