Solved

Mail server ptr record

Posted on 2007-04-05
5
374 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Free Email Signature. 3 54
People Counting Software 2 62
Auto channel for WiFi (Access Point) 3 50
LINUX CENTOS + APACHE 9 36
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Distribution Group 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 Recipients >>…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

757 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

22 Experts available now in Live!

Get 1:1 Help Now