PDA

View Full Version : ISPconfig3 + postfixadmin


dxr
28th June 2009, 04:05
Hi,

A lot of servers have postfixadmin solution because is very easy and you can configure some mailserver for email solution.

Should very good idea implement a plugin for can management the emails with postfixadmin solution.

till
28th June 2009, 10:51
The ISPConfig mail module is a replacement for postfixadmin, so this does not make any sense for me. Thats as if you ask to integrate mozilla firefox into internet explorer.

dxr
28th June 2009, 12:50
But, i can not manage my mailserver database with ispconfig.

till
28th June 2009, 12:54
But, i can not manage my mailserver database with ispconfig.

then ISPConfig is not installed correctly on your system or you installed ispconfig on a system were you had setup an incompatible mailsystem before without reinstalling the operating system.

ISPConfig uses mysql as database for the mailserver. Just install ispconfig 3 as described in the perfect server guide for ISPConfig 3 and you can configure your complete mailserver with it. Make sure that the server is empty and not configured before you install ispconfig (see the guide for details).

dxr
28th June 2009, 13:00
i have >100 email accounts with postfixadmin database :S

till
28th June 2009, 13:04
i have >100 email accounts with postfixadmin database :S

Then you have to migrate your accounts to ispconfig if you want to use ispconfig.

ISPConfig is not made for managing the postfixadmin database and postfixadmin is not made to manage the ispconfig database. Same as you can not use postfixadmin to manage a microsoft excghange server etc. If you want to use a controlpanel you will have to install your server as described in the instructions for this controlpanel and not as described in instructions for a complete different software.

dxr
28th June 2009, 13:49
But, ispconfig use courier, i amd using postfix + dovecot + mysql with multipleservers.

I think i can not use ispconfig for management remote mailserver

till
28th June 2009, 13:53
And ISPConfig uses postfix, courier and mysql qiwth multiple servers. As dovecot uses maildir too, the format of the mail store is widely identical and can be migrated by simply copying the files. Future ISPConfig versions will support dovecot too.

I think i can not use ispconfig for management remote mailserver

Then dont use it if you dont like to migrate your mailservers.

dxr
28th June 2009, 14:36
I prefer wait, i have a mail cluster very good working and i dont want crash it.

moglia
29th June 2009, 23:12
You can write a routine to migrate from postfixadmin to ispconfig3 you just need ispconfig3 database diagram.

And a method to store mail user at ispconfig database.

Im migrated from postfixadmin 2 to 3 and write a php cli script to do it not hard to make it.

Passwords are encoded by crypt you need see encode password at ispconfig is the same or not.

if ispconfig uses Maildir like postfixadmin mail data can be pass easy.

Im have postfixadmin database schema at debian, i need be the same. Im looking ispconfig 3 finish trafic information to migrate to it.

Probably i will be aventure a stable server with SVN version. =D

Im looking code now to learning, but started translating to brazilian portuguese first.

moglia
25th July 2009, 04:32
The password of ispconfig is the same of postfix admin.use crypt function.

I working on migration.

Writing a php console script to do select on postfixadmin usertable and inserts on ispconfig3 tables.

you only need select quota and password and insert or update existing mail account on ispconfig 3 tables.

diretory schematics is verry simillar exepts for one thing.

basedir itīs your choice at postfixadmin setup.

postfix admin use:
/basedir/domain.com/user/Maildir

ispconfig use:
/var/vmail/domain/user

you need make a automated rotine to move

/basedir/domain.com/user/Maildir to /var/vmail/domain/user

before moves maildir data you need change recursively all files and folders to vmail user and vmail group.

chown -R vmail:vmail /var/vmail/

all files without vmail user and group will be changed to vmail user and group.

I migrate one mailbox to test works perfectlly.

I prentend use this tecniques to migrate from postfixadmin to ispconfig3.