How to get a SIGNATURE on your mail
If you want your signature appear in the From: field in the message, as
in:
From: Joe Schmoe <schmoe@somewhere.edu>
then add the following line to your ~/.mh_profile file:
Signature: Joe Schmoe
If you want your message appear at the end of the message, as in:
-----------
Joe Schmoe (617)555-12-12
77 Massachusetts Av.
room 6-120
Cambridge, Ma 02139
it will take a little more work. There is a file called "components"
that keeps the information that you should be prompted for and the
contents of the mail template. So if you add your signature there,
you'll be set. To do that, type:
cp /usr/athena/etc/components ~/Mail
chmod 755 ~/Mail/components
That will copy the default components file to your ~/Mail directory.
Next, you'll need to edit it. Type at the athena% prompt:
emacs ~/Mail/components
and at the end of the message insert the signature, so that the file
looks like this:
To:
cc:
Subject:
--------
-----------
Joe Schmoe (617)555-12-12
77 Massachusetts Av.
room 6-120
Cambridge, Ma 02139
Note that the dashed line before the signature is necessary! If you
don't put the line there, the mail handler will become confused. You
may also wish to make a similar change to the "forwcomps" file in the
same directory (in fact, you can copy the components file). This will
then allow you to have your signature on forwarded mail as well.
In addition to the components file, you can also alter the
"~/Mail/replfilter" file if you want your signature included when you
use "repl".
The replfilter file needs to have the following format; be sure to
start each line with a colon:
:
: Your name and address
: Some Funny Saying
: Some Serious information
: Some Standard Disclaimer
To tell "repl" to use it type:
repl -filter replfilter ##
when replying to message number ##. If you would like this to happen by
default, add the following line to your ~/.mh_profile file:
repl: -filter replfilter
(Last updated on 11/14/98)
|