php-install Digest 22 Jul 2001 20:19:16 -0000 Issue 375

Topics (messages 3654 through 3662):

ldap compile error w/php missing undefined atexit reference
        3654 by: dino bartolome

IMAP Administration API?
        3655 by: Christopher Cheng

IMAP/POP3 Administration API?
        3656 by: Christopher Cheng
        3657 by: Dave Mertens
        3658 by: Christopher Cheng
        3659 by: Dave Mertens

Re: [PHP-DEV] Re: IMAP/POP3 Administration API?
        3660 by: George Schlossnagle
        3661 by: Sterling Hughes

Please help me
        3662 by: Seth Cox

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


I'm running a redhat 7.0, 2.4.4 kernel
openldap 2.0.11
php 4.0.6
compiled and built openldap 2.0.11

but i configure php and i get errors
it states in debug.log that
openldap/lib/libldap.so: undefined reference to 'atexit'
what do i need to do to fix this?







Is there any IMAP API or modules written in PHP?
I am looking for API to write a signup page for users.






Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written
in PHP?
I am looking for API to write a signup page for users.






On Sun, Jul 22, 2001 at 07:41:01PM +0800, Christopher Cheng wrote:
> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written
> in PHP?
> I am looking for API to write a signup page for users.


Have to tried http://www.php.net/imap ?? Great source for API's ;-)

Dave Mertens




Have looked through it already. None of them allows me to add/delete users


"Dave Mertens" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sun, Jul 22, 2001 at 07:41:01PM +0800, Christopher Cheng wrote:
> > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail)
written
> > in PHP?
> > I am looking for API to write a signup page for users.
>
>
> Have to tried http://www.php.net/imap ?? Great source for API's ;-)
>
> Dave Mertens






> > > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail)
> written
> > > in PHP?
> > > I am looking for API to write a signup page for users.

> > Have to tried http://www.php.net/imap ?? Great source for API's ;-)

> Have looked through it already. None of them allows me to add/delete users

Most mailserver use the users that exist on the mail server. An mail user is also an 
regular user (Althru most of them get an fake shell)
. To add, modify or delete such user you need root privilegde. Webserver such as 
Apache run with a user nobody (or similair) which have as less access to the system as 
possible.

Because php is than also running as user 'nobody'. And then you can't add, modify or 
delete users. 

If you still want to build a mailuser webinterface, here's how to do-it:
- first make sure only 'localhost' can access the site. Use an port different from 
'80'.

To edit the /etc/passwd there's a file in the php4 source directory /pear/files. This 
file is called 'Passwd.php' which you can use to edit the /etc/passwd and similair 
files..

Because every mail server have it own config files, it's not possible to create an 
'generic' API. I advise you to download some other web-interfaces for sendmail
so you can see how they're handling the files.

Good luck.

Dave Mertens
 




Sounds like a cyrus-imap extension for imap (which allows many 
authentication methods, most of which don't need system-level users) 
would be a good thing.

George

On Sunday, July 22, 2001, at 11:32 AM, Dave Mertens wrote:

>>>> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail)
>> written
>>>> in PHP?
>>>> I am looking for API to write a signup page for users.
>
>>> Have to tried http://www.php.net/imap ?? Great source for API's ;-)
>
>> Have looked through it already. None of them allows me to add/delete 
>> users
>
> Most mailserver use the users that exist on the mail server. An mail 
> user is also an regular user (Althru most of them get an fake shell)
> . To add, modify or delete such user you need root privilegde. 
> Webserver such as Apache run with a user nobody (or similair) which 
> have as less access to the system as possible.
>
> Because php is than also running as user 'nobody'. And then you can't 
> add, modify or delete users.
>
> If you still want to build a mailuser webinterface, here's how to do-it:
> - first make sure only 'localhost' can access the site. Use an port 
> different from '80'.
>
> To edit the /etc/passwd there's a file in the php4 source directory 
> /pear/files. This file is called 'Passwd.php' which you can use to edit 
> the /etc/passwd and similair files..
>
> Because every mail server have it own config files, it's not possible 
> to create an 'generic' API. I advise you to download some other 
> web-interfaces for sendmail
> so you can see how they're handling the files.
>
> Good luck.
>
> Dave Mertens
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>




I wrote one...

http://www.designmultimedia.com/cyrus/php_extension.html

Never did have the time to commit it though, as its still in development 
(well, not currently, but when I get some free time :).

-Sterling

George Schlossnagle wrote:

> Sounds like a cyrus-imap extension for imap (which allows many 
> authentication methods, most of which don't need system-level users) 
> would be a good thing.
> 
> George
> 
> On Sunday, July 22, 2001, at 11:32 AM, Dave Mertens wrote:
> 
>>>>> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail)
>>>> 
>>> written
>>> 
>>>>> in PHP?
>>>>> I am looking for API to write a signup page for users.
>>>> 
>> 
>>>> Have to tried http://www.php.net/imap ?? Great source for API's ;-)
>>> 
>> 
>>> Have looked through it already. None of them allows me to add/delete 
>>> users
>> 
>> 
>> Most mailserver use the users that exist on the mail server. An mail 
>> user is also an regular user (Althru most of them get an fake shell)
>> . To add, modify or delete such user you need root privilegde. 
>> Webserver such as Apache run with a user nobody (or similair) which 
>> have as less access to the system as possible.
>> 
>> Because php is than also running as user 'nobody'. And then you can't 
>> add, modify or delete users.
>> 
>> If you still want to build a mailuser webinterface, here's how to do-it:
>> - first make sure only 'localhost' can access the site. Use an port 
>> different from '80'.
>> 
>> To edit the /etc/passwd there's a file in the php4 source directory 
>> /pear/files. This file is called 'Passwd.php' which you can use to 
>> edit the /etc/passwd and similair files..
>> 
>> Because every mail server have it own config files, it's not possible 
>> to create an 'generic' API. I advise you to download some other 
>> web-interfaces for sendmail
>> so you can see how they're handling the files.
>> 
>> Good luck.
>> 
>> Dave Mertens
>> 
>> 
>> -- 
>> PHP Development Mailing List <http://www.php.net/>
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>> 






I have installed PHP 4.06 on my Sambar server. I NEED PHP Authentication, so I have 
configured it manually on my NT machine, but the Auth still does not work - it never 
sets the PHP_AUTH_USER and PW variables. Does anybody know what I have to do to get 
that working? 

Thanks! 

Seth


Reply via email to