How DKIM SPF & DMARC Work to Prevent Email Spoofing

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ค. 2024
  • In this tutorial, we explain how SPF, DKIM & DMARC work to protect your email server from spam related to spoofing or email message tampering.
    SPF, DKIM and DMARC are included in MDaemon® Email Server and SecurityGateway™ for Email.
    SecurityGateway is a secure email gateway solution that protects Microsoft 365/Office 365, Microsoft Exchange Server, G-Suite, Kerio, and other email servers from spam, phishing, malware, data leaks (DLP), and much more.
    Learn more at www.mdaemon.com.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 95

  • @triggeredsydney
    @triggeredsydney 2 ปีที่แล้ว +2

    This is the best DMARC video in TH-cam.

  • @nourahsaad9810
    @nourahsaad9810 3 ปีที่แล้ว +7

    I have watched many videos, no one explained it as you did!! amazing many thanks

  • @christophersears6181
    @christophersears6181 2 ปีที่แล้ว +2

    Simply amazing- Great job with breaking down how all of these protocols work together. Great Job

  • @stephenawele5478
    @stephenawele5478 2 ปีที่แล้ว +3

    God bless you. You have made my day by making this lesson so simple to understand through your video. I would give a million like if it were possible.

  • @lostsoulparty
    @lostsoulparty 2 ปีที่แล้ว +2

    Just understanding the basics and this was a perfect place to start

  • @bersi3306
    @bersi3306 2 ปีที่แล้ว +1

    This video I must say that is great. I've learnead a lot from it, and it is so far the simplest. As a future computer engineer, thank you very much!

  • @ITTechTips4You
    @ITTechTips4You 3 ปีที่แล้ว +7

    This was simply THE best overview-Tutorial on this topic. Thank you so much - just subscribed to your channel.

  • @lex4089
    @lex4089 3 ปีที่แล้ว +19

    This is an absolutely FANTASTIC video. You explain it so clearly and pitch at a good level. Thanks for putting it out there. It helped me a lot.

  • @ravindrabhosale2915
    @ravindrabhosale2915 3 ปีที่แล้ว

    Before this video I went through many others but no clarity...very nicely explained. Thanks a lot. Keep sharing more.

  • @techheadtips6042
    @techheadtips6042 3 ปีที่แล้ว +1

    Very well explained. Excellent job.

  • @vercixxx
    @vercixxx 3 ปีที่แล้ว

    Very well explained, good job!

  • @SachinWaradB
    @SachinWaradB 3 ปีที่แล้ว

    Just excellent tutorial.

  • @pierreleonsimard
    @pierreleonsimard 2 ปีที่แล้ว +1

    OMG! Lots of years that I've been trying to understand all of this. Now, I do !!!! Thank you for this very good video !

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 ปีที่แล้ว +1

      Glad you found it helpful!

    • @pierreleonsimard
      @pierreleonsimard 2 ปีที่แล้ว

      @@MDaemonTechnologies I also subscribed to you and activated alert and now I'm browsing your videos instead of working. HAHA. Another proof that good content works better than ?%//$ clickbait 😅

  • @Ru9sal
    @Ru9sal 4 ปีที่แล้ว +4

    This was an amazing tutorial! Thank you for showing real life scenario.

  • @cwhiii
    @cwhiii 3 ปีที่แล้ว +1

    Clear and concise. Beautiful.

  • @viishhnu1086
    @viishhnu1086 3 ปีที่แล้ว

    Superb explanation

  • @paulgray1399
    @paulgray1399 3 ปีที่แล้ว +1

    Clear and simple explanation. Excellent work.

  • @sureshmadurai5044
    @sureshmadurai5044 ปีที่แล้ว +1

    Fantastic explanation. After long time , I am able understand DMARC. thank you.

  • @ersingokay2670
    @ersingokay2670 3 ปีที่แล้ว +1

    Awesome, could not be explained any better than this. thank you for putting this very useful video together and sharing it with us. God bless you

  • @ToniWCampbell
    @ToniWCampbell ปีที่แล้ว

    Wonderfully explained!

  • @samrithsem7087
    @samrithsem7087 2 ปีที่แล้ว +1

    Thanks for sharing useful tutorial.

  • @jlmf6274
    @jlmf6274 3 ปีที่แล้ว +1

    Great video, thanks!

  • @danielpatrick6876
    @danielpatrick6876 2 ปีที่แล้ว

    this is excellent guys. thank you

  • @demonview6075
    @demonview6075 ปีที่แล้ว +1

    Excellent video - thank you

  • @jdgregson
    @jdgregson 3 ปีที่แล้ว +10

    You should do a more in-depth video and cover things like what header SPF uses to validate the sending server (Mail-From), what headers are generally used to calculate the DKIM signature, why and how forwarders frequently break DKIM by changing headers, and what "alignment" actually means in regard to DMARC (the domains used to pass DKIM and SPF must match the domain in the "From" header).

    • @_m.a-x
      @_m.a-x 2 ปีที่แล้ว

      You got me curious! Can you make a video?

    • @jdgregson
      @jdgregson 2 ปีที่แล้ว

      @@_m.a-x I've thought about it. I want to figure out how to manually calculate and verify a DKIM signature first.

  • @viishhnu1086
    @viishhnu1086 3 ปีที่แล้ว +1

    Excellent

  • @simonselvin1
    @simonselvin1 3 ปีที่แล้ว +3

    Excellent Explanation !! Thanks for the video. Just one query I had the receiving mail server quarantines or rejects mostly based on the DMARC settings published by the sender. So believe just like SPF and DKIM, DMARC is also queried to take that decision and we can always alter that decision at the DMARC policy-setting on our end too.

    • @MDaemonTechnologies
      @MDaemonTechnologies  3 ปีที่แล้ว +1

      Yes, while domain owners can set their preferred quarantine/reject policies in their own DMARC records, SecurityGateway administrators can override those preferences to handle those messages based on their own needs.
      Brad Wyro
      MDaemon Technologies

  • @TheGayan1984
    @TheGayan1984 4 ปีที่แล้ว +1

    very useful with easy explanation , thank you

    • @MDaemonTechnologies
      @MDaemonTechnologies  3 ปีที่แล้ว

      Thank you. I'm glad you found this video helpful!
      Brad - MDaemon Technologies

  • @druim-nan-deur
    @druim-nan-deur 2 ปีที่แล้ว +1

    very good sir

  • @stefanminehan
    @stefanminehan 3 ปีที่แล้ว +4

    We are looking to implement DMARC also and so this was a great explanation, nicely presented.
    Cheers :)

  • @HishanShouketh
    @HishanShouketh 3 ปีที่แล้ว +1

    Well explained, great flow. Thankyou very much

  • @oseexplica2807
    @oseexplica2807 2 ปีที่แล้ว +1

    Tks bro

  • @RedEyeCoding
    @RedEyeCoding ปีที่แล้ว +1

    really nice video

  • @genericusername5520
    @genericusername5520 3 ปีที่แล้ว +2

    where could I have learned thist stuff, and how to have set it up from the beggining?

  • @SVDwarakesh
    @SVDwarakesh 2 ปีที่แล้ว +1

    Thanks for your tutorial, this was really helpful.

  • @octetmasquer
    @octetmasquer 3 ปีที่แล้ว +1

    Good job, thank you!

  • @StreetArtist360
    @StreetArtist360 ปีที่แล้ว

    Thank you.

  • @begoniasuccess
    @begoniasuccess 3 ปีที่แล้ว

    thank you very much! it helps me a lot:)

  • @thinking-laaf
    @thinking-laaf ปีที่แล้ว

    Interesting what they did (feels a bit like a hack) to 'fix' holes in the original SMTP protocol to deal with spam. I suspect that this does slow down mail processing a bit... No longer a 'Simple Mail Transfer Protocol' ....

  • @digidyle
    @digidyle 3 ปีที่แล้ว

    Well explained, thank you, now understand this much better.

  • @_m.a-x
    @_m.a-x 2 ปีที่แล้ว

    Also a question - SPF alone has matching policies (hard, soft etc), same goes for DKIM. What is their role and effect when there is DMARC in place? If, say SPF dictates to allow all, while DKIM or DMARK policy says otherwise and is in direct conflict, which one action takes precedence?

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 ปีที่แล้ว +1

      Hello Max. I did some research on this and found that the recommend practices while deploying DMARC is to set your SPF policy to SOFTFAIL (~all) while your DMARC policy (p= tag) is set to p=none. Then, after you've had enough time to review your DMARC forensic & aggregate reports, set your SPF record to HARDFAIL (-all) and then, at that time, set your DMARC policy to p=quarantine or p=reject.
      - Brad

  • @MajTe0b
    @MajTe0b 3 ปีที่แล้ว

    Thanks for the clear tutorial, what about configuring the protection of SMTP itself? my application tries to send an email to SMTP and it gets always blocked by the ISP for spam related protection.

    • @MDaemonTechnologies
      @MDaemonTechnologies  3 ปีที่แล้ว

      Are you using a business email account? What application are you using? Are you referring to your email client? If you are sending mail through your ISP from an on-premise mail server, or via a hosted email service, many ISPs block transmission on the standard SMTP port - port 25. Do you know what port you're using for SMTP?
      Brad

  • @mertkaracayil
    @mertkaracayil 4 หลายเดือนก่อน

    DKIM SPF & DMARC will be a major issue for businesses & individuals in 2024. so many businesses are sending emails and emails are ending up in spam. going to be a lot disruptions for businesses and plenty of work for people in I.T. written in Jan 2024....

  • @PoloJ410
    @PoloJ410 2 ปีที่แล้ว

    Can you have spf and dkim configured in Office 365 and configure dmarc separately in Proofpoint? Or do all 3 have to be configured in one place?

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 ปีที่แล้ว +1

      DKIM, SPF & DMARC are all implemented via DNS records, so they are not product-specific. If mail from your domain is sent from both Office 365 and Proofpoint, then both would need to be included in your domain's SPF record, and both would need to be able to sign outbound messages with DKIM. Your DMARC record would simply tell receiving servers how to handle messages that don't properly align with DKIM & SPF.
      Brad

  • @leadsfix5595
    @leadsfix5595 2 ปีที่แล้ว

    This video is like teaching someone what water is made of and various variables of water and how it works when all I'm trying to do is learn how to swim. Do I really need to know all this extra stuff to just send an email? The answer is no, however just telling us how to utilize SPF, DKIM, and Dmarc would of been helpful.

  • @jrodrig9212
    @jrodrig9212 3 ปีที่แล้ว +1

    Nice

  • @sganpisetty
    @sganpisetty 2 ปีที่แล้ว

    Thank you for the video, May I know the Security Gateway appliance is Hardware or software, give me the details about it. Thank you in advance.

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 ปีที่แล้ว +1

      SecurityGateway is software that runs on Windows. You can download it here: www.altn.com/Downloads/SecurityGateway-Free-Trial/
      We also have hosted options, which you can learn about here: www.securitygatewayforemail.com/
      If you need further assistance, I'll be happy to help.
      Brad

    • @sganpisetty
      @sganpisetty 2 ปีที่แล้ว

      @@MDaemonTechnologies Thank you very much for quick response.

  • @Basieeee
    @Basieeee 3 ปีที่แล้ว

  • @yusufbala990
    @yusufbala990 3 ปีที่แล้ว +1

    Please what are the general requirements to implement this in our organization?

    • @MDaemonTechnologies
      @MDaemonTechnologies  3 ปีที่แล้ว +1

      Hello Yusuf. You will need to first implement DKIM and SPF. You will need to publish a DKIM (public) key to DNS, and sign outbound mail with the private DKIM key on your mail server or gateway. For SPF, you will need to set up an SPF record in DNS that designates servers that are authorized to send mail on behalf of your domain. Once DKIM & SPF have been implemented, you can then create a DMARC record and then deploy DMARC. Here's a webinar I conduced that provides an overview of how to deploy DMARC. It's a few years old, but the same concepts still apply.
      th-cam.com/video/vrMMKmxCmqs/w-d-xo.html
      Brad Wyro
      MDaemon Technologies

    • @yusufbala990
      @yusufbala990 3 ปีที่แล้ว

      MDaemon Technologies thank you

  • @TheTerminator317
    @TheTerminator317 2 ปีที่แล้ว

    Is there anyway to force DKIM and not SPF? In other words can DMARC be forced to use DKIM and ignore SPF? thanks

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 ปีที่แล้ว +1

      DMARC was designed to use both DKIM and SPF. If you've only implemented one or the other, then you could still use DMARC's reporting feature to receive aggregate & forensic reports indicating how your domain is being used. This article explains using DMARC with only SPF (and thus, it's the opposite scenario from what you're asking), but you may find some of its content helpful. dmarc.org/2017/03/can-i-use-dmarc-if-i-have-only-deployed-spf/

    • @TheTerminator317
      @TheTerminator317 2 ปีที่แล้ว

      @@MDaemonTechnologies thank you

  • @thebushscientist4473
    @thebushscientist4473 ปีที่แล้ว

    Why dns record is created with name dkim. Shouldn't it be your selector name?

    • @MDaemonTechnologies
      @MDaemonTechnologies  ปีที่แล้ว

      Yes, you are correct. It should be the name of your selector. I was just using DKIM as an example.

  • @sanzhar.danybayev
    @sanzhar.danybayev 3 ปีที่แล้ว

    What stops the intruder from getting the public key from the DNS and setting it as the signature??

    • @MDaemonTechnologies
      @MDaemonTechnologies  3 ปีที่แล้ว +1

      Hello Zanzhar. The message is not signed with anything that's publicly available in DNS. DKIM uses a "selector" to sign messages with the corresponding private key. The public key is there to provide the receiving servers performing DKIM verification (that have the emails containing the private key) something they can download and check against the private key, but those keys are not exact duplicates of each other, so a potential hacker can't simply take the public key from a signed message & use it to sign outbound messages.
      - Brad

    • @sanzhar.danybayev
      @sanzhar.danybayev 3 ปีที่แล้ว +1

      @@MDaemonTechnologies wow thank you Brad for the answer! Didn't expect that it'll be so fast 😮 much appreciated!

    • @MDaemonTechnologies
      @MDaemonTechnologies  3 ปีที่แล้ว +1

      @@sanzhar.danybayev You're welcome. Please let us know if you have any other questions!
      - Brad

    • @sanzhar.danybayev
      @sanzhar.danybayev 3 ปีที่แล้ว

      @@MDaemonTechnologies now thanks to you everything is clear!

  • @HardwareRules
    @HardwareRules 3 ปีที่แล้ว

    i wish people would stop saying, 'tools.'

  • @MrMuthukumar2002
    @MrMuthukumar2002 2 ปีที่แล้ว

    Good video but i watched in 1.25x speed

  • @ncschulze
    @ncschulze 3 ปีที่แล้ว

    SPF breaks email forwarding. Because the forwarding server is no longer allowed to deliver. Better use DKIM.

    • @bklan9899
      @bklan9899 3 ปีที่แล้ว

      You could and should use both DKIM and SPF. Any server capable of forwarding mail on your behalf would need to be present in your SPF record either by name or IP.

  • @TheBaltimore69
    @TheBaltimore69 2 ปีที่แล้ว

    dkim is not very clear

  • @amertat782
    @amertat782 ปีที่แล้ว +1

    in this time of video (8:22) i notice that you had a txt record for DKIM which is not correct because you name it as "dkim" , i think it's not working in practical scenarios because it should be named like "selector.domainkey" otherwise recipient servers could not query this correctly (Based on my Test) , idk maybe you named it just for learning aspects. anyway thank for your great video

  • @aniketnanekar5133
    @aniketnanekar5133 ปีที่แล้ว

    spf record generate , not understand , can u pls help

    • @MDaemonTechnologies
      @MDaemonTechnologies  ปีที่แล้ว

      Hello Aniket. I've created a tutorial video that explains the SPF record creation process. You can watch it here: th-cam.com/video/9rn1tXJ6HUk/w-d-xo.html
      Brad