将邮件从收件箱移动到垃圾文件夹的算法 [英] Algorithm to move messages from inbox to junk folder

查看:93
本文介绍了将邮件从收件箱移动到垃圾文件夹的算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道像yahoomail或gmail这样的网站如何将邮件(我们将这些邮件作为垃圾邮件单击)移动到垃圾邮件文件夹中.就我而言,贝叶斯分析算法检查邮件是否是基于内容的垃圾邮件,还是其他可能性.但是这些网站(yahoomail或gmail)使用什么算法将邮件从一个文件夹动态迁移到另一个文件夹?

I wonder how sites like yahoomail or gmail move the messages, which we click as spam into the spam folder. As far as I concerned Bayesian analysis algorithm checks the messages, if it is spam based on content, or some other probability. But what algorithm do these sites(yahoomail or gmail) use to migrate the message from one folder to another dynamically?

推荐答案

大多数邮件系统都允许插入过滤器程序,这些程序除其他外用于确定邮件是否为垃圾邮件.Procmail也许是其中最著名的.基本过程:

Most mail systems allow the insertion of filter programs that are used to, among other things, determine if a message is spam or not. Procmail is, perhaps, the best known of these. The basic process:

  1. 发送邮件以过滤程序.
  2. 过滤程序检查垃圾邮件,添加标题和/或主题信息.
  3. 排序程序(procmail等)寻找表示垃圾邮件级别的标头/主题信息.如果超过某个阈值,则将其传递到垃圾邮件"文件夹.如果没有,请传递到收件箱.

请注意,procmail和其他类似软件还允许 lot 更多功能来自动执行传递和/或过滤任务-这是一个非常简单的示例.

Note that procmail and other similar software also allow a lot more functionality for automating delivery and/or filtering tasks - this is a fairly trivial example.

这篇关于将邮件从收件箱移动到垃圾文件夹的算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆