Article View: comp.mail.misc
Article #5380Re: signature
From: Jonathan Knight
Date: Fri, 19 May 1989 12:46
Date: Fri, 19 May 1989 12:46
36 lines
1882 bytes
1882 bytes
From article <196@eltek.jakgym.se>, by obg@eltek.jakgym.se (Olof Backing):
> In article <225@berlioz.nsc.com> atluri@berlioz (Venkata R. Atluri) writes:
>>
>>Can somebody tell me if there is an automatic way to read in the
>>signature.....
>
> It depends on what kind of program that you're using. The standard
> mail/mailx doesn't handle automatic signaturefiles.....
Not so! It just takes a little more time to set up.
This is for ucb mail but I believe it works for mailx as well.
I had (before I started using ELM) a .mailrc which had the line
set sendmail=/fs/cs/jonathan/bin/mailsign
which tells mail to use my mailsign program to deliver the mail
and not /usr/lib/sendmail. The mailsign program looked like this:
#! /bin/sh
# This shell script will add by .signature file onto mail
# in the same way its done for my postings.
(cat; \
echo ''; \
cat $HOME/.signature ) | /usr/lib/sendmail $*
which as you can see copies the mail, a blank line, and then my
signature into sendmail which is called with the normal argument
list. Does the job very well, it can also be used to add header
lines by 'echo'ing the header before doing the 'cat'.
--
______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight,
/ BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science
/ _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele,
(_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.
Technical Details
Message-ID:
<608@kl-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!kl-cs!jonathanReferences:
<196@eltek.jakgym.se>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!kl-cs!jonathan From: jonathan@cs.keele.ac.uk (Jonathan Knight) Newsgroups: comp.mail.misc Subject: Re: signature Message-ID: <608@kl-cs.UUCP> Date: 19 May 89 12:46:05 GMT References: <196@eltek.jakgym.se> Organization: University of Keele, England Lines: 36