#1  
Old 2nd September 2005, 23:26
m u r m u r is offline
Senior Member
 
Join Date: Jul 2005
Posts: 148
Thanks: 13
Thanked 1 Time in 1 Post
Send a message via AIM to m u r Send a message via MSN to m u r
Default Mailbox form/creation

Does anyone know how to create a form that will check to see if a username is available and, if it is, will create a new mailbox? I want to have people be able to sign up for emails on my domain. Any ideas?
Reply With Quote
  #2  
Old 3rd September 2005, 10:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

Quote:
Originally Posted by m u r
Does anyone know how to create a form that will check to see if a username is available and, if it is, will create a new mailbox? I want to have people be able to sign up for emails on my domain. Any ideas?
That depends on your setup. If you have a mail setup that is based on system users, you can parse the /etc/passwd file.

For security reasons, it might be better to parse the passwd file by a nightly cronjob, write a file that contains the usernames to your webspace directory. If a new user signs up, you can add the username to this file.
Reply With Quote
  #3  
Old 3rd September 2005, 21:54
m u r m u r is offline
Senior Member
 
Join Date: Jul 2005
Posts: 148
Thanks: 13
Thanked 1 Time in 1 Post
Send a message via AIM to m u r Send a message via MSN to m u r
Default

I do everything using ISPConfig and SuSe 9.2. Do you know exactly what scripts I should use?
Reply With Quote
  #4  
Old 4th September 2005, 09:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

Quote:
Originally Posted by m u r
I do everything using ISPConfig and SuSe 9.2. Do you know exactly what scripts I should use?
There are no scripts in ISPConfig that you can use directly to add mailusers by your custom scripts, as all the librarys in ISPConfig depends heavyly on each other.

As a starting point you can have a look at the scripts in the /home/admispconfig/ispconfig/web/lib/classes directory. There is a script with the name ispconfig_isp_isp_user.lib.php.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:49.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th