#1  
Old 2nd September 2005, 22:26
m u r m u r is offline
Senior Member
 
Join Date: Jul 2005
Posts: 152
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
Sponsored Links
  #2  
Old 3rd September 2005, 09:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 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, 20:54
m u r m u r is offline
Senior Member
 
Join Date: Jul 2005
Posts: 152
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, 08:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 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 15:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.