News for hackers. Stuff that matters.
Re:Show HN: DMARC Checker by akshayKMR on Tuesday February 20, 2024 @03:54PM (#39446773)
Hey, this comes at a perfect time for me.

I had posted my app on Betalist about a week ago and received a vulnerability report about incorrectly configured DMARC from a security researcher. I made the fix but wasn't confident about it. Shortly after, I received a couple more similar emails.

With this tool, my first check failed, citing an invalid SPF record. (I had an extra `.` at the end of my TXT record). Now, the check shows all passing.

I hope all is good now (emails are wild).

From my limited understanding:

    SPF <- Should this server be sending emails for this domain?
    DKIM <- Was this email tampered with?
    DMARC <- What should I, as a recipient, do if SPF or DKIM fails?
Thanks!
Re:Show HN: DMARC Checker by awulf on Tuesday February 20, 2024 @04:12PM (#39446967)
I'm really happy to read that the app was able to help! Thanks for sharing.
Re:Show HN: DMARC Checker by 1231232131231 on Wednesday February 21, 2024 @10:09AM (#39454723)
DMARC itself contains some extra checks (alignment check).
Re:Show HN: DMARC Checker by petecog on Tuesday February 20, 2024 @04:15PM (#39447004)
I've given it a go.

I recommend also https://mxtoolbox.com/dmarc.aspx

I have no affiliation.

Re:Show HN: DMARC Checker by petecog on Tuesday February 20, 2024 @04:22PM (#39447080)
Great tool. Good comprehensive report. Keep up the great work. Hope it helps people.

Email is such an amazing mess. Love and hate in equal measures

Re:Show HN: DMARC Checker by bks on Tuesday February 20, 2024 @05:46PM (#39447986)
Seems that this tool actually validates your email and checks its alignment vs. just checking to see if there is a dmarc record on the domain.
Re:Show HN: DMARC Checker by RulerOf on Tuesday February 20, 2024 @04:16PM (#39447026)
This is a really straightforward tool. Validating spf/dkim/dmarc by receiving an email strikes me as more effective than something that just looks at the DNS records. Thanks for sharing.
Re:Show HN: DMARC Checker by aeadio on Tuesday February 20, 2024 @04:21PM (#39447067)
A simple reject policy is showing up as an error, despite validating fine with other DMARC checker apps like MX Toolbox,

    The From domain (...) has an invalid DMARC record.
    ...
    DMARC record found: v=DMARC1; p=reject;
    The DMARC check result is permerror.
No explanation as to what permerror means.

It might also be useful if the tool attempted to circumvent DNS caching, so users can try tests in succession after updating.

Re:Show HN: DMARC Checker by awulf on Tuesday February 20, 2024 @04:33PM (#39447216)
There was a small bug in our DMARC record parser (it didn't like the semicolon at the end of the record). Sorry for that. Your DMARC record is definitely correct. The issue should be fixed now.

Also, thanks for the idea about circumventing DNS caching. I'll look into adding that feature.

Re:Show HN: DMARC Checker by jenoer on Tuesday February 20, 2024 @04:47PM (#39447393)
I don’t want to take away your spotlight, because it’s a nice project you launched,

But I do want to point out to people that https://github.com/domainaware/checkdmarc exists for quite a while. I use it often and have also integrated it in various automated tooling.

(It also does not require handing out email addresses to strangers.)

Re:Show HN: DMARC Checker by bks on Tuesday February 20, 2024 @05:09PM (#39447663)
Re:Show HN: DMARC Checker by bks on Tuesday February 20, 2024 @05:25PM (#39447815)
Great tool, one bit of feedback on the log report. Perhaps you can highlight the passing line in the SPF record, I have about 100 of these "The ip4 mechanism does not match." and then a lot of "The include mechanism matches and produces a pass result."

Maybe you can highlight the passing statement? - https://app.screencast.com/Hu5ybB6K3fd9R

Re:Show HN: DMARC Checker by awulf on Tuesday February 20, 2024 @06:48PM (#39448501)
Thanks for the feedback, much appreciated! It looks like you've flattened your SPF record, causing a large number of log messages. I'll see what I can do to better highlight the line that produces the 'pass' result.
Re:Show HN: DMARC Checker by bks on Tuesday February 20, 2024 @07:05PM (#39448610)
Thank you - and would you be open to white labeling?
Re:Show HN: DMARC Checker by awulf on Tuesday February 20, 2024 @07:55PM (#39448961)
We've just launched the app this week. While white labeling is a possibility down the road, we're currently focused on refining it and gathering user feedback.
Re:Show HN: DMARC Checker by FerretFred on Wednesday February 21, 2024 @01:48AM (#39450834)
Hey this is great! Just woken up, sipping tea in bed and have now got a fully validated DKIM/SPF setup. So easy... thank you!
Re:Show HN: DMARC Checker by ollybee on Wednesday February 21, 2024 @03:41AM (#39451466)
This seems similar to https://www.mail-tester.com which I use all the time to quickly diagnose mail issues
Re:Show HN: DMARC Checker by kunley on Wednesday February 21, 2024 @04:23AM (#39451737)
Handy tool and looks better than a few similar I tried. Thank you!
Re:Show HN: DMARC Checker by yolo4553 on Wednesday February 21, 2024 @09:09AM (#39453977)
Hmm, am I seeing this correctly that the system does receive emails only via IPv4 and no IPv6? This would make the SPF check somewhat misleading as it only checks one option.
Re:Show HN: DMARC Checker by awulf on Wednesday February 21, 2024 @11:20AM (#39455749)
You are correct, the mail server is currently configured to only receive emails via IPv4. This setup is not uncommon as most major email providers have IPv4-only MX records (with Gmail and Yandex Mail being rare exceptions that support IPv6).

It might be a good idea to provide a different email address whose mail server explicitly requires IPv6. I'll think about it. Thanks for bringing it up.

Re:Show HN: DMARC Checker by wilg on Wednesday February 21, 2024 @02:29PM (#39458336)
Very cool, thanks!