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 21st February 2006, 16:15
nitbix nitbix is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPconfig + postfix virtual using mysql

Hello, I am trying to think of a patch for ISPconfig so that it can manage postfix's virtual domains using mysql. Can anyone explain me roughly which operations are done when a client adds an email? I will make the code available once it is ready, so eventually it could help building a new feature.
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2006, 16:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default

Hi, these parts of the code where executed:

1) The code in the file:

/home/admispconfig/ispconfig/lib/classes/ispconfig_isp_user.lib.php

is executed. You will find several functions inside this class. The functions are named like the event when thei are called. E.g. user_insert us called after a user is inserted, user_update is called when a user is updated etc.

These functions are mostly for validating the input.

2) Then the function user_insert / user_update, etc. in the file /root/ispconfig/scripts/lib/config.lib.php where called. These functions where run with root priveliges and they create the linux user accounts and email configuration.

If you want to make your code available to the iSPConfig project, please make shure that the user is able to switch between the current system user based approach and your mysql based approach by a setting in the isp_server table.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th February 2006, 13:18
nitbix nitbix is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thank you, I will try and make it the best way possible. I think though that it whould need some adapting before going into ISPconfig's code
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
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 22:45
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 02:41
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs Rocky Installation/Configuration 24 9th February 2006 12:08
Virtual Users And Domains With Postfix, Courier And MySQL triak HOWTO-Related Questions 5 23rd January 2006 21:20
Virtual Users And Domains With Postfix, Courier And MySQL: POP/IMAP authentication SeanG HOWTO-Related Questions 3 1st January 2006 18:08


All times are GMT +2. The time now is 07:25.


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