Solved

Mail server ptr record

Posted on 2007-04-05
5
376 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
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
In this video we show how to create an Address List 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 Organization >> Ad…
In this video we show how to create an Accepted Domain 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 >> Ac…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now