|
I have written a script for parsing the email and automate
the
subscription for other mailing list. It will require the
following:
1. cd /usr/local/post.office/local
2. chmod u+s Program-Delivery
3. Remove NO-PROGRAM-DELIVERIES from
/usr/local/post.office/trusted
4. place your subscribe/unsubscribe script in
/usr/local/post.office/trusted
5. Go into Admin Screen, and setup list1-on@xxxxxxxxxxxxx to
allow "Program Delivery" and run subscribe script.
Do the same respectively for other
addresses.
A subscribe script would look like this:
#!/bin/sh
while read line
do
if [ ! $name ]; then
name="`echo $line | grep From: | awk '{
print $2 }'`"
fi
if [ $name ]; then
/usr/local/post.office/cmdutils/subscribe
nameofthemailinglist $name
fi
do
Hope this helps. You can read more about program delivery
in Chapter 6 of the
HELP in Post.Office HTML admin server.
regards,
Eric
On Thursday, February 20, 2003, at 12:17 AM, Jim Sheffer
wrote:
thought I'd separate this into another
topic :)
Right now we use the following scheme for
our talk lists:
list1-on@xxxxxxxxxxxxx
list1-off@xxxxxxxxxxxxx
list1-admin@xxxxxxxxxxxxx
list1-digest@xxxxxxxxxxxxx
list1-request@xxxxxxxxxxxxx
these addresses go through our main mail
server(blueworld.com) and
forward onto the list
server(lists.blueworld.com) The list server is
going to be moved to Post.Office first-
we have 2 licences, and will
set up the regular mail server
later)
I want to keep the same email address as
we already use, listed above,
but after reading the docs on email
commands, It looks like postoffice
will not recognize this. Is there a
way around this (In the footers of
each of our lists we have a
list1-off@xxxxxxxxxxxxx address that all
they need to do is click on and hit
send.) I don't want to have to
explain to them how to add commands in
the body of the email for basic
things like subscribe and
unsubscribe.
If it cant be done, then I'll stop
racking my brains and figure out
another convention for letting people
easily subscribe/unsubscribe
(like tenon does with this list footer)-
I just want to be sure :)
Thanks again for all your help- this is a
long night, and i appreciate
everyone here!
Jim
-----------------------------------------
Jim
Sheffer Blue World Communications
Systems Administrator phone
425.646.0288 ext. 213
-----------------------------------------
---------
Tenon Intersystems' Post.Office Mailing
List
To unsubscribe: send
mailto:post_office-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives
at:
http://postoffice.computeroil.com/
--------------------------------------------------------------------------------------------------
Eric
Yang
Senior Software Engineer
Tenon
Intersystems
eyang@xxxxxxxxx
1123 Chapala
Street
805-963-6983
Santa Barbara, CA
93101
http://www.tenon.com
--------------------------------------------------------------------------------------------------
|