gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 03:14:34 25 4
gpt4 key购买 nike

我想知道我是否可以向 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com