|
Posted by Michael Vilain on 12/29/05 14:00
In article <qfGdnSFnAOWPYy_enZ2dnUVZ_sidnZ2d@comcast.com>,
"Shelly" <sheldonlg.news@asap-consult.com> wrote:
> I want to be able to create a sendmail account by commands sent from a web
> page. I am using php. After everything is done, I want to enter his info
> into the database (easy) and create this sendmail account. Can anyone give
> me pointers to explanations/excamples? I have done a quick search on the
> web, but haven't turned up anything. In addition, I do NOT want to create a
> regular user account on the server -- only a sendmail account.
>
> Shelly
AFAIK, there's no difference between a regular UNIX account and a
"sendmail account", least there wasn't when I was working as a UNIX
admin. Perhaps you mean you don't want users to have shell access and
only access their mail remotely via POP or IMAP. But those type of
accounts still have a password file entry (or an entry in NIS).
Can you explain what you mean by both terms?
And as an aside, I'd rethink using php for this tool. Instead, I'd use
perl as there are a lot more CPAN modules that might help out.
Regardless, you'll have to run this tool as a CGI with CGIwrap rather
than from Apache as a built-in module. It will have to run as root
rather than as the Apache userid.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[Back to original message]
|