Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th December 2006, 12:24
mathias_g mathias_g is offline
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default [Question] extract variables for external script...

Hi,

I'm trying to write an external script to update an external mailserver with the informations given to ISPC via its web-interface. As ISPC is not intented to work with multiple servers, I thought well, let's simply extract the needed information, pass it to an self-written script that updates the external mailserver as needed.

Now I'm stuck at figuring out in which variables what information is inside ISPC.
All I need would be username (the system based one), mail-alias (all of them), redirection, auto-responder, is the user created, updated or deleted..

Perhaps the information could be retrieved from the database, but I don't figured out how the users in isp_isp_user are related to the data in table isp_isp_web (where I found the informations about the webs are stored..)

If someone could get me a hint, that would help me a lot. Thank you

Best regards
Mathias Gelhausen
------------------
I'm not a native english speaker, so please forgive my faults
Reply With Quote
Sponsored Links
  #2  
Old 8th December 2006, 15:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
Default

The tables are linked trough the isp_dep table. Please have a look at this thread for a example:

http://www.howtoforge.com/forums/sho...hlight=isp_dep
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th December 2006, 15:32
mathias_g mathias_g is offline
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for the fast reply, I will read and try

best regards
Mathias Gelhausen
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script compare variables pattern matching tombstone Programming/Scripts 1 1st June 2006 00:27


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


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