New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Install on top of existing postfix installation #468
Comments
I'm not quite sure what the data should look like, but perhaps :
in which case perhaps, from within the postfixadmin database :
|
I've added DOCUMENTS/Migration.md to master; it's basically the above. It probably contains bugs :-) |
Thank firstly a lot, I just came to it. 1.:
2.:
But the 3. gives me an error:
Oh, oh, is this a sign for a corrupt database of my good old mailserver?? |
well, you already have an entry for 'frank@example.org'. You could change the statement to 'INSERT IGNORE INTO alias ....' which would just ignore the error :) |
I'd recommend to look at the original database before ignoring errors. IIRC querying aliases may result in multiple rows, and while postfixadmin has multiple targets in one row (goto is |
Hallo
I have Postfix and Dovecot since 2006 (?), installed it at this time I think on SuSE, maybe later on Ubuntu 8.04, dont remember well. I think I used this How-To (only in wayback machine to find).
Now I have Postfix v3.3.0 (exactly: 3.3.0-1ubuntu0.3) and Dovecot v2.3 (2.3.14-5+ubuntu18.04) running on Ubuntu 18.04.
Since long I would like to install Postfixadmin to manage Postfix and Dovecot, but the tables of Postfixadmin and Postfix are very different.
In my Postfix DB I have the tables virtual_domains, virtual_users, virtual_aliases and two views (view_users and view_users).
The columns are different too, here the Postfix db scripts:
The view "view_users" just contains email and password, the view "view_aliases" contains email and destination.
I asked in the Sourceforge Forum about that, another user with the same problem, but it seems that it could only be solved manually, with a lot of work (and risk too) 😢
It would be great if the INSTALL.txt and ./DOCUMENTS/... would provide install guide to this setting.
Even greater, if the Postfixadmin installer would consider the different databases in such settings.
Thanks.
frank
The text was updated successfully, but these errors were encountered: