1 (edited by asamusa 2015-10-14 13:44:49)

Topic: Multiple Domain

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 15.04 x64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? : Nope
- Related log if you're reporting an issue: No issue smile
====
Hi, Could you please GUIDE me, I'm professional script kitty.

I have two domains : first.cc, second.cc

I have setup iRedMail for first.cc. (sending, recieving email works, all configured ssl etc all good).

Now I want second.cc to be able to send and recieve. So I did this :
Go to : "first.cc/iredadmin/create/domain" and add second.cc
Then : add postmaster@second.cc email box.
Then tested postmaster@second.cc, and I can send email.
Then Tested postmaster@second.cc, and I can't recieve emails.

My DNS of second.cc :
*    A    IP-of-second-server
@    A    IP-of-second-server
localhost    A    127.0.0.1
mail    A    IP-of-first.cc
@    MX    10 mail.first.cc.
@    TXT    "v=spf1 mx mx:first.cc -all"
dkim._domainkey    TXT    "v=DKIM1; p=KEYYYYKEYYY"

Could you please tell me, what have gone wrong ? Why i cant recieve emails to postmaster@second.cc ?

----

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

2 (edited by asamusa 2015-10-14 14:09:23)

Re: Multiple Domain

asamusa wrote:

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 15.04 x64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? : Nope
- Related log if you're reporting an issue: No issue smile
====
Hi, Could you please GUIDE me, I'm professional script kitty.

I have two domains : first.cc, second.cc

I have setup iRedMail for first.cc. (sending, recieving email works, all configured ssl etc all good).

Now I want second.cc to be able to send and recieve. So I did this :
Go to : "first.cc/iredadmin/create/domain" and add second.cc
Then : add postmaster@second.cc email box.
Then tested postmaster@second.cc, and I can send email.
Then Tested postmaster@second.cc, and I can't recieve emails.

My DNS of second.cc :
*    A    IP-of-second-server
@    A    IP-of-second-server
localhost    A    127.0.0.1
mail    A    IP-of-first.cc
@    MX    10 mail.first.cc.
@    TXT    "v=spf1 mx mx:first.cc -all"
dkim._domainkey    TXT    "v=DKIM1; p=KEYYYYKEYYY"

Could you please tell me, what have gone wrong ? Why i cant recieve emails to postmaster@second.cc ?

Hi, Looks like i was not patient enough. After 30 min, my DNS updated, and now i can recieve and send emails From second domain name. BUT , i still have a question.
dkim._domainkey    TXT    "v=DKIM1; p=KEYYYYKEYYY" can duplicate on every domain i own ?
Also : Now, when i enter mail.second.cc , i get nasty warning, that certificate belongs to first.cc. How to fix it ?
Also : Why don't you add iRedAdmin UI element, to add ssl.crt ssl.key for each domain(when adding domain) ?