Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Mail server ptr record

Posted on 2007-04-05
5
Medium Priority
?
399 Views
Last Modified: 2013-12-17
i have a mail server in my company, i'm using linux, sendmail and bind i have it installed on the same server. i have 2 domains on the same server  x.com and y.com, i have my isp ptr record pointing to mail.x.com and mail.y.com, for some reason i can't send emails from mail.x.com to some domains that check ptr records, but i can with mail.y.com. my question is how do i need to setup my mail exchanger because i think is the order of my ptr records and those servers are pulling the first record, i did some read about it, and it is recommended to have just one ptr record, but how do i setup my 2 email domains over the same server and same ip? please help!!!
0
Comment
Question by:DoradoITTeam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 19

Expert Comment

by:feptias
ID: 18864888
You should have the MX records for both domains - x and y - pointing to a single mail server host record. Then there will only be a need for one PTR record matching the single mail server host record.

Then check that your DNS is set correctly by running reports for each domain using this link:
http://www.dnsreport.com/
0
 

Author Comment

by:DoradoITTeam
ID: 18947368
Do i need to change my server hostaname? or just create my mx exchanger and point the 2 domains on the same server..
0
 
LVL 19

Accepted Solution

by:
feptias earned 2000 total points
ID: 18952370
It depends if the server hostname is used in the SMTP header when you send mail. This can be easily checked by sending an e-mail from an account in domain x or y to an external account. After it has been received it should be easy to view the headers although the exact method for doing so depends on the e-mail client: In MS Outlook you can right-click on an e-mail in the Inbox and select Properties (Outlook Express) or Options (Office Outlook). You need to look for the section that says "Received: from ....." within the headers.

Once you have established what name and IP address is shown for your mail server in the headers, then you need to ensure that the Internet DNS for that name and that IP address are configured correctly. If the name appearing in the headers is not the one you want to use then changing the server hostname may be one way to change it. My expertise is more in Windows than Linux - I know that MS Exchange allows you to set the mail server name that appears in the headers to something different to the actual server hostname. Your mail server may also allow this.

To be able to send mail to those domains that check ptr, you need your public DNS records configured as follows:
A forward lookup on the server name shown in the header must return the IP address shown in the header
A reverse lookup (using the PTR record) on the IP address shown in the header must return the server name shown in the header.

While you are looking at this subject, I recommend you also take a look at SPF. It is another mechanism that helps prevent spoofing of mail server names by spammers. Here are some links:
http://www.openspf.org/Introduction
http://en.wikipedia.org/wiki/Sender_Policy_Framework
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question