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.
Thread Tools Display Modes
Old 8th December 2006, 13: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...


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
Old 8th December 2006, 16:26
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,037
Thanks: 841
Thanked 5,659 Times in 4,466 Posts

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

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 8th December 2006, 16:32
mathias_g mathias_g is offline
Junior Member
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks for the fast reply, I will read and try

best regards
Mathias Gelhausen
Reply With Quote


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 01:27

All times are GMT +2. The time now is 04:26.

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