[imp] Development of external User Admin script for Horde / IMP.

Colin C. Woods (eFinity) colin at myefinity.com
Fri Aug 15 18:22:17 UTC 2008


Hi Mike,

Thanks for your insights. Actually, I have given some more thought to the
matter and I think that I would house the script in such a way that I could
use Apache to only accept calls to the script from a specific IP address.
Since both servers have dedicated IP addresses, this could work. Also, it
would increase security as well.

I like the idea of a script because I already have a very elaborate and
well-integrate user management system setup under my membership site.
Changing it to directly interact with or be managed by Horde would be very
complex. Therefore, I really like this external PHP script idea. 

Would you be willing to write it? Contact me privately for more details if
interested.

Kind Regards,

Colin

-----Original Message-----
From: imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org] On
Behalf Of Michael Rubinsky
Sent: Friday, August 15, 2008 12:47 PM
To: imp at lists.horde.org
Subject: Re: [imp] Development of external User Admin script for Horde /
IMP.

Quoting "Colin C. Woods (eFinity)" <colin at myefinity.com>:

> Hello,
>
> I'm new to this list, but I am very excited about my Horde installation. I
> recently installed Horde Webmail Edition 1.1.1 onto my webserver. However,
I
> run a membership-based website on a completely separate server, and want
to
> give my users the ability to use webmail (Horde / IMP). Therefore, I would
> like to have the ability to call upon a PHP script that would
automatically
> maintain user accounts on my Horde Webmail server.
>
> The admin PHP script should do the following:
>
> -- Add a user account (username and full name)
>
> -- Delete a user account
>
> -- Suspend a user account
>
> Furthermore, the script should be in a command-line, URL-based format,
such
> as:
>
>
http://www.example.com/admin/utils/horde_admin_script.php?adduser=joe?passwo
> rd=sample?FullName=JoeBaker
>
> to delete a user would be something like:
>
>
http://www.example.com/admin/utils/horde_admin_script.php?deluser=joe?passwo
> rd=sample?FullName=JoeBaker
>

This is an incredibly bad idea...

You would be much better off using your existing website's user data  
as an authentication backend to Horde. This would be fairly easy if  
it's SQL based, and the SQL server is reachable over the network. You  
could then use either whatever your using now to maintain the members,  
or even possibly use Horde as the interface to your user maintenance.

> I also need to have the script report back to the site with an error
> condition depending on whether or not the user add failed or not.
>
> I don't care too much about security, as I would hide this script deep
> within a complex directory structure. I simply need this script in order
to
> achieve API calls from my other website whenever a new user registers, or
an
> old user becomes invalidated.

Well, if you insist on going down this type of route, I would suggest  
a custom api method in horde's existing API that can be called via  
jsonrpc, xmlrpc etc...to achieve what you want.

>
> Question: Is this possible? My setup currently authenticates from Linux
via
> Horde. I would welcome the ability to authenticate users using a MySQL
> database table, such as an "imp_users" table or something to that effect.
>
> I am willing to pay someone for these services, if necessary. I thank you
> for the assistance. Please feel free to contact me (via e-mail at
> colin at myefinity.com).
>
> Thank you very much for your time.
>
> Kind Regards,
>
> Colin Woods
>
> eFinity, Inc.
>
> Office: +1 321.445.3901
>
> Mobile: +1.772.215.7770
>
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>



Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin



More information about the imp mailing list