Hi! I'm having difficulty getting the [listname] added to the subject line of my messages. Can anyone tell me if there is somthing wrong with this rc.local.s10 page? SUBJ=`formail -zx Subject:` # extract the subject :0fw * ! ^Subject:.*\[listname\] * ! ^Subject:.Re: * | formmail -I "Subject: [WSTC-Board] $SUBJ" Thanks, Sue Bott _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
On Thursday 14 March 2002 18:56, Susan Bott wrote:
Hi!
I'm having difficulty getting the [listname] added to the subject line of my messages. Can anyone tell me if there is somthing wrong with this rc.local.s10 page? "Susan Bott" <suebee45@hotmail.com> SUBJ=`formail -zx Subject:` # extract the subject
:0fw
* ! ^Subject:.*\[listname\] * ! ^Subject:.Re: *
| formmail -I "Subject: [WSTC-Board] $SUBJ"
Hi Sue, ^---- note that you wrote formmail here instead of formail. Try removing the extra m, and you probably should be fine :) Kind regards, Remco Rijnders -- ICQ: 760542, Tel: (+31) 6 11316573, http://www.webconquest.com -*- Zippy's revelation of the moment: -*- I hope something GOOD came in the mail today so I have a REASON to live!!
A 17:56 14/03/02 +0000, Susan Bott a écrit :
Hi!
I'm having difficulty getting the [listname] added to the subject line of my messages. Can anyone tell me if there is somthing wrong with this rc.local.s10 page?
SUBJ=`formail -zx Subject:` # extract the subject :0fw * ! ^Subject:.*\[listname\] * ! ^Subject:.Re: * | formmail -I "Subject: [WSTC-Board] $SUBJ"
I suggest you (no multiple Re, no multiple [listname] ) SUBJ=`formail -zx Subject: | sed "s/\[$subject_flag\]//g"| sed "s/R[Ee]: *\(R[Ee]: *\)*/Re: /"` # extract the subject :0fw * ! ^Subject:[ ]*\[$subject_flag\] | formail -I "Subject: [$subject_flag] $SUBJ"
I suspect this is more of a UNIX issue than a Smartlist issue, but I'm stumped nevertheless. I'm currently running one list, and am trying to set up another. I'd like to make modifications to files for one list, such as rc.custom and subscribe.txt, but not affect those files for the other list. Can anyone direct me in the right direction? Thanks, Rob =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rob Skinner La Habra, California mailto:rskinner@rustyiron.com http://www.rustyiron.com
At 7:07 PM -0500 3/25/02, Rob Skinner is rumored to have typed:
I'm currently running one list, and am trying to set up another. I'd like to make modifications to files for one list, such as rc.custom and subscribe.txt, but not affect those files for the other list. Can anyone direct me in the right direction?
rc.custom is not linked, but rather copied, for each list, so that isn't an issue. For any other linked files, use ~/.bin/delink to unlink them; simply cd into the list directory (assuming a stock install) and: ../.bin/delink subscribe.txt To check whether or not a file is linked, use showlink, as: ../.bin/showlink subscribe.txt Charlie
Rob -- Your question, at least how you ask it, isn't really a FAQ, but you might find the following FAQ entry useful: "2.15: What does "delink" mean?" http://www.hartzler.net/smartlist/SmartList-FAQ.html#Section_2.15 Smartlist, at least out of the box, uses hard links. While some consider this a misfeature, where symlinks are easier to manage, that's the deal. -ph On Mon, 25 Mar 2002, Rob Skinner wrote:
I suspect this is more of a UNIX issue than a Smartlist issue, but I'm stumped nevertheless.
I'm currently running one list, and am trying to set up another. I'd like to make modifications to files for one list, such as rc.custom and subscribe.txt, but not affect those files for the other list. Can anyone direct me in the right direction?
Thanks, Rob
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rob Skinner La Habra, California mailto:rskinner@rustyiron.com http://www.rustyiron.com
_______________________________________________ Smartlist mailing list Smartlist@lists.RWTH-Aachen.DE http://MailMan.RWTH-Aachen.DE/mailman/listinfo/smartlist
Thanks Peter & Charlie for the info. It'll get me started in the right direction. Rob =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rob Skinner La Habra, California mailto:rskinner@rustyiron.com http://www.rustyiron.com
Hi sue, Here is what I use: ---- Cut Here ---- SUBJ=`formail -zx Subject:` # extract the subject :0fw * ! ^Subject:.*\[Peace\] * ! ^Subject:.Re: * | formail -I "Subject: [Peace] $SUBJ" ---- End Here ---- # check for HTML MIME segment and reject submission if found # :0 B * Content-Type: text/html { :0 c html.reject :0 fh | formail -i"From: $listreq" -kbrtA"X-Loop: $listaddr" ; cat html.txt :0 ! $sendmailOPT -t } Your version looks okay, but you need to insert the name of your list in place of the word "listname". That should do it. Peace, John At 05:56 PM 3/14/02 +0000, you wrote:
Hi!
I'm having difficulty getting the [listname] added to the subject line of my messages. Can anyone tell me if there is somthing wrong with this rc.local.s10 page?
SUBJ=`formail -zx Subject:` # extract the subject :0fw * ! ^Subject:.*\[listname\] * ! ^Subject:.Re: * | formmail -I "Subject: [WSTC-Board] $SUBJ"
Thanks, Sue Bott
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
_______________________________________________ Smartlist mailing list Smartlist@lists.RWTH-Aachen.DE http://MailMan.RWTH-Aachen.DE/mailman/listinfo/smartlist
**************************************************************************** **************************************** http://www.zcntr.com Get your own web site now. Customize and maintain your e-commerce web site using plain English and your browser. Do it all without any special computer skills or knowledge. **************************************************************************** *****************************************
participants (7)
-
Charlie Summers
-
Francois Sauterey SNES-FTS
-
John Blatt
-
Peter Hartzler
-
Remco Rijnders
-
Rob Skinner
-
Susan Bott