Hi I have a similar script,
What I did, is to lower the sendmail security, (I Have sendmail 8.12),
you can tweak the
dontblamesendmail feature of sendmail.cf,
which can allow sendmail to run with a less secure setting.
Check the options for this at www.sendmail.org
regards
Rodrigo O
--------------------------------------------------------------------------
Ing. Rodrigo Ordoñez Licona
Xnet Soluciones en Comercio Electrónico
Chihuahua, Chihuahua. Mexico
Priv de Reforma 103 Local 5
Col. San Felipe Viejo. CP 31240.
Tel. (614)414-9270
Correo de Voz (614)443-0443
ventas@xnet.com.mx
PO Box 25034
Washington DC, USA. 20007
Tel 202-907-5577
Fax 202-318-2594
sales@pwworks.com
PO BOX 41717
Abu Dhabi, United Arab Emirates.
Tel (+50) 444-7217
Fax (+2) 665-7198
sales@emiratesww.com
--------------------------------------------------------------------------
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
-----Original Message-----
From: majordomo-users-owner@greatcircle.com
[mailto:majordomo-users-owner@greatcircle.com]On Behalf Of Ken Bedell
Sent: Miércoles, 19 de Febrero de 2003 08:01 p.m.
To: majordomo-users@greatcircle.com
Subject: Re: automate the creation process in majorcool
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
References:
|
|