Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 547
  • Last Modified:

MX and PTR records

I am getting rejected emails and need help fixing.

I currently have a barracuda spam filter. My MX record points to it. I have one exchange server that sends outbound emails directly through the internet. My PTR record is exchange.ABC.com and points to the public IP of MY mail server.  
My question is... The banner message OF my barracuda is barracuda.ABC.com. The barracuda obviously uses a different public IP.

What is the best practice for setting up these records in this scenario?

I have been receiving very vague reaponses ... Can you PLEASE be specific??
0
BSModlin
Asked:
BSModlin
  • 5
  • 3
1 Solution
 
Ugo MenaCommented:
What error codes specifically are you getting with rejected emails?

Do you have an SPF record?
0
 
BSModlinAuthor Commented:
i am on MS block list 1..... I have changed my DNS configurations so many times... that I would like to know what best practice is.....
0
 
Ugo MenaCommented:
Best practice is to use SPF records in addition to properly setup DNS records.
It would seem that:

Your MX record for your Barracuda is OK.
The PTR record for your Exchange (outbound) is also OK.

You need to setup an SPF record to specify the IP addresses that can send mail for your domain, this also tells the receiving servers to only allow the outbound servers you listed.

SPF can be kinda tricky to setup.

Assuming the Barracuda can send mail then your SPF txt should look like this:

“v=spf1 mx ip4:enter your Exchange IP here ~all”

Open in new window

     
If the Barracuda does not send email, but only receives, then exclude the mx part:

“v=spf1 ip4:enter your Exchange IP here ~all”

Open in new window


The all parameter has three switches that it can use:

-: Do not accept any mail from anyone other than listed above; hard-fail.

~: Do not accept any email that does not come from one of the above; allow but soft-fail the email.
 
?: Indicates that there are more servers that may be sending from our domain.

There is a lot more explaining that can be done for each parameter, but this is best left to www.openspf.org
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
BSModlinAuthor Commented:
So would it look like this:

v=spf1 ip4:1.1.1.1 ~all
0
 
Ugo MenaCommented:
Yes. That would indicate that IP 1.1.1.1 is allowed to send email for the domain with a soft fail on messages delivered from anywhere else.
0
 
BSModlinAuthor Commented:
What is a soft fail....
0
 
Ugo MenaCommented:
SoftFail :The SPF record has designated the host as NOT being
allowed to send but is in transition accept, but mark the message.

Fail :The SPF record has designated the host as NOT being allowed to
send, reject the message.

Spammers have been known to forge domains and many admins will use the SPF hard fail to deter this. I typically will use a soft fail and will escalate the SPAM scores based on this and other parameters, however the false positive rate from SPF (hard fail) rejection is thought by many to be very low.
0
 
Simon Butler (Sembee)ConsultantCommented:
Before you get on to SPF records, you need to sort out the basics.
SPF records depend on the basic DNS settings being correct.

If you have an appliance, then use that for inbound and outbound email, unless you can give Exchange its own external IP address, FQDN and matching PTR. The Exchange server does not have to be exposed to the internet for SMTP traffic, but you do need to ensure the rest is correct.

Simon.
0
 
Ugo MenaCommented:
Thanks! I hope that you got this sorted out.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now