Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 12092

Configure two server with the same domain.

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.1
- Linux/BSD distribution name and version: CentOS release 5.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

Hi.
I'm looking for solution where I want to migrate some mail users from iredmail(HostA) to another server. My goal is to have two severs like this:

- On the host A is several mailboxes for  domain (example.com)
- On the host B are different mailboxes for the same domain (example.com)
- If mail comes on Host A and the mailbox does not exist-> relay to Host B
- if some user from server B will send mail to user in the same domain (user1@example.com(on serverB) -->user2@example.com(on serverA)) and it doesnt exist on B it will be relayed to A.

I already tried it with modifing mysql table mailbox record for transport column smtp:ipofhostB:25 but I want something more universal without modification per user record, or listing users in transport maps.

Best solution will be to transport all mails for domain example.com for non existing mailboxes to server B. Or maybe there is another way?


Viewing all articles
Browse latest Browse all 12092

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>