1

Topic: Secondary Server Setup

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi Guys,

Config:
Iredmail Version 0.9.9
Store mail Accounts =  mysql
Web Server - Nginx
Manage mail account with iredmail
ubuntu 18.04

I created ubuntu 18.04 VM secondary server with the same configuration as my physical iredmail main server even the password for mysql, iredmail version and ubuntu version and so forth.

I tried exporting all the databases from main iredmail server and import it to secondary server and even copied all the files from /var/vmail/ and paste it to the secondary server but still email are not copied to secondary server.

Any step by step guide on how can i solve this issue? Your help is very much appreciated.

Thanks
JunG

----

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

2

Re: Secondary Server Setup

jdguevarrajr wrote:

but still email are not copied to secondary server.

Did you set correct file owner and permission for /var/vmail/vmail1?
FYI: https://docs.iredmail.org/migrate.to.ne … erver.html

3

Re: Secondary Server Setup

ZhangHuangbin wrote:
jdguevarrajr wrote:

but still email are not copied to secondary server.

Did you set correct file owner and permission for /var/vmail/vmail1?
FYI: https://docs.iredmail.org/migrate.to.ne … erver.html

Hi Zhang,

Yes, owner and permission are correct.

What i did was, i deleted all the emails in my production server then re-created it again after adding MAILDIR_HASHED = False and MAILDIR_APPEND_TIMESTAMP = False on both server. Then, sent a test message for iredmail to create email profile folder. Then, manually create the same email address in the secondary server and sent a test email. And, manually copied the /var/vmail1/email address from production server to secondary server and EVERYTHING IS WORKING FINE.

My secondary(backup) server is working.

Thank you so much.
JunG