TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Antispam rules on email source code

4 pointsby jostinoover 2 years ago
I have a question about printing or not the antispam rules inside the cource code. I know that google doesn&#x27;t print it inside the source code, I think it&#x27;s done to avoid spammers to learn how avoid the antispam, etc. It&#x27;s that a thing? I mean, what&#x27;s the reason to put clearly the rules inside the source code of an email? When you have them inside your mail server&#x27;s log I think it&#x27;s enough. Am I wrong? What&#x27;s your opinion about this?<p>Thanks!

2 comments

LinuxBenderover 2 years ago
When you say source do you mean in the email headers? Spam scores should always be in the email headers. There are some scripts [1] out there that try to reverse engineer all the spam scores but they are not perfect. Google has a tool specific to GMail. [2] To my knowledge very few mail providers hide this information but it can seem obfuscated as each provider may have their own proprietary in-house tools.<p>[1] - <a href="https:&#x2F;&#x2F;github.com&#x2F;mgeeky&#x2F;decode-spam-headers">https:&#x2F;&#x2F;github.com&#x2F;mgeeky&#x2F;decode-spam-headers</a><p>[2] - <a href="https:&#x2F;&#x2F;support.google.com&#x2F;mail&#x2F;answer&#x2F;29436?hl=en" rel="nofollow">https:&#x2F;&#x2F;support.google.com&#x2F;mail&#x2F;answer&#x2F;29436?hl=en</a>
评论 #34336418 未加载
detaroover 2 years ago
The reason is pretty obvious: so the end user can filter spam based on it and see why something was flagged.