Hello,
Am Dienstag, 5. November 2019, 03:15:25 CET schrieb Dave Nelson:
> First of all, thank you for your work on PostfixAdmin, and sorry for
> writing to the dev list with an end user help request.
No problem ;-)
> I use PostfixAdmin happily on one mail server I have, but decided to
> use iRedMail to set up a second mail server.
> But the free version of iRedMail-Admin does not give me all the
> features I have in PostfixAdmin, which has all the features I need
> (particularly aliases).
> Does anyone have any experience/instructions to share on getting
> PostfixAdmin integrated with a mail server á la iRedMail?
My answer doesn't cover exactly what you asked for (and I don't know the
iRedMail database layout) but I still think it's the best I can
recommend:
IMHO the best way would be to export the existing data (domains,
mailboxes, aliases) from iredmail (where "export" can mean anything
between copy&paste from the web interface to taking a database dump).
Then use postfixadmin-cli (in a shell loop) to import everything into
PostfixAdmin.
If the database layouts are "close enough" (or if you want to write some
adventourous SQL [1]), you could in theory also do the migration using
SQL queries, but unless you completely understand PostfixAdmin's
database layout, this might cause some funny[tm] effects. That's why I
recommend postfixadmin-cli - it will handle the technical details ;-)
BTW: If the passwords are hashed in the iRedMail database, there's a
trick: temporarily configure PostfixAdmin to use plaintext passwords, do
the import with postfixadmin-cli (using the hashed password as
"cleartext"), and then change the PostfixAdmin config to the hashing
method used by iRedMail to hash your passwords.
Regards,
Christian Boltz
[1] I still remember migrating mail addresses from Plesk to PostfixAdmin
years ago, and still remember the pain ;-)
--
In asynchron-verteilten Umgebungen mußt Du gegen jede einzelne Regel
Deiner Datenbankvorlesung verstoßen. [Kris Köhntopp]
|