Hi,
I googled "I want to make my sub-domain as an email domain" + "DirectAdmin" + "Namecheap" and I found the solution is to use namecheap's FreeDNS for my sub-domain so I can config my main domain and sub-domain separately then I can receive emails that are sent to xxx@sub.domain.com.
First, I filled in the POP information for both main domain and subdomain at Outlook in order to receive emails. Then I set email forwarding in DirectAdmin to instruct the system to forward the emails to xxx@outlook.com. So Outlook can categorize them to specified folder finally I can view the message in Outlook and also reply as xxx@sub.domain.com.
But there is a problem, I have to face with 2 same emails send to my mailbox. Because the performance of email composing in DirectAdmin (or SquirrelMail), so I decided to receive and compose them in Outlook. But I received 2 same emails (time, subject, message except source code).
Then I asked for help from namecheap to see if they know if there is any setting in namecheap duplicated or incorrect. But I get a negative result. They said my settings are correct in namecheap, the problem should be the mail server. After that I login the SquirrelMail to see if this mailbox also received 2 same emails, and you know what? NO, I've got only 1 email!
So I know what should I do now, could anybody please help me, thank you very much!
------ DNS Settings of Subdomain ------
ftp A ip1.ip2.ip3.ip4
sub.domain.com. A ip1.ip2.ip3.ip4
localhost A 127.0.0.1
mail A ip1.ip2.ip3.ip4
pop A ip1.ip2.ip3.ip4
smtp A ip1.ip2.ip3.ip4
www A ip1.ip2.ip3.ip4
sub.domain.com. NS ns1.domain.com.
sub.domain.com. NS ns2.domain.com.
sub.domain.com. MX 10 mail
sub.domain.com. MX 10 mail.sub.domain.com
sub.domain.com. TXT "v=spf1 a mx ip4:ip1.ip2.ip3.ip4 ~all"
localhost AAAA ::1
------ DNS Settings for Domain ------
ftp A ip1.ip2.ip3.ip4
domain.com. A ip1.ip2.ip3.ip4
localhost A 127.0.0.1
mail A ip1.ip2.ip3.ip4
pop A ip1.ip2.ip3.ip4
smtp A ip1.ip2.ip3.ip4
www A ip1.ip2.ip3.ip4
domain.com. NS ns1.domain.com.
domain.com. NS ns2.domain.com.
domain.com. MX 10 mail
domain.com. MX 10 mail.domain.com
domain.com. TXT "v=spf1 a mx ip4:ip1.ip2.ip3.ip4 ~all"
localhost AAAA ::1
------ Source Code 1 ------
x-store-info:sbevkl2QZR7OXo7WID5ZcV65/pkDWk7TC8wO6OqZUZTgFglWGr3IidQyWZ2TzzzxowM7BUmAjuV0rqyRwZbeLkXMFZpsGl1RUHTj8YGUobwYqPoiV6b+TmllJFwaLqEO8Rgz276wv2s=
Authentication-Results: hotmail.com; spf=pass (sender IP is ip1.ip2.ip3.ip4) smtp.mailfrom=user@sub.domain.com; dkim=none header.d=sub.domain.com; x-hmca=pass header.id=noreply@sub.domain.com
X-SID-PRA: noreply@sub.domain.com
X-AUTH-Result: PASS
X-SID-Result: PASS
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0xO0Q9MTtHRD0xO1NDTD0w
X-Message-Info: NhFq/7gR1vTdWxRTMx4KX6GBGiPtJd1977y6ZLpteCZNGBVLdr/HmHDF7f87IynJ6MBlkCD01s+R0NBqY+kQaQh48Hy0COLRBS/uT8601F43U9QXIFyvRXr2uOy8p4Pw0Aj2BElqc1ZIoFiMShdd72bpkfNWyJnNqBnYUJJm8b9DfKQzDUelTUdC1kjOEXFSEvEKitGUtXSqvmqvZTjU3N9iUkU3toMQ
Received: from mail.domain.com ([ip1.ip2.ip3.ip4]) by COL004-MC5F7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751);
Wed, 25 Feb 2015 21:22:59 -0800
Received: from user by mail.domain.com with local (Exim 4.76)
(envelope-from <user@sub.domain.com>)
id 1YQquW-00059x-W0
for user@domain.com; Thu, 26 Feb 2015 13:22:57 +0800
To: "Akira Akiyama " <user@domain.com>
Subject: =?UTF-8?b?W2V0bldlYiBIb3N0aW5nXSDmiJHlgJHlt7LntpPmlLbliLDplqPkuIvnmoTmn6XoqaI=?=
X-PHP-Originating-Script: 536:mailer.php
From: "Akira Akiyama" <noreply@sub.domain.com>
Reply-To: "Akira Akiyama" <noreply@sub.domain.com>
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Message-Id: <E1YQquW-00059x-W0@mail.domain.com>
Date: Thu, 26 Feb 2015 13:22:56 +0800
Return-Path: user@sub.domain.com
X-OriginalArrivalTime: 26 Feb 2015 05:22:59.0648 (UTC) FILETIME=[49071C00:01D05184]
------ Source Code 2 ------
X-Message-Info-Pas: D40Rtw1NtPiT9MNjQ0GSiSd3cxVd4ID1C9MITq4fxUoVTOCiNe47bj0vFB8d7V9jyvsm0oK4wiTCpKA5H7Kh0pPhWmYkazWe
Return-path: <user@sub.domain.com>
Envelope-to: user@domain.com
Delivery-date: Thu, 26 Feb 2015 13:22:57 +0800
Received: from user by mail.domain.com with local (Exim 4.76)
(envelope-from <user@sub.domain.com>)
id 1YQquW-00059x-W0
for user@domain.com; Thu, 26 Feb 2015 13:22:57 +0800
To: "Akira Akiyama " <user@domain.com>
Subject: =?UTF-8?b?W2V0bldlYiBIb3N0aW5nXSDmiJHlgJHlt7LntpPmlLbliLDplqPkuIvnmoTmn6XoqaI=?=
X-PHP-Originating-Script: 536:mailer.php
From: "Akira Akiyama" <noreply@sub.domain.com>
Reply-To: "Akira Akiyama" <noreply@sub.domain.com>
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Message-Id: <E1YQquW-00059x-W0@mail.domain.com>
Date: Thu, 26 Feb 2015 13:22:56 +0800
I googled "I want to make my sub-domain as an email domain" + "DirectAdmin" + "Namecheap" and I found the solution is to use namecheap's FreeDNS for my sub-domain so I can config my main domain and sub-domain separately then I can receive emails that are sent to xxx@sub.domain.com.
First, I filled in the POP information for both main domain and subdomain at Outlook in order to receive emails. Then I set email forwarding in DirectAdmin to instruct the system to forward the emails to xxx@outlook.com. So Outlook can categorize them to specified folder finally I can view the message in Outlook and also reply as xxx@sub.domain.com.
But there is a problem, I have to face with 2 same emails send to my mailbox. Because the performance of email composing in DirectAdmin (or SquirrelMail), so I decided to receive and compose them in Outlook. But I received 2 same emails (time, subject, message except source code).
Then I asked for help from namecheap to see if they know if there is any setting in namecheap duplicated or incorrect. But I get a negative result. They said my settings are correct in namecheap, the problem should be the mail server. After that I login the SquirrelMail to see if this mailbox also received 2 same emails, and you know what? NO, I've got only 1 email!
So I know what should I do now, could anybody please help me, thank you very much!
------ DNS Settings of Subdomain ------
ftp A ip1.ip2.ip3.ip4
sub.domain.com. A ip1.ip2.ip3.ip4
localhost A 127.0.0.1
mail A ip1.ip2.ip3.ip4
pop A ip1.ip2.ip3.ip4
smtp A ip1.ip2.ip3.ip4
www A ip1.ip2.ip3.ip4
sub.domain.com. NS ns1.domain.com.
sub.domain.com. NS ns2.domain.com.
sub.domain.com. MX 10 mail
sub.domain.com. MX 10 mail.sub.domain.com
sub.domain.com. TXT "v=spf1 a mx ip4:ip1.ip2.ip3.ip4 ~all"
localhost AAAA ::1
------ DNS Settings for Domain ------
ftp A ip1.ip2.ip3.ip4
domain.com. A ip1.ip2.ip3.ip4
localhost A 127.0.0.1
mail A ip1.ip2.ip3.ip4
pop A ip1.ip2.ip3.ip4
smtp A ip1.ip2.ip3.ip4
www A ip1.ip2.ip3.ip4
domain.com. NS ns1.domain.com.
domain.com. NS ns2.domain.com.
domain.com. MX 10 mail
domain.com. MX 10 mail.domain.com
domain.com. TXT "v=spf1 a mx ip4:ip1.ip2.ip3.ip4 ~all"
localhost AAAA ::1
------ Source Code 1 ------
x-store-info:sbevkl2QZR7OXo7WID5ZcV65/pkDWk7TC8wO6OqZUZTgFglWGr3IidQyWZ2TzzzxowM7BUmAjuV0rqyRwZbeLkXMFZpsGl1RUHTj8YGUobwYqPoiV6b+TmllJFwaLqEO8Rgz276wv2s=
Authentication-Results: hotmail.com; spf=pass (sender IP is ip1.ip2.ip3.ip4) smtp.mailfrom=user@sub.domain.com; dkim=none header.d=sub.domain.com; x-hmca=pass header.id=noreply@sub.domain.com
X-SID-PRA: noreply@sub.domain.com
X-AUTH-Result: PASS
X-SID-Result: PASS
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0xO0Q9MTtHRD0xO1NDTD0w
X-Message-Info: NhFq/7gR1vTdWxRTMx4KX6GBGiPtJd1977y6ZLpteCZNGBVLdr/HmHDF7f87IynJ6MBlkCD01s+R0NBqY+kQaQh48Hy0COLRBS/uT8601F43U9QXIFyvRXr2uOy8p4Pw0Aj2BElqc1ZIoFiMShdd72bpkfNWyJnNqBnYUJJm8b9DfKQzDUelTUdC1kjOEXFSEvEKitGUtXSqvmqvZTjU3N9iUkU3toMQ
Received: from mail.domain.com ([ip1.ip2.ip3.ip4]) by COL004-MC5F7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751);
Wed, 25 Feb 2015 21:22:59 -0800
Received: from user by mail.domain.com with local (Exim 4.76)
(envelope-from <user@sub.domain.com>)
id 1YQquW-00059x-W0
for user@domain.com; Thu, 26 Feb 2015 13:22:57 +0800
To: "Akira Akiyama " <user@domain.com>
Subject: =?UTF-8?b?W2V0bldlYiBIb3N0aW5nXSDmiJHlgJHlt7LntpPmlLbliLDplqPkuIvnmoTmn6XoqaI=?=
X-PHP-Originating-Script: 536:mailer.php
From: "Akira Akiyama" <noreply@sub.domain.com>
Reply-To: "Akira Akiyama" <noreply@sub.domain.com>
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Message-Id: <E1YQquW-00059x-W0@mail.domain.com>
Date: Thu, 26 Feb 2015 13:22:56 +0800
Return-Path: user@sub.domain.com
X-OriginalArrivalTime: 26 Feb 2015 05:22:59.0648 (UTC) FILETIME=[49071C00:01D05184]
------ Source Code 2 ------
X-Message-Info-Pas: D40Rtw1NtPiT9MNjQ0GSiSd3cxVd4ID1C9MITq4fxUoVTOCiNe47bj0vFB8d7V9jyvsm0oK4wiTCpKA5H7Kh0pPhWmYkazWe
Return-path: <user@sub.domain.com>
Envelope-to: user@domain.com
Delivery-date: Thu, 26 Feb 2015 13:22:57 +0800
Received: from user by mail.domain.com with local (Exim 4.76)
(envelope-from <user@sub.domain.com>)
id 1YQquW-00059x-W0
for user@domain.com; Thu, 26 Feb 2015 13:22:57 +0800
To: "Akira Akiyama " <user@domain.com>
Subject: =?UTF-8?b?W2V0bldlYiBIb3N0aW5nXSDmiJHlgJHlt7LntpPmlLbliLDplqPkuIvnmoTmn6XoqaI=?=
X-PHP-Originating-Script: 536:mailer.php
From: "Akira Akiyama" <noreply@sub.domain.com>
Reply-To: "Akira Akiyama" <noreply@sub.domain.com>
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Message-Id: <E1YQquW-00059x-W0@mail.domain.com>
Date: Thu, 26 Feb 2015 13:22:56 +0800
I always receive 2 same emails
Aucun commentaire:
Enregistrer un commentaire