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.
[mailto:email@example.com]On Behalf Of Sunita Rajagopal
Sent: Wednesday, February 19, 2003 12:57 PM
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
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.