Solved

SPF record. Cisco Ironport. Office 365 Hybrid

Posted on 2016-08-23
13
394 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 40

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 40

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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

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

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 40

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 40

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
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…

756 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