Solved

SPF record. Cisco Ironport. Office 365 Hybrid

Posted on 2016-08-23
13
566 Views
Last Modified: 2016-08-26
Hi All

Please can someone assist me in creating a SPF record for my domain, ttaf.co.za.

I am running a hybrid environment. All email gets enters my org through my IronPort cluster however sending email is different.

On prem users route their email through my IronPorts. My O365 users send mail directly to the internet.

My MX records are 196.34.160.78 and 79.

This is what i got so far using http://www.spfwizard.net/

ttaf.co.za.  IN TXT "v=spf1 mx a ip4:196.34.160.78/31 a:spf.protection.outlook.com include:ttafcoza.onmicrosoft.com -all"

is that correct?
0
Comment
Question by:TTAF4
[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
  • 8
  • 5
13 Comments
 
LVL 42

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 41767595
No, something like this:

ttaf.co.za.  IN TXT "v=spf1 ip4:196.34.160.78/31 include:spf.protection.outlook.com -all"

Open in new window


You dont need the MX and A clauses, the include clause needs to be for spf.protection.outlook.com, and you dont need to list anythin else.
2
 

Author Comment

by:TTAF4
ID: 41767609
Why dont I need the MX and A clause? Sorry I'm new to this...
0
 
LVL 42

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41767654
Because the MX points to the same IP range, and you're not going to be sending via any other on-prem servers/IPs. You can leave them if it makes you feel safer :)
1
2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

 

Author Comment

by:TTAF4
ID: 41768630
ok thanks man, After I add the SPF records what are the next steps?
0
 
LVL 42

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41768673
Next steps for what?
0
 

Author Comment

by:TTAF4
ID: 41769305
Thanks for all your help thus far. Much appreciated. I have added the SPF entry to my DNS records. It appears to be working but i noticed some of the checks fail along the way. See attached.

2016-08-24-21_04_30-https___mail.goo.png2016-08-24-21_03_58-Message-Details.png
0
 
LVL 42

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41769335
Well your HELO string is referencing the .local domain, and your internal IP addresses. That shouldnt be a problem though, as it's generated at your local servers. The important check, performed by gmail servers, is OK.

Simply configure the IronPort to trust the local senders or disable the SPF check there.
2
 

Author Comment

by:TTAF4
ID: 41769376
How do I correct the HELO string?  Also how do I configure the IronPort to trust the local sender?

Sorry for so many questions. I really appreciate the help.
0
 

Author Comment

by:TTAF4
ID: 41769387
Now I am getting this:



From: Mail Delivery System [mailto:Mailer-Daemon@scorn.aserv.co.za]
Sent: Wed, August 24, 2016 10:05 PM
To: Agent Navz
Subject: Undeliverable: 2204

Delivery has failed to these recipients or groups:
admin@cesco.co.za
A problem occurred during the delivery of this message to this e-mail address. Try sending this message again. If the problem continues, please contact your helpdesk.




Diagnostic information for administrators:
Generating server: scorn.aserv.co.za
admin@cesco.co.za
#< #5.0.0> #SMTP#
Original message headers:
Return-Path: <Agent.Navz@ttaf.co.za>
Received: from spe6.ucebox.co.za ([197.242.152.135]:39014)   by
 scorn.aserv.co.za with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)    (Exim
 4.87)  (envelope-from <Agent.Navz@ttaf.co.za>)       id 1bcePi-0007e9-Vn    for
 admin@cesco.co.za; Wed, 24 Aug 2016 22:04:42 +0200
Received: from ttaf-ironport2.ttaf.co.za ([196.34.160.66]
 helo=is-ironport-02.ttaf.co.za)      by spe6.ucebox.co.za with esmtp (Exim 4.85)
        (envelope-from <Agent.Navz@ttaf.co.za>)       id 1bcePg-0006IG-44    for
 admin@cesco.co.za; Wed, 24 Aug 2016 22:04:44 +0200
Authentication-Results: is-ironport-02.ttaf.co.za; spf=Fail smtp.mailfrom=Agent.Navz@ttaf.co.za; spf=None smtp.helo=postmaster@ttafdatvxmr1.ttaf.local
Received-SPF: Fail (is-ironport-02.ttaf.co.za: domain of
  Agent.Navz@ttaf.co.za does not designate 10.10.16.84 as
  permitted sender) identity=mailfrom; client-ip=10.10.16.84;
  receiver=is-ironport-02.ttaf.co.za;
  envelope-from="Agent.Navz@ttaf.co.za";
  x-sender="Agent.Navz@ttaf.co.za"; x-conformance=spf_only;
  x-record-type="v=spf1"
Received-SPF: None (is-ironport-02.ttaf.co.za: no sender
  authenticity information available from domain of
  postmaster@ttafdatvxmr1.ttaf.local) identity=helo;
  client-ip=10.10.16.84; receiver=is-ironport-02.ttaf.co.za;
  envelope-from="Agent.Navz@ttaf.co.za";
  x-sender="postmaster@ttafdatvxmr1.ttaf.local";
  x-conformance=spf_only
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BiBQAe/b1X/1QQCgpcgnYzAQEBAQFnD?=
 =?us-ascii?q?YEDhxiybYYdAiKBZhECAQEBAQEBAXoLhGgtJjgBDAkVViMDAQQbvWyGWwKDCgE?=
 =?us-ascii?q?whi2BMEqHFYMrgi8FmUiZEoVgg0CMeTSEHYhIfwEBAQ?=
X-IPAS-Result: =?us-ascii?q?A2BiBQAe/b1X/1QQCgpcgnYzAQEBAQFnDYEDhxiybYYdAiK?=
 =?us-ascii?q?BZhECAQEBAQEBAXoLhGgtJjgBDAkVViMDAQQbvWyGWwKDCgEwhi2BMEqHFYMrg?=
 =?us-ascii?q?i8FmUiZEoVgg0CMeTSEHYhIfwEBAQ?=
X-IronPort-AV: E=Sophos;i="5.28,572,1464645600";
   d="scan'208,217";a="4397360"
Received: from unknown (HELO ttafdatvxmr1.ttaf.local) ([10.10.16.84])  by
 is-ironport-02.ttaf.co.za with ESMTP; 24 Aug 2016 22:04:38 +0200
Received: from TTAFDBNVXMR1.ttaf.local (10.20.16.22) by
 TTAFDATVXMR1.ttaf.local (10.10.16.84) with Microsoft SMTP Server (TLS) id
 14.3.266.1; Wed, 24 Aug 2016 22:04:38 +0200
Received: from TTAFDBNVXMR1.ttaf.local ([10.20.16.22]) by
 TTAFDBNVXMR1.ttaf.local ([10.20.16.22]) with mapi id 14.03.0266.001; Wed, 24
 Aug 2016 22:04:37 +0200
From: Agent Navz <Agent.Navz@ttaf.co.za>
To: "admin@cesco.co.za" <admin@cesco.co.za>
Subject: 2204
Thread-Topic: 2204
Thread-Index: AdH+QrwmoBzpFLKNTSqJfCMm4O8R2w==
Date: Wed, 24 Aug 2016 20:04:36 +0000
Message-ID: <D10A8E561117C84C8DA2FEEA1252147223ECAE3D@TTAFDBNVXMR1.ttaf.local>
Accept-Language: en-ZA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.20.16.46]
Content-Type: multipart/alternative;
        boundary="_000_D10A8E561117C84C8DA2FEEA1252147223ECAE3DTTAFDBNVXMR1tta_"
MIME-Version: 1.0
Received-SPF: pass (spe6.ucebox.co.za: domain of ttaf.co.za designates 196.34.160.66 as permitted sender) client-ip=196.34.160.66; envelope-from=Agent.Navz@ttaf.co.za; helo=is-ironport-02.ttaf.co.za;
X-SPF-Result: spe6.ucebox.co.za: domain of ttaf.co.za designates 196.34.160.66 as permitted sender
X-Filter-ID: s0sct1PQhAABKnZB5plbIfTMHwIoCPwkEUxWhAsHA3yXqSIHh/mdku6BgfhnCb1xWywi3RPeT3mN
 b5O6yuT+gYRl/Dlcguy1ft9XzikQBlX3IAkDuOjhEKXOaHWAgdq5eaVkv5LIP00EFn/8tTTum2yh
 w34b5VCOY4Zp2N4INqlP9fELfllb2VSK8wSScb4cOjjIpTyglRSQImH6L67M4RZ+FpUbP9W4OHC0
 N7PRUUg1F9cJCgCrq4Tm907uBTG6ZuM7jUXIESohoO51xWmU8QVrHDqrEsdBNSdtQHKYTAVpi2C8
 +/AUtX55xpHMbX0FUlX36mWSaDYgt7KubuefYS83313Eff/WqIZmiK9iZ9L1H/aAwarQpYDOYx/6
 JtUOPcaHKHtT26p0k3y+jFkrsdbo6L4joDoZHd+3SpbqpbUx2C8r0+n90PgZrVLZ+wLb8NzFRe1Y
 VhC5X25JL6WqMrZW+PYSfVvvZLtpa0wr0sSAKAVzoNMAGYYGz7a6IEJGcaeQGM18luw2J7kXNm/v
 1AEiRQv+PVjjwa+Z5RFCOMTAk7uOYOIO5KBzokwn8CaM0Vu0wcFnujDMQyL6BRkTIQ==
X-Report-Abuse-To: spam@spe1.ucebox.co.za
Authentication-Results: ucebox.co.za; spf=pass smtp.mailfrom=Agent.Navz@ttaf.co.za
X-Afrihost-Class: ham
X-Afrihost-Evidence: Combined (0.15)
X-Recommended-Action: accept
0
 

Author Comment

by:TTAF4
ID: 41769397
Should perhaps add my internal domain name to SPF record??

2016-08-24-22_16_33-SPF-Wizard---SPF.png
0
 

Author Comment

by:TTAF4
ID: 41769408
this is weird. the email went through even thou i got a failure  message

2016-08-24-22_33_20-Message-Details.png
0
 
LVL 42

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41769749
No, you should not add your local address to the SPF, as ANYONE can use that value. It's exactly the opposite of what the SPF is intended for.
1
 

Author Closing Comment

by:TTAF4
ID: 41771733
Thank you so much for your help.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Suggested Courses

624 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