🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49028

Re: [slrn] mail aliases

#49028
From: Jan Hlavacek
Date: Wed, 02 Jun 1999 00:00
52 lines
3006 bytes
On 2 Jun 1999 11:08:11 GMT, Renaud Colinet <colinet@beige4.ensta.fr>
wrote:
> Le 01 Jun 1999 13:13:43 +0200, Michael Burkhard a ecrit:
> >colinet@beige3.ensta.fr (Renaud Colinet) writes:
> >
> >> I often forward articles to friends, and for that I always have to write the
> >> whole address of the recipient. I have found nowhere in the manual any 'alias'
> >> functionnality such as the ones I have with mail agents. Is there any way I can
> >> get slrn to use predefined aliases, or should I consider having this job done
> >> by my editor ?
> >
> >You need an editor which use alias functions.
> >I use vim as my editor for slrn posts and mails and this entries in
> >~/.vimrc:
> >
> >"  My addresses (Email and WWW)
> >"
> >  ab    mail1      Frank.Smith@nowhere.com
> >  ab    mail2      Ilona.Smith@nowhere.com
> OK, I also use vim with slrn and mutt, but the expansion won't work when slrn
> prompts me for the recipient, unless I get vim to expand my abbreviations when
> started from slrn (I think I could hack something for that purpose). And the
> other thing is, I've got a handy mutt-aliases file, and I wished I didn't have
> to recreate these aliases for slrn (yes, that's pure laziness :-))

First of all, sorry for the e-mail copy. I want to see if it works.  So
if you get this cc'd to you then it works.

If it does, then you can use mutt instead of sendmail.  Use this very
simple script, call it mysmail:

#! /bin/sh
cat > /tmp/$$.ltr
mutt -H /tmp/$$.ltr
rm /tmp/$$.ltr

and add the following line to your .slrnrc:

set sendmail_command "/path/to/mysmail"

It seems to be working for me.

It actually doesn't use mutt "instead" of sendmail, but rather adds mutt
as an extra layer between slrn and sendmail.

-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Technical Details
Message-ID: <slrn7lb4lt.4t1.lahvak@math.mps.ohio-state.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn7l7du1.g3j.colinet@beige3.ensta.fr> <mburkhardm3n1ykb2c8.fsf@bin.dig-it-ngd.de> <slrn7la44q.bth.colinet@beige4.ensta.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7lb4lt.4t1.lahvak@math.mps.ohio-state.edu>
Subject: Re: [slrn] mail aliases
Date: Wed, 02 Jun 1999 00:00:00 +0000
From: lahvak@math.mps.ohio-state.edu (Jan Hlavacek)
References: <slrn7l7du1.g3j.colinet@beige3.ensta.fr> <mburkhardm3n1ykb2c8.fsf@bin.dig-it-ngd.de> <slrn7la44q.bth.colinet@beige4.ensta.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 484996649
X-Complaints-To: usenet@math.ohio-state.edu
X-Trace: mathserv.mps.ohio-state.edu 928355002 11071 128.146.111.30 (2 Jun 1999 20:23:22 GMT)
Organization: Department of Mathematics, The Ohio State University
User-Agent: slrn/0.9.5.5 (UNIX)
Reply-To: lahvak@math.mps.ohio-state.edu
NNTP-Posting-Date: 2 Jun 1999 20:23:22 GMT
Newsgroups: news.software.readers