Subject: Re: tin : changing From: line To: sandy@herring.org Date: Wed, 5 Feb 1997 22:36:58 +0100 (MET) From: Urko Lusa X-FTN-FLAGS: PVT X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Status: OR In article , you wrote: >BTW, slrn allows you to set the From: header line (as you can see >in this posting :-). That's one of several reasons I switched from >tin. The only thing I miss about tin is being able to use my elm >alias file to do forwards of news articles. I have yet to figure out >how to do that with slrn *sigh*. I don't know if this is what you are looking for, but it's very useful for me. I got it from n.s.r. some time ago. --------------------- newselm -------------------- #!/bin/sh TMPMAIL=$HOME/.newselm.$$ trap "rm -f $TMPMAIL; exit 1" 0 1 2 15 myexec=`awk -v q=\' ' BEGIN{header=1} /^To: /{ to=substr($0,5) sub("[(].*[)]","",to) sub("[ \t]","",to) sub(".*<","",to) sub(">.*","",to) gsub(q,"",to) } /^Subject: /{subj=substr($0,10)} /^$/ && header==1 { gsub(q,"",subj) header=0 printf "elm -s %s%s%s %s%s%s", q,subj,q,q,to,q next } header==0 {print >tmpmail} ' tmpmail=$TMPMAIL -` eval $myexec <$TMPMAIL || elm -s "newselm failed!" `whoami` <$TMPMAIL rm -f $TMPMAIL trap "" 0 exit 0 -------------------------------------------------- In your .slrnrc, define set sendmail_command "/path/newselm" then you can forward the article to any alias you have defined with elm. -- Saludos, Urko.