Topic: Add a second 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? Downloadable installer
- Linux/BSD distribution name and version: Debian 9.8.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- 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.
====
Hi, I added a second domain (mail.domain2.com) to iRedMail server via iRedAdmin. Everything seems to be fine, but when I open the letter sent from the second domain account to Gmail, for example, I see that the name of the first domain (mail.domain1.com) appears in the body of the letter.
Received: from mail.domain1.com (mail.domain2.com [IP-address])
by mx.google.com with ESMTPS id a28si7262916ljm.348.2020.06.21.05.00.29Received: from mail.domain1.com (localhost [127.0.0.1]) by mail.domain1.com (Postfix) with ESMTP id 49qWMK07prz91c for <smith@gmail.com>; Sun, 21 Jun 2020 15:00:29 +0300 (EEST)
Looks like I'm having something wrong with the settings. May be I need to add mail.domain2.com to hosts file? What do I need to fix?
Thank you very much
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.