Installation automa...
 
Notifications
Clear all

Installation automatically configures domain instead of subdomain

2 Posts
2 Users
0 Reactions
331 Views
(@blazer79)
Joined: 6 months ago
Posts: 3
Topic starter  

Hello:

This is my first time installing Carbonio. I've been using Zimbra for years and now I'm trying to migrate to Carbonio.

I just installed a server and named it mail3.dominio1.com which is going to handle @mail3.dominio1.com emails and I also need to add other domains dominio2.com and dominio3.com so this server also needs to handle @dominio2.com and @dominio3.com emails. Emails for dominio1.com are handled externally by google and need to keep it that way

The problem I have is that when I setup carbonio and configured it as mail3.dominio1.com it automatically created dominio1.com as the default domain. Even the admin login is created as zextras@dominio1.com.  This causes a problem because then it tries to deliver @dominio1.com emails to itself instead of google whenever a user from the configured domains tries to send email to that domain. 

For installation, I used the automatic script based installation described here: https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html

I set /etc/hostname to mail3.dominio1.com
/etc/hosts has xxx.xxx.xxx.xxx mail3.dominio1.com mail3

How can I install carbonio and have the default domain be mail3.dominio1.com instead of dominio1.com? 

Any help greatly appreciated.

This topic was modified 6 months ago by Blazer79

   
Quote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@blazer79

Hi,

The way you have set hostname & hosts file is not the correct one considering what you want to achieve.

As per your hostname and hosts entry, server detects mail3 as (aliases/shortname) and mail3.dominio1.com as (canonical_hostname/FQDN)

Therefore, if you want to use mail3.dominio1.com as domain then your hostname and hosts file should look like:

root@webmail:~# cat /etc/hostname
webmail.email3.dominio1.com
root@webmail:~#
root@webmail:~# cat /etc/hosts
127.0.0.1 localhost
AA.BB.CC.DD webmail.email3.dominio1.com webmail
root@webmail:~#

I hope it helps.

Regards,

Sharif

This post was modified 6 months ago by Md. Shariful Islam

   
ReplyQuote