1

Topic: Add one mailbox to two domain

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

I have iRedmail as mail server for 7 branch with different domain

I need make that if i have user@domain1.com and the same user but on anther domain user@domain2.com.
I need if any E-mail received on user@domain1.com , received the same E-amil on anther mail user@domain2.com.

I don't like option forward e-mail from frist domain to anther domain

I need set mailbox on domain1 for user is same mailbox on domain2

I need to know how Domain2 read all mailbox from domain1 ?

----

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

2

Re: Add one mailbox to two domain

I believe this is what you want: Alias Domain

https://docs.iredmail.org/sql.add.alias.domain.html

This will make domain1 and domain2 be exactly the same as each other.  All users in domain1 will also be in domain2 and each user will have a single mailbox where email from both domains will be delivered.

3

Re: Add one mailbox to two domain

Not sure whether i understand your request correctly, if you just want to share one mailbox by 7 different mail addresses, just set the maildir paths of 7 mail addresses to the same one.

4

Re: Add one mailbox to two domain

stahr wrote:

I believe this is what you want: Alias Domain

https://docs.iredmail.org/sql.add.alias.domain.html

This will make domain1 and domain2 be exactly the same as each other.  All users in domain1 will also be in domain2 and each user will have a single mailbox where email from both domains will be delivered.


Thanks for your replying
but i use Open Source iRedMail not Pro

5

Re: Add one mailbox to two domain

i use iRedmail for 7 branch example "x1.com , x2.com , ..... , X7.com"

I need mailbox for users in x1.com showing the same mailbox in x2.com

example user@x1.com , showing the same mailbox on user@x2.com

how can i set the maildir paths of x1.com & x2.com the same path ??

6

Re: Add one mailbox to two domain

prince wrote:

i use iRedmail for 7 branch example "x1.com , x2.com , ..... , X7.com"

I need mailbox for users in x1.com showing the same mailbox in x2.com

example user@x1.com , showing the same mailbox on user@x2.com

how can i set the maildir paths of x1.com & x2.com the same path ??


If I understand you correctly, you want the two (or seven?) domains to be equivalent to each other - completely interchangeable with each other.  If so, that's called an "alias domain".  All users are setup in the primary domain but will receive email for all alias domains as well.

As for the instructions on how to set up an alias domain, it is on the same page I referred to you before, but you have to do the SQL instructions by hand in order to set it up:

https://docs.iredmail.org/sql.add.alias … l-commands

-James

7

Re: Add one mailbox to two domain

- Are all 7 domains hosted on different servers?
- Do you need this for all mail users under 7 domains? do all 7 domains have same mail accounts?