email - 向 SpamAssassin 发送简单的文本(不是电子邮件)

标签 email spam-prevention spamassassin

我想知道我是否可以向 SpamAssassin 发送简单的文本。 我想把评论放在一个文本文件中并调用'spamc < file.txt' (我不知道是否可以将文本直接发送到 spamc)。问题是如果我不指定标题或标题,SpamAssassin 会将所有内容报告为垃圾邮件...我可以绕过所有标题验证 - 或者有任何模式可以扫描简单的纯文本吗? (我没有经验,所以我更愿意问这个。提前致谢)

最佳答案

我相信您可以禁用任何引用 header 的 SA 规则,但由于“消息”格式不正确,它可能仍会中断。即使没有,SA 评分也过于依赖 header ,因此如果不检查它们就无法提高效率。如果您想对任意文本进行垃圾邮件检查,也许可以使用像 Bogofilter 这样的统计工具会更合适。

编辑:

来自 Bogofilter 联机帮助页:

Bogofilter is a Bayesian spam filter. In its normal mode of operation, it takes an email message or other text on standard input, does a statistical check against lists of "good" and "bad" words, and returns a status code indicating whether or not the message is spam.

如果它没有被格式化为邮件,它会愉快地对任意文本进行排序而不会提示。

关于email - 向 SpamAssassin 发送简单的文本(不是电子邮件),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4199860/

相关文章:

c# - gmail不再发送邮件了

phpmailer - 垃圾邮件 killer HTML_IMAGE_ONLY

email - 找不到删除 HTML_TITLE_SUBJ_DIFF 的说明

linux - 如何使用 mutt 在程序完成时向我发送通知

html - Django 发送带图片的 HTML 邮件

google-analytics - 谷歌分析 "to use this feature visit: Event-Tracking.com"

php - 像 Stackoverflow 那样的独特用户投票策略?

forms - 即使在 reCAPTCHA v2(不可见)和 Honeypot 集成之后,Spambots 仍会继续创建用户注册 - 我还能做什么?

email - spamassassin rdns 反向 DNS

ios - 用代码将PKPass附加到电子邮件