为了有效接受邮件客户端反馈并自动根据邮件客户端反馈对邮件过滤系统做出调整,提出了用户反馈自适应的POP3邮件过滤代理模型SAMFUF(self-adaptive mail filtering POP3 proxy based on users’feedback)。SAMFUF采用异步连接模拟同步连接方式建立邮件客户端和邮件服务器间POP3连接,实现了邮件客户端与邮件服务器间的透明性连接;将最大熵、贝叶斯和支持向量机等基于内容过滤的方法从邮件过滤系统中独立出来,实现了通用邮件过滤系统的设计;通过在邮件中插入包含邮件唯一标识、分类结果等信息的HTML表单的标签以及调整邮件过滤模型,实现了基于邮件客户端的用户反馈以及邮件过滤系统的自适应功能;采用线程池管理线程和overlapped I/0事件通信方式实现邮件客户端与邮件服务器间通信,实现了邮件过滤服务的高效率和稳定性。实验表明,SAMFUF在垃圾邮件过滤上具有较高的效率和准确率。
To accept feedback of mail client effectively and adjust mail filtering system automatically, self-adaptive mail filtering POP3 proxy based on users' feedback (SAMFUF) was proposed. In SAMFUF, asynchronous connection method in stead of synchronous connection method was used to establish transparent connection between mail client and mail server. General design of email filtering system was realized in SAMFUF, through separating from email filtering system maximum entropy, Bayes, and support vector machine, etc. which are some filtering methods based on context. The label of HTML which includes the unique ID of an email, classified results and so on was inserted into email to realize users' feedback, and the model of filtering system was adjusted for self-adaptive function of the mail filtering system. Furthermore, great efficiency and stability of mail filtering were achieved in SAMFUF, by adopting thread pool technology and windows over-lapped I/O sockets. Experiments show that SAMFUF has high efficiency and accuracy in spam filtering.