4 ms·
Ask HN: Antispam rules on email source code
I have a question about printing or not the antispam rules inside the cource code. I know that google doesn't print it inside the source code, I think it's done to avoid spammers to learn how avoid the antispam, etc.
It's that a thing? I mean, what's the reason to put clearly the rules inside the source code of an email?
When you have them inside your mail server's log I think it's enough. Am I wrong? What's your opinion about this?
Thanks!
- LinuxBender 4y agoWhen 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. [1] - https://github.com/mgeeky/decode-spam-headers https://github.com/mgeeky/decode-spam-headers [2] - https://support.google.com/mail/answer/29436?hl=en https://support.google.com/mail/answer/29436?hl=en
- jostino 4y agoYep, sorry, it was the email headers. Anyway, thanks for this useful information, in particular that GitHub tool it's pretty interesting!
- detaro 4y agoThe reason is pretty obvious: so the end user can filter spam based on it and see why something was flagged.