hi.
i've made the auto-reply a bit more robust and
bloated :)
place the following in rc.local.s20 and uncomment
the corresponding line in your unlinked rc.custom.
REPLY_TEMP is a text file that gets mailed back
to the original sender. it will be sent as
MAIL_FROM. if you want to put a user name in the
header From: line, do so in HDR_FROM. The subject
will be set to REPLY_SUBJECT.
if you want to use the original subject in your
reply, place `$SUBJECT' where you want it to
appear in the REPLY_TEMP file and set MUNGE_BODY
appropriately.
feel free to mail me if you have questions about
this. i'll do my best to answer them.
-r
#MUNGE_BODY=no
REPLY_TEMP=/path/to/autoreply.txt
MAIL_FROM="moo(a)cow.org"
HDR_FROM="moo(a)cow.org (moo!)"
REPLY_SUBJECT="Message Received"
ORIG_SUB=`formail -zx Subject:`
:0 whc
| formail -rtzc -xTo: >tmp.from ; \
cp $REPLY_TEMP tmp.autoreply
:0 whc
* MUNGE_BODY ?? y
| sed 's/\$SUBJECT/'"$ORIG_SUB"/g $REPLY_TEMP > tmp.autoreply
:0 ch :autoreply.lock
| (formail -rtzc -I "Subject: $REPLY_SUBJECT" -I "From: $HDR_FROM" \
-A"Precedence: junk" ; cat tmp.autoreply) | \
$SENDMAIL -t -f $MAIL_FROM `cat tmp.from`
--
echo "send pgp key" | mail ravi(a)cow.org ; lynx http://cow.org ; echo "!gc"
"It's like everybody's trying to find a reason for the shootings. Whatever
happened to 'crazy?'" -- Chris Rock's explanation for the Littelton, CO.,
school shootings, quoted in The Dallas Morning News.
First off I would like to say publicly that this list has been a great
help to me, Ravi personally. Now for my question.
I setup a list for our support team that sends autoreply e-mail to
anyone who sends to our
support team. What i need is to show original message headers in the
header of the e-mail that goes to the support team. Any and all help
will be appreciated
Jerry Sloan
Folks;
Does anyone know of any pre-existing software for manipulating dist files
(i.e. generating per-domain percentages from a dist file, merging two dist
files, comparing two dist files, etc., etc)? I suppose anything that dealt
specifically with lists of email addresses would work (that is, it doesn't
necessarily have to handle the "Only addresses below this line"
itself)...anyone have a pointer to such a thing?
Charlie (who hopes he doesn't have to reinvent the wheel...)
I'm confused by this multigram stuff, and when it kicks in...
The lists I work with are pretty small, and it would be ideal for me if the
X-Command to unsubscribe was just "perfect match"
OTOH, I'd like for people who unsubscribe themselves (the blessed few with a
clue) were able to match foo(a)mail.whatever.com and foo(a)whatever.com
successfully and just take them off if they're that close... But I don't
even know if that's what multigram does or not.
I've read the docs and FAQ, but they seem to jump right into the numbering
scheme without explaining how/when multigram applies... Or maybe I'm just
reading the wrong section of the docs...
So... if some kind soul would tell me when multigram kicks in and how I
would alter rc.custom for the admin X-Command to be strictly a perfect match
thing without screwing up auto-request commands from listees, I'd sure
appreciate it...
Oh yeah: One last thing:
The address that is about to unsubscribed generates the
following multigram matches to the current list:
177 rlynch(a)ignitionstate.com 32734 rlynch(a)ignitionstate.com
18 a 17066 rlynch(a)ignitionstate.com
118 kevin.erickson(a)bmge.com 3250 rlynch(a)ignitionstate.com
174 rfblitho(a)compuserve.com 3250 rlynch(a)ignitionstate.com
36 boche(a)billions.com 3247 rlynch(a)ignitionstate.com
167 rademaker(a)compuserve.com 3246 rlynch(a)ignitionstate.com
176 rjolech(a)herff-jones.com 3197 rlynch(a)ignitionstate.com
87 guns(a)scratchie.com 2527 rlynch(a)ignitionstate.com
Like, the address I'm trying to remove is there, and it should be a perfect
match, and I don't understand why that first one isn't just 32766... [See,
I read the docs enough to know it goes up to 32766 :-)] Or, rather, why is
multigram kicking in at all? If it's a perfect match, isn't it supposed to
just unsubscribe it?
The manual says to add the approved: email(a)addre.ss to
the headers? huh? I am using outlook express 5.5 and as
far as I know, there's no way to edit the headers. I sent
a test message from another account, and added the
approved: tom(a)dye.com to it but this shows up in the
message that goes to the list.
Thanks,
tom
How can I keep the sender of a post from receiving a copy of his post. I want everyone on the list except the sender to receive a copy. Is this possible?
Jason