Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th June 2007, 17:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default ISPConfig 3.0.0.1 Alpha Released

Hi,

I'am proud to announce the first release of ISPConfig 3 This release is a alpha version of the mail and client module, it is meant for development and testing and not for any kind of productivity systems. It is also not feature complete, e.g. the autoresponder is not implemented yet.

The software itself can be downloaded here:

http://www.ispconfig.org/downloads/I...1-alpha.tar.gz

Additionally I will prepare a VMWare image of the software installed on Debian later today and post a download link. Below is a short feature list and the installation instructions to install the software on debian etch without using the vmware image.

What does this relaese offers?

Client Module
-------------

- Management of clients
- client limits for the mail module

Mail Module
-----------

- mail domains
- mail aliases
- mail boxes / users
- mail forwarders
- mail catchall accounts
- spamfilter rules which can be set global, per domain and per mailbox
- spamfilter policys
- antivirus (part of the spamfilter policys), filtering can be definied globally, per domain or per user.
- spamfilter whitelists and blacklists
- postfix smtp whitelists / blacklists
- Fetch email from pop3 or imap mailboxes

The mail module can manage multiple mailservers from one controlpanel (not tested much yet).

System requirements
--------------------

This release supports only debian Etch (4.0).

Installation
-----------

It is recommended to use a clean (fresh) debian etch install where you just selected "Standard System" as package selection during setup. Then follow the steps below to prepare your server for ISPConfig 3:

1) Install Postfix, Courier, Saslauthd, MySQL, phpMyAdmin with one single command (one line!):

Code:
apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl postfix-tls libsasl2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4
Answer the questions from the package manager as follows.

Create directories for web-based administration ? <-- No
General type of configuration? <-- Internet site
Mail name? <-- server1.mydomain.tld
SSL certificate required <-- Ok

...use your own domain name of course

2) Install Amavisd-new, Spamassassin and Clamav (1 line!):

Code:
apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip
3) Install apache, PHP5 and phpmyadmin (1 line!):

Code:
apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin
4) Install ISPConfig 3

Code:
apt-get install php5-cli
Code:
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig_3.0.0.1-alpha.tar.gz
tar xvfz ISPConfig_3.0.0.1-alpha.tar.gz
cd ISPConfig_3.0.0.1-alpha/install/
The installer does not ask any questions yet, so everything must be edited in the config file before you start the installer.

Code:
vi dist/conf/debian40.conf.php
There are just two values that you should change:

Enter the mysql root password in this line. If the password is e.g. secret, the line should look like this:

$conf["mysql_server_admin_password"] = "secret";

The other line is:

$conf["mysql_server_ispconfig_password"] = "5sDrewBhk";

Replace "5sDrewBhk" with a password of your choice, the installer will create a new mysql database user named "ispconfig" and the user will get the password that you enter in this line.

Now start the installation process by executing:

Code:
php -q install.php
The installer will configure all services like postfix, sasl, courier, etc. for you. A manual setup as required for ISPConfig 2 (perfect setup guides) is not nescessary. To login to the ISPConfig controlpanel, open the following URL in your browser (replace the IP to match your settings!):

http://192.168.0.100/ispconfig/

the default login is:

user: admin
password: admin

In case you get a permission denied error from apache, please restart the apache webserver process.

-------------------------
- update
-------------------------

The vmware appliance can be downloaded from here:

http://www.ispconfig.org/downloads/i..._appliance.zip

the root password is "ispconfig". The mysql database password is not set. The IP of the appliance is 192.168.0.100
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 5th June 2007 at 00:34.
Reply With Quote
The Following 6 Users Say Thank You to till For This Useful Post:
adriaan (6th June 2007), bagpiperdude90 (4th June 2007), edge (4th June 2007), Hans (4th June 2007), mlz (5th June 2007), vogelor (4th June 2007)
Sponsored Links
  #2  
Old 4th June 2007, 17:40
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Yahooo.. Nice new things to play with :-)

I'll be installing it on one of my test servers later today!

Thank you ISPconfig team!
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 4th June 2007, 19:16
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Sounds great....
Reply With Quote
  #4  
Old 4th June 2007, 22:46
bagpiperdude90 bagpiperdude90 is offline
Member
 
Join Date: Mar 2007
Posts: 34
Thanks: 4
Thanked 22 Times in 5 Posts
Default

I just installed it a little while ago. :-)

I'm still looking around everything, trying to figure it out. I love the new look!!

One quick question, though:

When I install MySQL, do I need to set the root password? Or does ISPConfig do that when it asks for the root password? I did set it, just to be safe, but I'm not sure if I *need* to. No big deal, though, since it sets everything else up for me in the blink of an eye :-)
Reply With Quote
  #5  
Old 4th June 2007, 22:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Quote:
Originally Posted by bagpiperdude90
When I install MySQL, do I need to set the root password? Or does ISPConfig do that when it asks for the root password? I did set it, just to be safe, but I'm not sure if I *need* to. No big deal, though, since it sets everything else up for me in the blink of an eye :-)
The installer does not set the root password, you must set the correct current root password in the config file to be able to install ISPConfig. The root password is only used during installation, afterwards PSPConfig uses the mysql user "ispconfig" to connect to the database.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 4th June 2007, 23:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

While I wait that the upload of the vmware image finishes, here some more technical infos how ISPConfig3 works:

In ISPConfig3, every daemon that allows database based configuration gets the information from the central mysql database. For all other configuration tasks, ISPConfig has a daemon script that runs on every server.

The server daemon is modular, has plugins and is event based. What does this mean:

1) If a server provides just email services, only the email code is loaded. The modules configure themself automatically as soon as the files were dropped or symlinked to the directory /usr/local/ispconfig/server/mods-enabled/. So enabling or disabling a complete module means just removing the file or symlink, the other functionality is not affected by this.

2) Every module "listens" to the database tables and provides events like "mail_box_insert" or "mail_alias_update" to the plugins. The plugins reside in the directory /usr/local/ispconfig/server/plugins-enabled/. The plugins are also configured automatically. When a plugin file is copied or symlinked to this directory, the plugin is loaded and connects to the event listeners of the module.

This makes customisation and updates very easy.

I plan to write a plugin writing howto soon to give you some examples.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th June 2007, 08:28
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Hey sounds great.... what kind of API do you use to trigger the events?
Reply With Quote
  #8  
Old 5th June 2007, 10:32
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
 
Default

Quote:
Originally Posted by Ben
Hey sounds great.... what kind of API do you use to trigger the events?
It is a custom API that I've written for ISPConfig. It works like this.

Every plugin has a onLoad() function which is called when the plugin is loaded in the server process. The onLoad function contains the function calls to subscribe for events like this:

$app->plugins->registerEvent('mail_user_update','maildrop_plugin ','update');

This registers the function named update in the class maildrop_plugin to be called when the event mail_user_update is risen by the mail module or in other words, the function $app->loaded_plugins['maildrop_plugin']->update(....); is executed when something in the mail_user database table has been changed. The "update" functions gets as parameter an associative array with the datarecord before and after the change, so it is easy to e.g. rename users or directories as the old and new username / domain name / etc. is at hand.

It is possible of course that more then one plugin subscribes for an event like mail_user_update.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 5th June 2007 at 10:36.
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
ISPConfig 2.2.13 released till General 35 23rd July 2007 16:28
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
ISPConfig 2.2.4 released till General 25 18th July 2006 13:04
ISPConfig 2.2.1 released till General 11 28th May 2006 10:39
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18


All times are GMT +2. The time now is 20:21.


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