How DKIM SPF & DMARC Work to Prevent Email Spoofing

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 96

  • @triggeredsydney
    @triggeredsydney 3 роки тому +2

    This is the best DMARC video in UA-cam.

  • @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.

  • @nourahsaad9810
    @nourahsaad9810 4 роки тому +7

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

  • @sureshmadurai5044
    @sureshmadurai5044 2 роки тому +1

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

  • @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.

  • @christophersears6181
    @christophersears6181 2 роки тому +2

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

  • @lostsoulparty
    @lostsoulparty 3 роки тому +2

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

  • @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 😅

  • @ravindrabhosale2915
    @ravindrabhosale2915 3 роки тому

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

  • @ITTechTips4You
    @ITTechTips4You 4 роки тому +7

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

  • @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!

  • @paulgray1399
    @paulgray1399 4 роки тому +1

    Clear and simple explanation. Excellent work.

  • @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

  • @jdgregson
    @jdgregson 4 роки тому +11

    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 3 роки тому

      You got me curious! Can you make a video?

    • @jdgregson
      @jdgregson 3 роки тому

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

  • @simonselvin1
    @simonselvin1 4 роки тому +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  4 роки тому +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

  • @Ru9sal
    @Ru9sal 4 роки тому +4

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

  • @stefanminehan
    @stefanminehan 4 роки тому +4

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

  • @samrithsem7087
    @samrithsem7087 3 роки тому +1

    Thanks for sharing useful tutorial.

  • @techheadtips6042
    @techheadtips6042 4 роки тому +1

    Very well explained. Excellent job.

  • @HishanShouketh
    @HishanShouketh 3 роки тому +1

    Well explained, great flow. Thankyou very much

  • @cwhiii
    @cwhiii 4 роки тому +1

    Clear and concise. Beautiful.

  • @genericusername5520
    @genericusername5520 4 роки тому +2

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

  • @TheGayan1984
    @TheGayan1984 4 роки тому +1

    very useful with easy explanation , thank you

    • @MDaemonTechnologies
      @MDaemonTechnologies  4 роки тому

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

  • @_m.a-x
    @_m.a-x 3 роки тому

    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  3 роки тому +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

  • @ToniWCampbell
    @ToniWCampbell 2 роки тому

    Wonderfully explained!

  • @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

  • @SVDwarakesh
    @SVDwarakesh 3 роки тому +1

    Thanks for your tutorial, this was really helpful.

  • @PoloJ410
    @PoloJ410 3 роки тому

    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  3 роки тому +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

  • @viishhnu1086
    @viishhnu1086 4 роки тому

    Superb explanation

  • @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' ....

  • @druim-nan-deur
    @druim-nan-deur 2 роки тому +1

    very good sir

  • @yusufbala990
    @yusufbala990 4 роки тому +1

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

    • @MDaemonTechnologies
      @MDaemonTechnologies  4 роки тому +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.
      ua-cam.com/video/vrMMKmxCmqs/v-deo.html
      Brad Wyro
      MDaemon Technologies

    • @yusufbala990
      @yusufbala990 4 роки тому

      MDaemon Technologies thank you

  • @demonview6075
    @demonview6075 2 роки тому +1

    Excellent video - thank you

  • @vercixxx
    @vercixxx 3 роки тому

    Very well explained, good job!

  • @TheTerminator317
    @TheTerminator317 3 роки тому

    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  3 роки тому +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 3 роки тому

      @@MDaemonTechnologies thank you

  • @sganpisetty
    @sganpisetty 3 роки тому

    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  3 роки тому +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 3 роки тому

      @@MDaemonTechnologies Thank you very much for quick response.

  • @leadsfix5595
    @leadsfix5595 3 роки тому

    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.

  • @thebushscientist4473
    @thebushscientist4473 2 роки тому

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

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 роки тому

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

  • @danielpatrick6876
    @danielpatrick6876 3 роки тому

    this is excellent guys. thank you

  • @RedEyeCoding
    @RedEyeCoding 2 роки тому +1

    really nice video

  • @digidyle
    @digidyle 3 роки тому

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

  • @amertat782
    @amertat782 2 роки тому +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

  • @sanzhar.danybayev
    @sanzhar.danybayev 4 роки тому

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

    • @MDaemonTechnologies
      @MDaemonTechnologies  4 роки тому +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 4 роки тому +1

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

    • @MDaemonTechnologies
      @MDaemonTechnologies  4 роки тому +1

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

    • @sanzhar.danybayev
      @sanzhar.danybayev 4 роки тому

      @@MDaemonTechnologies now thanks to you everything is clear!

  • @SachinWaradB
    @SachinWaradB 4 роки тому

    Just excellent tutorial.

  • @mertkaracayil
    @mertkaracayil Рік тому

    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....

  • @jlmf6274
    @jlmf6274 4 роки тому +1

    Great video, thanks!

  • @viishhnu1086
    @viishhnu1086 4 роки тому +1

    Excellent

  • @sunflower-ghy
    @sunflower-ghy 3 роки тому

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

  • @prithviraj1080
    @prithviraj1080 3 місяці тому

    Thanks!

  • @octetmasquer
    @octetmasquer 4 роки тому +1

    Good job, thank you!

  • @oseexplica2807
    @oseexplica2807 2 роки тому +1

    Tks bro

  • @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.

  • @StreetArtist360
    @StreetArtist360 2 роки тому

    Thank you.

  • @jrodrig9212
    @jrodrig9212 4 роки тому +1

    Nice

  • @TheBaltimore69
    @TheBaltimore69 3 роки тому

    dkim is not very clear

  • @aniketnanekar5133
    @aniketnanekar5133 2 роки тому

    spf record generate , not understand , can u pls help

    • @MDaemonTechnologies
      @MDaemonTechnologies  2 роки тому

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

  • @HardwareRules
    @HardwareRules 4 роки тому

    i wish people would stop saying, 'tools.'

  • @MUTHU20241
    @MUTHU20241 3 роки тому

    Good video but i watched in 1.25x speed

  • @Basieeee
    @Basieeee 4 роки тому