🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #2176

Re: Appending .sig to outgoing email automatically

#2176
From: DWT
Date: Sat, 07 Nov 1992 19:34
27 lines
1814 bytes
jdhossei@nyx.cs.du.edu (Joshua Hosseinoff) wrote in
<1992Nov6.001501.21652@mnemosyne.cs.du.edu>:

| This may sound like a naive question, but how can one get the
| mailx program in the Korn Shell to automatically append
| a .sig file to every outgoing message?  I know
| about using ~(tilde)r .sig to include the file manually, but
| is there any way that this can be made automatic when i press
| ^D or . on a blank line?  Do i have to add something to
| my .mailrc file?  Any help would be appreciated.

It can be a little easier: define the variable $sign to contain the text of
your signature [for example, sign="`cat /path/to/sigfile`" ; export sign
in your .profile or set sign = "{entire text of your signature}" in your
.mailrc].  Then ~a will append it to your outgoing letter.  It's still not
automatic, but it's an improvement over typing out the name of the signature
file, especially when it's in a different directory from the one in which you
started mailx.

Note that the sign variable must contain the text itself, not the name of a
file containing the text.  You can have a second signature available by
defining the variable Sign; you append $sign with ~a and $Sign with ~A.

It's in the manual pages.

David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
Technical Details
Message-ID: <BxD2EA.2zs@ddsw1.mcs.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
References: <1992Nov6.001501.21652@mnemosyne.cs.du.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
From: dattier@ddsw1.mcs.com (DWT)
Subject: Re: Appending .sig to outgoing email automatically
Message-ID: <BxD2EA.2zs@ddsw1.mcs.com>
Date: Sat, 7 Nov 1992 19:34:57 GMT
References: <1992Nov6.001501.21652@mnemosyne.cs.du.edu>
Organization: Contributor Account at ddsw1, Chicago, Illinois  60657
Lines: 27