1

Topic: Pls. share your experiences when migrating to the EE version

Hi everyone,

I'm preparing to migrate from iRedMail Easy and iRedAdmin-Pro to iRedMail Enterprise Edition (EE). I'd like to know how many of you have already completed this migration and whether you experienced any issues during or after the process.

I know that Zhang is always there to help, and I truly appreciate everything he does for us. Since this is a high-traffic server, I want to ensure the migration goes as smoothly as possible.

Thanks in advance for sharing your experiences!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by TiTo 2025-02-06 06:03:29)

Re: Pls. share your experiences when migrating to the EE version

Hello everyone,

I recently migrated from iRedMail Easy and iRedAdmin-Pro to iRedMail Enterprise Edition (EE), and I want to share my experience with you.

The first migration attempt was unsuccessful—it got stuck while importing the quarantine mail database. After the process froze, I decided to stop the migration, restart the server, and noticed that everything continued working normally, as if nothing had happened.
Comment by Zhang Huangbin: This issue has been fixed. It was caused due to too many sql records in Amavisd sql db, but EE adds extra 5 columns in `amavisd.msgs`, it's too slow to update all records.

After consulting with Zhang, he advised me to clear the quarantine and try again. Following that advice, I cleared:

Logs of received and sent emails
All emails in quarantine
My server processes between 70,000 and 100,000 emails daily, both incoming and outgoing.

After this cleanup, the second migration attempt completed successfully without any issues.

Experience with the new iRedMail EE interface
Upon logging into the new admin panel, I immediately noticed a modern and intuitive interface compared to the previous iRedAdmin-Pro. This significantly simplifies server management.

I particularly like the ability to enable and disable individual components directly from the web interface, offering great flexibility in administration. However, I won’t reveal everything—I'll let you explore the details!

3

Re: Pls. share your experiences when migrating to the EE version

Major issues and feature requests
While the new system brings many improvements, I’ve identified two critical shortcomings that I believe should be addressed:

Lack of an export/import option for server configuration, users, and domains via the web interface.

This feature would make server migration or disaster recovery much easier and faster. Right now, the process is more complicated than it should be.
Lack of sorting options for users by mailbox size and last login.

Mailbox size: I don’t use per-user quotas, meaning users can utilize all available storage. However, the ability to sort users by mailbox size would be useful.
Comment by Zhang Huangbin: This issue has been fixed.

Last login: This is crucial for managing inactive users and overall system maintenance. I believe the user search options should be improved, adding filters for the last login.
Comment by Zhang Huangbin: This issue has been fixed.

Additional suggestions for improvement
-The "blacklist" column should have a black color for better visual distinction.
-Add an option to prevent "Domain Administrators" from enabling 2FA for users. Comment by Zhang Huangbin: 2FA is now available for admin and end users.
-Include a checkbox in the web interface for selecting standard DNSBL lists instead of requiring manual configuration.

Final thoughts
Overall, kudos to the developers for an excellent update! iRedMail EE is on the right path to becoming one of the best mail server solutions for Linux.

A big thank you to Zhang for always being there to assist, whether through the forum or support tickets!

4

Re: Pls. share your experiences when migrating to the EE version

Thank you very much for sharing the experience. big_smile

TiTo wrote:

Lack of an export/import option for server configuration, users, and domains via the web interface.

Will finish it shortly.

TiTo wrote:

Lack of sorting options for users by mailbox size and last login.

Work in progress.

TiTo wrote:

Last login: This is crucial for managing inactive users and overall system maintenance. I believe the user search options should be improved, adding filters for the last login.

Do you mean you need a page to list inactive users of all domains instead of just one domain?

TiTo wrote:

-The "blacklist" column should have a black color for better visual distinction.

We use red text as a "danger" signal.

TiTo wrote:

-Add an option to prevent "Domain Administrators" from enabling 2FA for users.

2FA requires user to scan the QR code, domain admin can not enable 2FA for users, but it's ok to disable it.

TiTo wrote:

-Include a checkbox in the web interface for selecting standard DNSBL lists instead of requiring manual configuration.

This is on our todo list, no ETA yet.

5

Re: Pls. share your experiences when migrating to the EE version

ZhangHuangbin wrote:

Thank you very much for sharing the experience. big_smile

It's important that we share our experiences with installation and migration so that other users can gain insight into potential issues and make the process easier and more predictable for themselves. The more we share, the more we help each other avoid obstacles and improve the overall experience.

TiTo wrote:

Lack of an export/import option for server configuration, users, and domains via the web interface.

ZhangHuangbin wrote:

Will finish it shortly.

Thank you for working on this! I really appreciate the effort to implement this feature.

I just want to emphasize once again that this is extremely important, as it would make server migration and disaster recovery much faster and easier. Having a simple export/import option via the web interface would save a lot of time and reduce the complexity of the process.

TiTo wrote:

Lack of sorting options for users by mailbox size and last login.

ZhangHuangbin wrote:

Work in progress.

Great! For me, it's crucial to see the mailbox size of users, and if quotas are enabled, it should also be possible to see how much space is used.

This would greatly help in managing storage and identifying users who are reaching their limits.

TiTo wrote:

Last login: This is crucial for managing inactive users and overall system maintenance. I believe the user search options should be improved, adding filters for the last login.

ZhangHuangbin wrote:

Do you mean you need a page to list inactive users of all domains instead of just one domain?

I think inactive users should be visible per domain, so that the domain administrator can see which users are inactive within their domain.

The global administrator already has access to all domains, so they naturally have a complete overview. This way, both domain and global administrators can efficiently manage inactive users within their respective scopes.

TiTo wrote:

-The "blacklist" column should have a black color for better visual distinction.

ZhangHuangbin wrote:

We use red text as a "danger" signal.

Red is a danger but black is a black smile

TiTo wrote:

-Add an option to prevent "Domain Administrators" from enabling 2FA for users.

ZhangHuangbin wrote:

2FA requires user to scan the QR code, domain admin can not enable 2FA for users, but it's ok to disable it.

I hope that in one of the upcoming versions, users will be able to enable 2FA for themselves through the User Self-Service Panel. This would give users more control over their security settings while reducing the administrative workload.
Comment by Zhang Huangbin: 2FA is now available in EE for admin and end users.

Would this be a planned feature in future updates?

TiTo wrote:

-Include a checkbox in the web interface for selecting standard DNSBL lists instead of requiring manual configuration.

ZhangHuangbin wrote:

This is on our todo list, no ETA yet.

Great, thank you

6 (edited by mano 2025-02-15 20:24:59)

Re: Pls. share your experiences when migrating to the EE version

Just migrated from iredmail to EE Version.

Piece of cake, well....once I rebuilt the Ubuntu 22 LTS version to  a New Ubuntu 24 LTS version. The Release Update totally scrambled the instance and was unusable. Quicker to Create an new and copy the data across.
Lessons Learnt:
The wget -O iredmail https://dl.iredmail.org/ee/iredmail-ent … inux-arm64 failed on some expiry error, couple of nights ago, so used the latest download link instead. Not an issue anymore.
There is a unbind option on the permanent key link, if used already on a test instance. Quick response from the support team, cleared my issue when reused.

Otherwise, all good, as it will make any future updates that much faster.

Worthwhile upgrade.

7

Re: Pls. share your experiences when migrating to the EE version

mano wrote:

once I rebuilt the Ubuntu 22 LTS version to  a New Ubuntu 24 LTS version. The Release Update totally scrambled the instance and was unusable. Quicker to Create an new and copy the data across.

As IT professionals, we understand that reinstalling a new operating system is often the fastest and easiest solution in many scenarios. However, for this process to be efficient, we need the ability to export and import configurations, user data, databases, and other essential settings through the web interface. This would ensure a seamless migration and minimal downtime, allowing for quick recovery and system reconfiguration without extensive manual intervention.

8

Re: Pls. share your experiences when migrating to the EE version

I upgraded last night to EE and everything appeared to be running smoothly. But this morning I realized that the quarantine can only be seen by the global admin and the search does not appear to work. When a user or domain admin login they do not see anything in the quarantine.

I also got my morning email from iRedAdmin-Pro that I had stuff in my quarantine. I am concerned that when I installed EE it left some components around that are competing with the new services?

I also noticed on the global admin quarantine page the sender/recipient do not show.

Otherwise I do like the new interface. Being able to scroll through all options rather than hunt through tabs is nice.

Post's attachments

CleanShot 2025-03-17 at 12.19.47@2x.png 120.45 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

9 (edited by barasmith 2025-03-18 03:36:11)

Re: Pls. share your experiences when migrating to the EE version

After reading the thread and seeing someone else had issues with quarantine I just decided to press the "Delete All" button and that seems to have cured the problem. A message has been quarantined and it has sender/recipient fields and it shows up in the user context.

Seems to only be an issue with spam moved from the old platform to the new?

barasmith wrote:

I upgraded last night to EE and everything appeared to be running smoothly. But this morning I realized that the quarantine can only be seen by the global admin and the search does not appear to work. When a user or domain admin login they do not see anything in the quarantine.

I also got my morning email from iRedAdmin-Pro that I had stuff in my quarantine. I am concerned that when I installed EE it left some components around that are competing with the new services?

I also noticed on the global admin quarantine page the sender/recipient do not show.

Otherwise I do like the new interface. Being able to scroll through all options rather than hunt through tabs is nice.

10

Re: Pls. share your experiences when migrating to the EE version

barasmith wrote:

the quarantine can only be seen by the global admin and the search does not appear to work. When a user or domain admin login they do not see anything in the quarantine.
...
I also noticed on the global admin quarantine page the sender/recipient do not show.

Working on it.

11

Re: Pls. share your experiences when migrating to the EE version

barasmith wrote:

I also noticed on the global admin quarantine page the sender/recipient do not show.

When did these emails get quarantined? Was it before migrated to EE? If yes, then it's normal, because EE doesn't update sql records of existing quarantined emails (to avoid performance issue if it contains too many records).

You can fix it manually with MySQL commands below:

UPDATE msgs SET sender_mail=(SELECT email_raw FROM maddr WHERE id=sid LIMIT 1);
UPDATE msgs SET sender_domain=(SELECT substring_index(email_raw,"@",-1) FROM maddr WHERE id=sid LIMIT 1);
UPDATE msgs INNER JOIN msgrcpt ON msgs.mail_id = msgrcpt.mail_id SET msgs.rid = msgrcpt.rid WHERE msgs.mail_id = msgrcpt.mail_id;
UPDATE msgs SET rcpt_mail=(SELECT email_raw FROM maddr WHERE id=rid LIMIT 1);
UPDATE msgs SET rcpt_domain=(SELECT SUBSTRING_INDEX(email_raw,"@",-1) FROM maddr WHERE id=rid LIMIT 1);

12

Re: Pls. share your experiences when migrating to the EE version

The messages were quarantined prior to the migration. I just deleted them all and from then on things started working fine. I did not get a chance to try the SQL instructions before clearing them.

ZhangHuangbin wrote:
barasmith wrote:

I also noticed on the global admin quarantine page the sender/recipient do not show.

When did these emails get quarantined? Was it before migrated to EE? If yes, then it's normal, because EE doesn't update sql records of existing quarantined emails (to avoid performance issue if it contains too many records).

You can fix it manually with MySQL commands below:

UPDATE msgs SET sender_mail=(SELECT email_raw FROM maddr WHERE id=sid LIMIT 1);
UPDATE msgs SET sender_domain=(SELECT substring_index(email_raw,"@",-1) FROM maddr WHERE id=sid LIMIT 1);
UPDATE msgs INNER JOIN msgrcpt ON msgs.mail_id = msgrcpt.mail_id SET msgs.rid = msgrcpt.rid WHERE msgs.mail_id = msgrcpt.mail_id;
UPDATE msgs SET rcpt_mail=(SELECT email_raw FROM maddr WHERE id=rid LIMIT 1);
UPDATE msgs SET rcpt_domain=(SELECT SUBSTRING_INDEX(email_raw,"@",-1) FROM maddr WHERE id=rid LIMIT 1);

13

Re: Pls. share your experiences when migrating to the EE version

I noticed that the settings for "SMTP Account For Notifications" and "Custom Branding" are cleared when certain other panels are saved. For example "Domain Ownership Verification" will clear those to panels.

As another data point when you submit most panels the page does not change but you just get the "Updated!" indication at the top. All panels that cause the page to be refreshed seem to clear the SMTP and Branding panels.

14

Re: Pls. share your experiences when migrating to the EE version

barasmith wrote:

I noticed that the settings for "SMTP Account For Notifications" and "Custom Branding" are cleared when certain other panels are saved. For example "Domain Ownership Verification" will clear those to panels.

As another data point when you submit most panels the page does not change but you just get the "Updated!" indication at the top. All panels that cause the page to be refreshed seem to clear the SMTP and Branding panels.

Investigating. Stay tuned.

15

Re: Pls. share your experiences when migrating to the EE version

barasmith wrote:

I noticed that the settings for "SMTP Account For Notifications" and "Custom Branding" are cleared when certain other panels are saved. For example "Domain Ownership Verification" will clear those to panels.

As another data point when you submit most panels the page does not change but you just get the "Updated!" indication at the top. All panels that cause the page to be refreshed seem to clear the SMTP and Branding panels.

BUG confirmed, working on it. It may take few days since we're working on "Forgot Password" feature, thanks for your patience.