php-i18n Digest 27 Jul 2001 14:52:36 -0000 Issue 73

Topics (messages 166 through 174):

IMAP/POP3 Administration API?
        166 by: Christopher Cheng
        167 by: Dave Mertens
        168 by: Christopher Cheng
        169 by: Dave Mertens

Re: [PHP-DEV] Re: IMAP/POP3 Administration API?
        170 by: George Schlossnagle
        171 by: Sterling Hughes
        172 by: Nashirak Bossk
        173 by: Joey Smith

e-mail confirmation #13371280
        174 by: julie1280.freevibrator.com

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]


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


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 a suggestion:  You could use procmail and if you had a mailserver like
exim.  Set up a list of aliases and then have them all forward into 1 account
then the procmailrc file in that one account sends the info to various files
or users.  To add and delete users all you would have to do is make php write
to a aliases file and a procmailrc file, which would be easy enough.


Sterling Hughes wrote:

> 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]
> >>

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

Clayton Bluhm

Computer Engineering Student

[EMAIL PROTECTED]






Please kill this thread, or at least have the decency to limit it to
php-general, to which it belongs. There is no need to EVER cross-post
in this manner!

On Sun, 22 Jul 2001, Dave Mertens wrote the following to Christopher Cheng :

> 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
> 
> 





This is a confirmation e-mail for your request.

You can come anytime and claim your FREE Sex Toys at
http://www.freevibrator.com

All Free Sex Toys we feature are absolutly free with no purchase necessary whatsoever.
(Small reasonable shipping charges apply)


Thank You for subscribing to FreeSexToys updates list.
This Is OPT-IN list.
To make sure that we won't send anything to you in ERROR - You HAVE TO CONFIRM that 
you would like to be added to our list.

To confirm that you want to be added send e-mail to: [EMAIL PROTECTED]

If you received this e-mail in error (my apologies) or do not wish to be added to our 
list DO NOTHING. You will NOT be added to our list without Your Confirmation.

Freely Yours
Julie Aston

[EMAIL PROTECTED]
message confirmation ID#19177133712801756781401714


Reply via email to