Great Circle Associates Majordomo-Users
(February 2003)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: automate the creation process in majorcool
From: "Ken Bedell" <kbedell @ dnaco . net>
Date: Wed, 19 Feb 2003 22:01:06 -0500
To: <majordomo-users @ greatcircle . com>
Importance: Normal
In-reply-to: <635834D63EE6D211A1FD0090272A7CC501E45673@Phyllis>

Sunita,
   I am in the middle of working on this issue, so I'll be very interested
in what others have to say. Here is what I have done.
   I wrote a perl script (I'd be glad to share it with you if you write and
ask for it) that is based on the resend script.
1) I have a form that allows someone to enter their email address and say
that they want to be added to a discussion group.
2) The form is processed by a perl script that sends an email to a script on
my mail server (In this case this is necessary because my webserver and mail
server are on different systems.
3) The script on my mail server checks to make sure that the message is from
the webserver, it captures the email address from the text of the mail,
checks a file to see how many people are in the current discussion group. If
it is less than 12 the script adds the email address to the current list. If
it is 12 then the script copies the .config, intro, etc. files to a new name
and then adds the necessary lines to the aliases file to create a new group.
4) Finally, the script runs newaliases to get the new list working.

This last step is my big problem.  The only way I can get the perl script to
write to aliases is if the aliases file is group writable. But if it is
group writable then the newaliases program complains and won't run.

I suspect that my solution is in modifying my sendmail.cf file, but I have
not figured out how to do that.

Ken Bedell

-----Original Message-----
From: majordomo-users-owner@greatcircle.com
[mailto:majordomo-users-owner@greatcircle.com]On Behalf Of Sunita Rajagopal
Sent: Wednesday, February 19, 2003 12:57 PM
To: majordomo-users@greatcircle.com
Subject: automate the creation process in majorcool

the admin tool for majordomo, currently has create tab, which basically
sends an email to the majordomo-owner about who requested the group and the
name etc.
i was wondering if I can have the majorcool utility actually create the
group automatically, and I as a adminitrator don't have to edit the
majordomo aliase file etc.
I can see a way to automate this, but I was wondering if it is possible with
the current tool or if anyone else as done it.

Sunita Rajagopal






Follow-Ups:
References:
Indexed By Date Previous: Re: approving attachments
From: "Steven W. Orr" <steveo@syslang.net>
Next: Re: automate the creation process in majorcool
From: Lorin Lund <wbs@infowest.com>
Indexed By Thread Previous: Re: automate the creation process in majorcool
From: "Steven W. Orr" <steveo@syslang.net>
Next: Re: automate the creation process in majorcool
From: Rodrigo Ordoņez Licona <rodrigo@xnet.com.mx>

Google
 
Search Internet Search www.greatcircle.com