WO2013097329A1 - Mail filtering information saving method, mail server and e-mail system - Google Patents

Mail filtering information saving method, mail server and e-mail system Download PDF

Info

Publication number
WO2013097329A1
WO2013097329A1 PCT/CN2012/071331 CN2012071331W WO2013097329A1 WO 2013097329 A1 WO2013097329 A1 WO 2013097329A1 CN 2012071331 W CN2012071331 W CN 2012071331W WO 2013097329 A1 WO2013097329 A1 WO 2013097329A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
coremail
antispam
field
information
Prior art date
Application number
PCT/CN2012/071331
Other languages
French (fr)
Chinese (zh)
Inventor
林延中
陈景维
Original Assignee
盈世信息科技(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 盈世信息科技(北京)有限公司 filed Critical 盈世信息科技(北京)有限公司
Publication of WO2013097329A1 publication Critical patent/WO2013097329A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking

Definitions

  • the present invention relates to the field of communications, and in particular, to a mail filtering information saving method, a mail server, and an email system. Background technique
  • Some mail systems add a uniquely identified field to the message header, so that the anti-spam results can be found from the log or database by uniquely identifying the message.
  • the method of obtaining the anti-spam filtering result is not convenient enough.
  • the log or database data may be deleted due to expiration, so that the reason cannot be analyzed, and the result can only be re-delivered once and then the result.
  • Some mail systems add some anti-spam filtering results to the header, such as spf (Sender Policy Framework) results. However, there will be a lot of information about the anti-spam filtering results. If each piece of information is used as a single field, the number of fields in the header will be too large.
  • spf Send Policy Framework
  • the technical problem to be solved by the embodiments of the present invention is to provide a mail filtering information saving method, a mail server, and an e-mail system, which can realize the reason why the e-mail is judged as spam.
  • the embodiment of the present invention provides a mail filtering information protection.
  • Storage methods including:
  • the mail server After receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
  • the mail server generates a current according to the anti-spam filtering result information
  • the mail server generates a current "X-Coremail-Antispam” field according to the anti-spam filtering result information, and adds the "X-Coremail-Antispam” field to the header.
  • the mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information
  • the "X-Coremail-Antispam" field includes: any one of text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, and hit rule information. Kind or combination.
  • the anti-spam filtering result information of the mail may be obtained according to the "X-Coremail-Antispam" field query.
  • a filtering unit configured to: after receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
  • a filtering information adding unit configured to be used by the mail server according to the anti-spam filtering
  • the information generates a current "X-Coremail-Antispam” field, and adds the "X-Coremail-Antispam” field to the mail header;
  • a sending unit configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server through the pop3 or imap protocol;
  • the query unit is configured to obtain the anti-spam filtering result information of the mail according to the “X-Coremail-Antispam” field query.
  • a field generating unit configured to generate, by the mail server, a current "X-Coremail-Antispam” field according to the anti-spam filtering result information
  • a judging unit configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and if it is YES, delete the "X-Coremail-Antispam” field included in the mail header, and Adding the current "X-Coremail-Antispam” field to the mail header;
  • an embodiment of the present invention further provides an email system, including: a terminal, configured to send or receive a mail;
  • the mail server includes:
  • a filtering unit configured to: after receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
  • a filtering information adding unit configured to generate, by the mail server, a current "X-Coremail-Antispam” field according to the anti-spam filtering result information, and add the "X-Coremail-Antispam” field to the mail header ;
  • a sending unit configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server by using the pop3 or imap protocol;
  • the query unit is configured to obtain the anti-spam filtering result information of the mail according to the “X-Coremail-Antispam” field query.
  • the filtering information adding unit includes:
  • a judging unit configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and if it is YES, delete the "X-Coremail-Antispam” field included in the mail header, and Adding the current "X-Coremail-Antispam” field to the mail header;
  • the invention generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information by performing a filtering operation according to a preset anti-spam rule after the mail server receives the mail sent by the user, and generating an anti-spam filtering result information.
  • the "X-Coremail-Antispam" field is added to the mail header, so that the mail system administrator can clearly understand the filtering information of the mail through the "X-Coremail-Antispam” field, so that the mail is mistakenly filtered into spam.
  • DRAWINGS 1 is a schematic flow chart of an embodiment of a method for saving mail filtering information according to the present invention
  • FIG. 2 is a schematic flow chart of still another embodiment of a method for saving mail filtering information according to the present invention.
  • FIG. 3 is a schematic structural view of an embodiment of an electronic mail system according to the present invention
  • FIG. 4 is a schematic structural view of a mail server 2 in an embodiment of an electronic mail system according to the present invention
  • FIG 5 is a block diagram showing a structure of the filter information adding unit 22 in the mail server 2 shown in Figure 4 . detailed description
  • FIG. 1 is a schematic flow diagram of an embodiment of a method for saving mail filtering information according to the present invention, including:
  • the mail server After receiving the mail sent by the user, the mail server performs filtering according to the preset anti-spam rules and generates anti-spam filtering result information.
  • the mail includes a letterhead and a letter body.
  • the mail server receives the mail through the smtp protocol.
  • the anti-spam rules used for mail filtering include:
  • Text fingerprint count whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
  • hit rules including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.
  • mail scores (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
  • the mail server generates a current "X-Coremail-Antispam” field according to the anti-spam filtering result information, and ⁇ ! The current "X-Coremail-Antispam” field is added to the mail header.
  • the "X-Coremail-Antispam” field includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which folder to deliver to. Any one or combination of information.
  • the mail server first removes the "X-Coremail-Antispam" field originally contained in the mail header or the content containing the mail filtering information, and then adds the current "X-Coremail-Antispam” field to the Mail header to prevent the other party from forging this field.
  • FIG. 2 is a schematic flow chart of still another embodiment of a method for saving mail filtering information according to the present invention, including:
  • the mail server After receiving the mail sent by the user, the mail server performs filtering according to the preset anti-spam rules and generates anti-spam filtering result information.
  • the mail includes a letterhead and a letter body.
  • the mail server receives the mail through the smtp protocol.
  • the anti-spam rules used for mail filtering include:
  • Text fingerprint count whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
  • hit rules including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.
  • mail scores (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
  • the mail server generates a current “X-Coremail-Antispam” field according to the anti-spam filtering result information.
  • X-Coremail-Antispam includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which folder to deliver to. Any one or combination of information.
  • the mail server first removes the "X-Coremail-Antispam" field of the mail header or the content containing the mail filtering information, and then adds the current "X-Coremail-Antispam” field to the mail letter. Head to prevent the other party from forging this field.
  • the anti-spam filtering result information of the mail is obtained according to the “X-Coremail-Antispam” field query.
  • step 204 is only executed when the mail system administrator needs to query the mail filtering information of the mail.
  • FIG. 3 is a schematic diagram of an embodiment of an embodiment of an electronic mail system according to the present invention, comprising: a terminal 1 for transmitting or receiving mail.
  • the mail server 2 is configured to receive the mail sent by the terminal 1 and generate an "X-Coremail-Antispam" field according to the preset anti-spam filtering result information, and add the mail to the mail header to send the mail to the corresponding mail
  • the mail storage server or the mail server of the outbound station is configured to receive the mail sent by the terminal 1 and generate an "X-Coremail-Antispam" field according to the preset anti-spam filtering result information, and add the mail to the mail header to send the mail to the corresponding mail.
  • the mail server 2 receives the mail through the smtp protocol.
  • the anti-spam rules used for mail filtering include:
  • Text fingerprint count whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), and which folder to post to (based on keyword rules or scores) The threshold and so on determine which folder to deliver to).
  • FIG. 4 is a schematic structural diagram of a mail server 2 in an embodiment of an electronic mail system according to the present invention, including:
  • the anti-spam rules used for mail filtering include:
  • Text fingerprint count whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
  • hit rules including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.
  • mail scores (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
  • the filtering information adding unit 22 is configured to generate a current "X-Coremail-Antispam” field according to the anti-spam filtering result information, and add the "X-Coremail-Antispam” field to the mail header.
  • the "X-Coremail-Antispam" field includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which folder information to post to. Kind or combination.
  • the sending unit 23 is configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server through the pop3 or imap protocol.
  • the query unit 24 is configured to obtain, according to the “X-Coremail-Antispam” field query, the anti-spam filtering result information of the mail.
  • FIG. 5 is a schematic structural diagram of the filtering information adding unit 22 in the mail server 2 shown in FIG. 4, including:
  • the field generating unit 221 is configured to generate a current "X-Coremail-Antispam" field according to the anti-spam filtering result information.
  • the determining unit 222 is configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and if the determination is yes, delete the "X-Coremail-Antispam” field included in the mail header. And adding the current "X-Coremail-Antispam” field to the mail header.
  • the judging unit 222 judges that the "X-Coremail-Antispam" field or the content containing the mail filtering information is included in the received mail, the "X-Coremail-Antispam" field of the mail header is first The content containing the mail filtering information is removed, and then the current "X-Coremail-Antispam” field is added to the mail header to prevent the other party from forging this field.
  • the invention generates a current "X-Coremail-Antispam” field according to the anti-spam filtering result information by performing a filtering operation according to a preset anti-spam rule after the mail server receives the mail sent by the user, and generating an anti-spam filtering result information. And adding the "X-Coremail-Antispam" field to the mail header, so that the mail system administrator can clearly understand the filtering information of the mail through the "X-Coremail-Antispam” field, so that the mail is mistakenly filtered into When spam, you can quickly understand why the rules are filtered, and add the filtering information to the "X-Coremail-Antispam” field. This avoids the excessively cumbersome filtering information in the email.
  • the information in the "X-Coremail-Antispam” field can be used for intelligent learning to improve anti-spam effects.
  • the mail server when the mail server generates the current "X-Coremail-Antispam” field and adds the "X-Coremail-Antispam” field to the mail header, the mail filtering information carried by the original mail is overwritten. The mail filtering information is true and correct.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed is a mail filtering information saving method, comprising: a mail server performing a filtering operation based on a preset anti-spam rule after receiving a mail sent by a user, and generating anti-spam filtering result information, the mail comprising a header and a body; and the mail server generating a current "X-Coremail-Antispam" field in accordance with the anti-spam filtering result information, and adding the current "X-Coremail-Antispam" field to the header of the mail. By implementing the present invention, a mail system administrator can clearly know mail filtering information through the "X-Coremail-Antispam" field. Thus, when the mail is filtered as spam by mistake, the mail system administrator can rapidly know the mail is filtered according to what rules. Meanwhile, the filtering information is uniformly added to the "X-Coremail-Antispam" field, thereby preventing too much cumbersome filtering information from existing in the mail, and facilitating extraction and use. In addition, the information in the "X-Coremail-Antispam" field can be used for intelligent learning to increase the anti-spam effect.

Description

说 明 书 一种邮件过滤信息保存方法、 邮件服务器及电子邮件系统 技术领域  Description A mail filtering information saving method, mail server and email system
本发明涉及通信领域, 特别涉及一种邮件过滤信息保存方法、 邮 件服务器及电子邮件系统。 背景技术  The present invention relates to the field of communications, and in particular, to a mail filtering information saving method, a mail server, and an email system. Background technique
随着互联网技术的迅速发展,电子邮件已经逐渐取代纸件信件成 为人们常用的沟通手段, 电子邮件的普及也造成了垃圾邮件的泛滥, 而邮件系统在过滤垃圾邮件时又经常出现误过滤,及将正常邮件作为 垃圾邮件进行处理, 而用户并不清楚邮件是因何种原因被过滤, 现有 的邮件系统处理垃圾邮件信息时有以下方式及相应的不足:  With the rapid development of Internet technology, e-mail has gradually replaced paper letters as a common means of communication. The popularity of e-mail has also caused the spread of spam, and the mail system often misfilters when filtering spam. The normal mail is processed as spam, and the user is not sure why the mail is filtered. The existing mail system handles the spam information in the following ways and corresponding deficiencies:
有些邮件系统会在邮件信头加上邮件唯一标识的字段,这样可以 通过邮件唯一标识从日志或数据库中查找出反垃圾过滤结果。 但是, 获取反垃圾过滤结果的方法不够方便直接,另外日志或数据库数据可 能因为过期而被删掉, 这样就无法分析原因, 只能重新投递一次再看 结果。  Some mail systems add a uniquely identified field to the message header, so that the anti-spam results can be found from the log or database by uniquely identifying the message. However, the method of obtaining the anti-spam filtering result is not convenient enough. In addition, the log or database data may be deleted due to expiration, so that the reason cannot be analyzed, and the result can only be re-delivered once and then the result.
有些邮件系统会在信头添加一部分反垃圾过滤结果, 如 spf ( Sender Policy Framework ) 结果。 但是, 反垃圾过滤结果的信息会 有很多, 若每一条信息单独作为一个字段, 则信头的字段数会太多,  Some mail systems add some anti-spam filtering results to the header, such as spf (Sender Policy Framework) results. However, there will be a lot of information about the anti-spam filtering results. If each piece of information is used as a single field, the number of fields in the header will be too large.
发明内容 Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种邮件过滤信息 保存方法、 邮件服务器及电子邮件系统, 可实现方便查找邮件被判断 为垃圾邮件的原因。  The technical problem to be solved by the embodiments of the present invention is to provide a mail filtering information saving method, a mail server, and an e-mail system, which can realize the reason why the e-mail is judged as spam.
为达到上述技术效果,本发明实施例提供了一种邮件过滤信息保 存方法, 包括: In order to achieve the above technical effects, the embodiment of the present invention provides a mail filtering information protection. Storage methods, including:
邮件服务器接收到用户发送的邮件后根据预设的反垃圾邮件规 则进行过滤操作并生成反垃圾过滤结果信息 ,所述邮件包括信头和信 体;  After receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
所述邮件服务器根据所述反垃圾过滤结果信息生成当前 The mail server generates a current according to the anti-spam filtering result information
"X-Coremail-Antispam" 字段, 并将所述 "X-Coremail-Antispam" 字 段添加至所述邮件信头中; The "X-Coremail-Antispam" field, and the "X-Coremail-Antispam" field is added to the mail header;
将所述邮件发送至邮件存储服务器或外站的邮件服务器。  Send the message to the mail server of the mail storage server or outbound station.
作为上述方案的改进,所述邮件服务器根据所述反垃圾过滤结果 信息生成 当 前 " X-Coremail-Antispam " 字段, 并将所述 "X-Coremail-Antispam" 字段添加至所述信头中的步骤包括:  As an improvement of the above solution, the mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information, and adds the "X-Coremail-Antispam" field to the header. Includes:
所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail-Antispam" 字段;  The mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information;
判断所述邮件信头中是否已包含 "X-Coremail-Antispam" 字段, 判断为是时, 将所述邮件信头中已包含的 "X-Coremail-Antispam" 字 段删除, 并将所述当前 "X-Coremail-Antispam" 字段添加至所述邮件 信头;  Determining whether the "X-Coremail-Antispam" field is included in the mail header, and if it is YES, deleting the "X-Coremail-Antispam" field already included in the mail header, and deleting the current " The X-Coremail-Antispam" field is added to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam" 字段添加至所述邮 件信头。  When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
作为上述方案的改进, 所述 "X-Coremail-Antispam" 字段包括: 文本指纹计数信息、 是否通过灰名单过滤信息、 邮件分数信息、 文本指纹信息、图片指纹信息、命中的规则信息中的任意一种或组合。  As an improvement of the foregoing solution, the "X-Coremail-Antispam" field includes: any one of text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, and hit rule information. Kind or combination.
作为上述方案的改进, 可根据所述 "X-Coremail-Antispam" 字段 查询获取所述邮件的反垃圾过滤结果信息。  As an improvement of the foregoing solution, the anti-spam filtering result information of the mail may be obtained according to the "X-Coremail-Antispam" field query.
相应地, 本发明实施例提供了一种邮件服务器, 包括:  Correspondingly, an embodiment of the present invention provides a mail server, including:
过滤单元,用于邮件服务器接收到用户发送的邮件后根据预设的 反垃圾邮件规则进行过滤操作并生成反垃圾过滤结果信息,所述邮件 包括信头和信体;  a filtering unit, configured to: after receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
过滤信息添加单元,用于所述邮件服务器根据所述反垃圾过滤结 果信息生成当前 " X-Coremail-Antispam " 字段, 并将所述 "X-Coremail-Antispam" 字段添加至所述邮件信头中; a filtering information adding unit, configured to be used by the mail server according to the anti-spam filtering The information generates a current "X-Coremail-Antispam" field, and adds the "X-Coremail-Antispam" field to the mail header;
发送单元, 用于将所述邮件发送至邮件存储服务器或外站的邮件 服务器, 用户可通过 pop3或 imap协议从服务器获取邮件;  a sending unit, configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server through the pop3 or imap protocol;
查询单元, 用于根据所述 "X-Coremail-Antispam" 字段查询获取 所述邮件的反垃圾过滤结果信息。  The query unit is configured to obtain the anti-spam filtering result information of the mail according to the “X-Coremail-Antispam” field query.
作为上述方案的改进, 所述过滤信息添加单元包括:  As an improvement of the foregoing solution, the filtering information adding unit includes:
字段生成单元,用于所述邮件服务器根据所述反垃圾过滤结果信 息生成当前 "X-Coremail-Antispam" 字段;  a field generating unit, configured to generate, by the mail server, a current "X-Coremail-Antispam" field according to the anti-spam filtering result information;
判断单元, 用 于判断所述邮件信头 中是否 已 包含 "X-Coremail-Antispam" 字段, 判断为是时, 将所述邮件信头中已包 含的 " X-Coremail-Antispam " 字段删除, 并将所述当 前 "X-Coremail-Antispam" 字段添加至所述邮件信头;  a judging unit, configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and if it is YES, delete the "X-Coremail-Antispam" field included in the mail header, and Adding the current "X-Coremail-Antispam" field to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam" 字段添加至所述邮 件信头。  When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
相应地, 本发明实施例还提供了一种电子邮件系统, 包括: 终端, 用于发送或接收邮件;  Correspondingly, an embodiment of the present invention further provides an email system, including: a terminal, configured to send or receive a mail;
邮件服务器, 用于接收所述终端发送的邮件, 根据预设的反垃圾 述反垃圾过滤结果信息生成 "X-Coremail-Antispam"字段添加至邮件 信头后将所述邮件发送至相应的邮件存储服务器或外站的邮件服务 器。  a mail server, configured to receive the mail sent by the terminal, generate an "X-Coremail-Antispam" field according to the preset anti-spam anti-spam filtering result information, and add the mail to the mail header to send the mail to the corresponding mail storage. The mail server of the server or outbound station.
作为上述方案的改进, 所述邮件服务器包括:  As an improvement of the above solution, the mail server includes:
过滤单元,用于邮件服务器接收到用户发送的邮件后根据预设的 反垃圾邮件规则进行过滤操作并生成反垃圾过滤结果信息,所述邮件 包括信头和信体;  a filtering unit, configured to: after receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
过滤信息添加单元,用于所述邮件服务器根据所述反垃圾过滤结 果信息生成当前 " X-Coremail-Antispam " 字段, 并将所述 "X-Coremail-Antispam" 字段添加至所述邮件信头中; 发送单元, 用于将所述邮件发送至邮件存储服务器或外站的邮件 服务器, 用户可通过 pop3或 imap协议从服务器获取邮件; a filtering information adding unit, configured to generate, by the mail server, a current "X-Coremail-Antispam" field according to the anti-spam filtering result information, and add the "X-Coremail-Antispam" field to the mail header ; a sending unit, configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server by using the pop3 or imap protocol;
查询单元, 用于根据所述 "X-Coremail-Antispam" 字段查询获取 所述邮件的反垃圾过滤结果信息。  The query unit is configured to obtain the anti-spam filtering result information of the mail according to the “X-Coremail-Antispam” field query.
作为上述方案的改进, 所述过滤信息添加单元包括:  As an improvement of the foregoing solution, the filtering information adding unit includes:
字段生成单元,用于所述邮件服务器根据所述反垃圾过滤结果信 息生成当前 "X-Coremail-Antispam" 字段;  a field generating unit, configured to generate, by the mail server, a current "X-Coremail-Antispam" field according to the anti-spam filtering result information;
判断单元, 用 于判断所述邮件信头 中是否 已 包含 "X-Coremail-Antispam" 字段, 判断为是时, 将所述邮件信头中已包 含的 " X-Coremail-Antispam " 字段删除, 并将所述当 前 "X-Coremail-Antispam" 字段添加至所述邮件信头;  a judging unit, configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and if it is YES, delete the "X-Coremail-Antispam" field included in the mail header, and Adding the current "X-Coremail-Antispam" field to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam" 字段添加至所述邮 件信头。  When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
实施本发明具有如下有益效果:  The implementation of the invention has the following beneficial effects:
本发明通过在邮件服务器接收到用户发送的邮件后根据预设的 反垃圾邮件规则进行过滤操作并生成反垃圾过滤结果信息,再根据反 垃圾过滤结果信息生成当前 "X-Coremail-Antispam" 字段, 并将 The invention generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information by performing a filtering operation according to a preset anti-spam rule after the mail server receives the mail sent by the user, and generating an anti-spam filtering result information. And
"X-Coremail-Antispam"字段添加至所述邮件信头中, 使得邮件系统 管理员可通过所述 "X-Coremail-Antispam"字段清楚了解邮件的过滤 信息,从而当邮件被误过滤为垃圾邮件时可迅速了解邮件是因何规则 被过滤, 同时将过滤信息统一添加至 "X-Coremail-Antispam" 字段, 又避免了邮件中出现过多繁瑣的过滤信息方便提取使用。 另夕卜,The "X-Coremail-Antispam" field is added to the mail header, so that the mail system administrator can clearly understand the filtering information of the mail through the "X-Coremail-Antispam" field, so that the mail is mistakenly filtered into spam. When you can quickly understand how the mail is filtered, and add the filtering information to the "X-Coremail-Antispam" field, it avoids the excessively cumbersome filtering information in the mail for easy extraction. In addition,
"X-Coremail-Antispam"字段里的信息可以用来进行智能学习, 以提 高反垃圾效果。此外,邮件服务器在生成当前 "X-Coremail-Antispam" 字段, 并将 "X-Coremail-Antispam" 字段添加至所述邮件信头中时, 会将原邮件携带的邮件过滤信息覆盖,即可实现邮件过滤信息真实无 误。 附图说明 图 1 是本发明一种邮件过滤信息保存方法的一实施例的流程示 意图; The information in the "X-Coremail-Antispam" field can be used for intelligent learning to improve anti-spam effects. In addition, when the mail server generates the current "X-Coremail-Antispam" field and adds the "X-Coremail-Antispam" field to the mail header, the mail filtering information carried by the original mail is overwritten. The mail filtering information is true and correct. DRAWINGS 1 is a schematic flow chart of an embodiment of a method for saving mail filtering information according to the present invention;
图 2是本发明一种邮件过滤信息保存方法的又一实施例的流程 示意图;  2 is a schematic flow chart of still another embodiment of a method for saving mail filtering information according to the present invention;
图 3是本发明一种电子邮件系统实施例的结构示意思; 图 4是本发明一种电子邮件系统实施例中邮件服务器 2的一结构 示意图;  3 is a schematic structural view of an embodiment of an electronic mail system according to the present invention; FIG. 4 is a schematic structural view of a mail server 2 in an embodiment of an electronic mail system according to the present invention;
图 5是图 4所示邮件服务器 2中过滤信息添加单元 22的一结构 示意图。 具体实施方式  Figure 5 is a block diagram showing a structure of the filter information adding unit 22 in the mail server 2 shown in Figure 4 . detailed description
为使本发明的目的、技术方案和优点更加清楚, 下面将结合附图 对本发明作进一步地详细描述。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
图 1 是本发明一种邮件过滤信息保存方法的一实施例的流程示 意图, 包括:  1 is a schematic flow diagram of an embodiment of a method for saving mail filtering information according to the present invention, including:
100, 邮件服务器接收到用户发送的邮件后根据预设的反垃圾邮 件规则进行过滤操作并生成反垃圾过滤结果信息。  100. After receiving the mail sent by the user, the mail server performs filtering according to the preset anti-spam rules and generates anti-spam filtering result information.
所述邮件包括信头和信体。  The mail includes a letterhead and a letter body.
所述邮件服务器通过 smtp协议接收到邮件。  The mail server receives the mail through the smtp protocol.
所述针对邮件过滤所使用的反垃圾邮件规则包括:  The anti-spam rules used for mail filtering include:
文本指纹计数, 是否通过灰名单过滤, 命中的规则(包括发信频 率的规则, rbl ( (real-time blacklist, 实时黑名单 ) 的规则, 自定义的 规则等), 邮件分数, (根据各命中规则的分数算出来的总分数), 文 本指纹(根据邮件的文本计算出来的指纹), 图片指纹(根据邮件的 图片计算出来的指纹), 投递到哪个文件夹(根据关键字规则或分数 阀值等决定投递到哪个文件夹)。  Text fingerprint count, whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
101 , 所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail-Antispam"字段,并^!夺所述当前 "X-Coremail-Antispam" 字段添加至所述邮件信头中。 需要说明的是, 所述 "X-Coremail-Antispam" 字段包括文本指纹 计数信息、是否通过灰名单过滤信息、邮件分数信息、文本指纹信息、 图片指纹信息、命中的规则信息、投递到哪个文件夹信息中的任一种 或组合。 101. The mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information, and ^! The current "X-Coremail-Antispam" field is added to the mail header. It should be noted that the "X-Coremail-Antispam" field includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which folder to deliver to. Any one or combination of information.
还需要说明的是, 邮件服务器会先将邮件信头原来包含的 "X-Coremail-Antispam"字段或是含有邮件过滤信息的内容去掉, 然后 将所述当前 "X-Coremail-Antispam" 字段添加至邮件信头, 以防止对 方伪造此字段。  It should also be noted that the mail server first removes the "X-Coremail-Antispam" field originally contained in the mail header or the content containing the mail filtering information, and then adds the current "X-Coremail-Antispam" field to the Mail header to prevent the other party from forging this field.
102, 将所述邮件发送至邮件存储服务器或外站的邮件服务器。 图 2是本发明一种邮件过滤信息保存方法的又一实施例的流程 示意图, 包括:  102. Send the mail to a mail server of a mail storage server or an outbound station. 2 is a schematic flow chart of still another embodiment of a method for saving mail filtering information according to the present invention, including:
200, 邮件服务器接收到用户发送的邮件后根据预设的反垃圾邮 件规则进行过滤操作并生成反垃圾过滤结果信息。  200. After receiving the mail sent by the user, the mail server performs filtering according to the preset anti-spam rules and generates anti-spam filtering result information.
所述邮件包括信头和信体。  The mail includes a letterhead and a letter body.
所述邮件服务器通过 smtp协议接收到邮件。  The mail server receives the mail through the smtp protocol.
所述针对邮件过滤所使用的反垃圾邮件规则包括:  The anti-spam rules used for mail filtering include:
文本指纹计数, 是否通过灰名单过滤, 命中的规则(包括发信频 率的规则, rbl ( (real-time blacklist, 实时黑名单 ) 的规则, 自定义的 规则等), 邮件分数, (根据各命中规则的分数算出来的总分数), 文 本指纹(根据邮件的文本计算出来的指纹), 图片指纹(根据邮件的 图片计算出来的指纹), 投递到哪个文件夹(根据关键字规则或分数 阀值等决定投递到哪个文件夹)。  Text fingerprint count, whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
201 , 所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail-Antispam" 字段。  201. The mail server generates a current “X-Coremail-Antispam” field according to the anti-spam filtering result information.
202 , 判断所述邮件信头中是否已包含 "X-Coremail-Antispam" 字段,判断为是时,将所述邮件信头中已包含的 "X-Coremail-Antispam" 字段删除, 并将所述当前 "X-Coremail-Antispam" 字段添加至所述邮 件信头;  202. Determine whether the "X-Coremail-Antispam" field is included in the mail header, and if the determination is yes, delete the "X-Coremail-Antispam" field included in the mail header, and The current "X-Coremail-Antispam" field is added to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam" 字段添加至所述邮 件信头。 When the determination is no, the "X-Coremail-Antispam" field is added to the post. Letterhead.
需要说明的是, 所述 "X-Coremail-Antispam" 字段包括文本指纹 计数信息、是否通过灰名单过滤信息、邮件分数信息、文本指纹信息、 图片指纹信息、命中的规则信息、投递到哪个文件夹信息中的任一种 或组合。  It should be noted that the "X-Coremail-Antispam" field includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which folder to deliver to. Any one or combination of information.
还需要说明 的是, 邮件服务器会先将邮件信头的 "X-Coremail-Antispam"字段或是含有邮件过滤信息的内容去掉, 然后 将所述当前 "X-Coremail-Antispam" 字段添加至邮件信头, 以防止对 方伪造此字段。  It should also be noted that the mail server first removes the "X-Coremail-Antispam" field of the mail header or the content containing the mail filtering information, and then adds the current "X-Coremail-Antispam" field to the mail letter. Head to prevent the other party from forging this field.
203 , 将所述邮件发送至邮件存储服务器或外站的邮件服务器。 203. Send the mail to a mail server of a mail storage server or an external station.
204, 可才艮据所述 "X-Coremail-Antispam" 字段查询获取所述邮 件的反垃圾过滤结果信息。 204. The anti-spam filtering result information of the mail is obtained according to the “X-Coremail-Antispam” field query.
需要说明的是, 此步骤由邮件系统管理员在邮件服务器上操作。 需要说明的是,步骤 204只是当邮件系统管理员需要对邮件进行 邮件过滤信息查询时才执行。  It should be noted that this step is operated by the mail system administrator on the mail server. It should be noted that step 204 is only executed when the mail system administrator needs to query the mail filtering information of the mail.
图 3是本发明一种电子邮件系统实施例的结构示意思, 包括: 终端 1 , 用于发送或接收邮件。  3 is a schematic diagram of an embodiment of an embodiment of an electronic mail system according to the present invention, comprising: a terminal 1 for transmitting or receiving mail.
邮件服务器 2, 用于接收所述终端 1发送的邮件, 根据预设的反 据所述反垃圾过滤结果信息生成 "X-Coremail-Antispam"字段添加至 邮件信头后将所述邮件发送至相应的邮件存储服务器或外站的邮件 服务器。  The mail server 2 is configured to receive the mail sent by the terminal 1 and generate an "X-Coremail-Antispam" field according to the preset anti-spam filtering result information, and add the mail to the mail header to send the mail to the corresponding mail The mail storage server or the mail server of the outbound station.
需要说明的是, 所述邮件服务器 2通过 smtp协议接收到邮件。 所述针对邮件过滤所使用的反垃圾邮件规则包括:  It should be noted that the mail server 2 receives the mail through the smtp protocol. The anti-spam rules used for mail filtering include:
文本指纹计数, 是否通过灰名单过滤, 命中的规则(包括发信频 率的规则, rbl ( (real-time blacklist, 实时黑名单) 的规则, 自定义的 规则等), 邮件分数, (根据各命中规则的分数算出来的总分数), 文 本指纹(根据邮件的文本计算出来的指纹), 图片指纹(根据邮件的 图片计算出来的指纹), 投递到哪个文件夹(根据关键字规则或分数 阀值等决定投递到哪个文件夹)。 Text fingerprint count, whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), and which folder to post to (based on keyword rules or scores) The threshold and so on determine which folder to deliver to).
还需要说明的是, 所述 "X-Coremail-Antispam" 字段包括文本指 纹计数信息、 是否通过灰名单过滤信息、 邮件分数信息、 文本指纹信 息、 图片指纹信息、 命中的规则信息、 投递到哪个文件夹信息中的任 一种或组合。  It should also be noted that the "X-Coremail-Antispam" field includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which file to deliver to. Any one or combination of clip information.
图 4是本发明一种电子邮件系统实施例中邮件服务器 2的一结构 示意图, 包括:  4 is a schematic structural diagram of a mail server 2 in an embodiment of an electronic mail system according to the present invention, including:
过滤单元 21 , 用于邮件服务器 2接收到用户发送的邮件后根据 预设的反垃圾邮件规则进行过滤操作并生成反垃圾过滤结果信息,所 述邮件包括信头和信体。  The filtering unit 21 is configured to: after receiving the mail sent by the user, the filtering server performs filtering operations according to the preset anti-spam rules and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body.
所述针对邮件过滤所使用的反垃圾邮件规则包括:  The anti-spam rules used for mail filtering include:
文本指纹计数, 是否通过灰名单过滤, 命中的规则(包括发信频 率的规则, rbl ( (real-time blacklist, 实时黑名单 ) 的规则, 自定义的 规则等), 邮件分数, (根据各命中规则的分数算出来的总分数), 文 本指纹(根据邮件的文本计算出来的指纹), 图片指纹(根据邮件的 图片计算出来的指纹), 投递到哪个文件夹(根据关键字规则或分数 阀值等决定投递到哪个文件夹)。  Text fingerprint count, whether to filter by gray list, hit rules (including rules for sending frequency, rbl (real-time blacklist) rules, custom rules, etc.), mail scores, (according to each hit The total score of the rule's score), the text fingerprint (the fingerprint calculated from the text of the email), the image fingerprint (the fingerprint calculated from the image of the email), to which folder (based on the keyword rule or the score threshold) Wait until you decide which folder to post to).
过滤信息添加单元 22, 用于根据所述反垃圾过滤结果信息生成 当前 "X-Coremail-Antispam"字段,并 ^夺所述" X-Coremail-Antispam" 字段添加至所述邮件信头中。  The filtering information adding unit 22 is configured to generate a current "X-Coremail-Antispam" field according to the anti-spam filtering result information, and add the "X-Coremail-Antispam" field to the mail header.
所述 "X-Coremail-Antispam" 字段包括文本指纹计数信息、 是否 通过灰名单过滤信息、邮件分数信息、文本指纹信息、图片指纹信息、 命中的规则信息、 投递到哪个文件夹信息中的任一种或组合。  The "X-Coremail-Antispam" field includes text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture fingerprint information, hit rule information, and which folder information to post to. Kind or combination.
发送单元 23 , 用于将所述邮件发送至邮件存储服务器或外站的邮 件服务器, 用户可通过 pop3或 imap协议从服务器获取邮件。  The sending unit 23 is configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server through the pop3 or imap protocol.
查询单元 24, 用于根据所述 "X-Coremail-Antispam" 字段查询 获取所述邮件的反垃圾过滤结果信息。  The query unit 24 is configured to obtain, according to the “X-Coremail-Antispam” field query, the anti-spam filtering result information of the mail.
图 5是图 4所示邮件服务器 2中过滤信息添加单元 22的一结构 示意图, 包括: 字段生成单元 221 , 用于根据所述反垃圾过滤结果信息生成当前 "X-Coremail-Antispam" 字段。 FIG. 5 is a schematic structural diagram of the filtering information adding unit 22 in the mail server 2 shown in FIG. 4, including: The field generating unit 221 is configured to generate a current "X-Coremail-Antispam" field according to the anti-spam filtering result information.
判断单元 222 , 用于判断所述邮件信头中是否已包含 "X-Coremail-Antispam" 字段, 判断为是时, 将所述邮件信头中已包 含的 " X-Coremail-Antispam " 字段删除, 并将所述当 前 "X-Coremail-Antispam" 字段添加至所述邮件信头。  The determining unit 222 is configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and if the determination is yes, delete the "X-Coremail-Antispam" field included in the mail header. And adding the current "X-Coremail-Antispam" field to the mail header.
判断为否时, 将所述 "X-Coremail-Antispam" 字段添加至所述邮 件信头。  When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
需要说明的是, 判断单元 222 判断接收的邮件中已包括 "X-Coremail-Antispam"字段或是含有邮件过滤信息的内容时,会先将 邮件信头的" X-Coremail-Antispam"字段或是含有邮件过滤信息的内 容去掉, 然后将所述当前 "X-Coremail-Antispam" 字段添加至邮件信 头, 以防止对方伪造此字段。  It should be noted that, when the judging unit 222 judges that the "X-Coremail-Antispam" field or the content containing the mail filtering information is included in the received mail, the "X-Coremail-Antispam" field of the mail header is first The content containing the mail filtering information is removed, and then the current "X-Coremail-Antispam" field is added to the mail header to prevent the other party from forging this field.
本发明一种邮件服务器与本发明一种电子邮件系统中的邮件服 务器 2在结构和功能上大致相同, 在此不再详述。  A mail server of the present invention is substantially the same in structure and function as the mail server 2 in an electronic mail system of the present invention, and will not be described in detail herein.
本发明通过在邮件服务器接收到用户发送的邮件后根据预设的 反垃圾邮件规则进行过滤操作并生成反垃圾过滤结果信息,再根据反 垃圾过滤结果信息生成当前 "X-Coremail-Antispam" 字段, 并将 "X-Coremail-Antispam"字段添加至所述邮件信头中, 使得邮件系统 管理员可通过所述 "X-Coremail-Antispam"字段清楚了解邮件的过滤 信息,从而当邮件被误过滤为垃圾邮件时可迅速了解邮件是因何规则 被过滤, 同时将过滤信息统一添加至 "X-Coremail-Antispam" 字段, 又避免了邮件中出现过多繁瑣的过滤信息方便提取使用。 另夕卜, "X-Coremail-Antispam"字段里的信息可以用来进行智能学习, 以提 高反垃圾效果。此外,邮件服务器在生成当前 "X-Coremail-Antispam" 字段, 并将 "X-Coremail-Antispam" 字段添加至所述邮件信头中时, 会将原邮件携带的邮件过滤信息覆盖,即可实现邮件过滤信息真实无 误。  The invention generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information by performing a filtering operation according to a preset anti-spam rule after the mail server receives the mail sent by the user, and generating an anti-spam filtering result information. And adding the "X-Coremail-Antispam" field to the mail header, so that the mail system administrator can clearly understand the filtering information of the mail through the "X-Coremail-Antispam" field, so that the mail is mistakenly filtered into When spam, you can quickly understand why the rules are filtered, and add the filtering information to the "X-Coremail-Antispam" field. This avoids the excessively cumbersome filtering information in the email. In addition, the information in the "X-Coremail-Antispam" field can be used for intelligent learning to improve anti-spam effects. In addition, when the mail server generates the current "X-Coremail-Antispam" field and adds the "X-Coremail-Antispam" field to the mail header, the mail filtering information carried by the original mail is overwritten. The mail filtering information is true and correct.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域 的普通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若 干改进和润饰, 这些改进和润饰也视为本发明的保护范围。 The above is a preferred embodiment of the present invention, it should be noted that the technical field is A number of modifications and refinements can be made by those skilled in the art without departing from the principles of the invention, and such modifications and refinements are also considered to be within the scope of the invention.

Claims

权 利 要 求 Rights request
1.一种邮件过滤信息保存方法, 其特征在于, 包括:  A method for saving mail filtering information, comprising:
邮件服务器接收到用户发送的邮件后根据预设的反垃圾邮件规则进行过滤操作并生成反垃圾 过滤结果信息, 所述邮件包括信头和信体; After receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail-Antispam"字段, 并将 所述当前 "X-Coremail-Antispam"字段添加至所述邮件信头中; The mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information, and adds the current "X-Coremail-Antispam" field to the mail header;
将所述邮件发送至邮件存储服务器或外站的邮件服务器。 Send the message to the mail server of the mail storage server or outbound station.
2. 如权利要求 1 所述的方法, 其特征在于, 所述邮件服务器根据所述反垃圾过滤结果信息 生成当前 "X-Coremail-Antispam"字段, 并将所述 "X-Coremail-Antispam"字段添加至所述 信头中的步骤包括:  2. The method according to claim 1, wherein the mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information, and the "X-Coremail-Antispam" field is The steps added to the header include:
所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail-Antispam"字段; 判断所述邮件信头中是否已包含 "X-Coremail-Antispam"字段, 判断为是时, 将所述邮件信 头中已包含的 "X-Coremail-Antispam"字段删除, 并将所述当前 "X-Coremail-Antispam"字 段添加至所述邮件信头; The mail server generates a current "X-Coremail-Antispam" field according to the anti-spam filtering result information; and determines whether the "X-Coremail-Antispam" field is included in the mail header, and if the determination is yes, the mail server The "X-Coremail-Antispam" field already included in the mail header is deleted, and the current "X-Coremail-Antispam" field is added to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam"字段添加至所述邮件信头。 When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
3. 如权利要求 1或 2所述的方法, 其特征在于, 所述 " X-Coremail-Antispam"字段包括: 文本指纹计数信息、 是否通过灰名单过滤信息、 邮件分数信息、 文本指纹信息、 图片指纹信 息、 命中的规则信息中的任意一种或组合。  The method according to claim 1 or 2, wherein the "X-Coremail-Antispam" field comprises: text fingerprint count information, whether to filter information by gray list, mail score information, text fingerprint information, picture Any one or combination of fingerprint information and hit rule information.
4. 如权利要求 3所述的方法, 其特征在于, 还包括:  4. The method of claim 3, further comprising:
可根据所述 "X-Coremail-Antispam"字段查询获取所述邮件的反垃圾过滤结果信息。 The anti-spam filtering result information of the mail may be obtained according to the "X-Coremail-Antispam" field query.
5. —种邮件服务器, 其特征在于, 包括:  5. A mail server, characterized in that it comprises:
过滤单元, 用于邮件服务器接收到用户发送的邮件后根据预设的反垃圾邮件规则进行过滤操 作并生成反垃圾过滤结果信息, 所述邮件包括信头和信体; a filtering unit, configured to: after receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule, and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
过滤信息添加单元, 用于所述邮件服务器根据所述反垃圾过滤结果信息生成当前 " X- Coremail-Antispam"字段, 并将所述 "X-Coremail-Antispam"字段添加至所述邮件信头中; 发送单元, 用于将所述邮件发送至邮件存储服务器或外站的邮件服务器, 用户可通过 pop3 或 imap协议从服务器获取邮件; a filtering information adding unit, configured to generate, by the mail server, a current "X-coremail-Antispam" field according to the anti-spam filtering result information, and add the "X-Coremail-Antispam" field to the mail header a sending unit, configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server through the pop3 or imap protocol;
查询单元, 用于根据所述 "X-Coremail-Antispam"字段查询获取所述邮件的反垃圾过滤结果 信息。 The query unit is configured to obtain the anti-spam filtering result information of the mail according to the “X-Coremail-Antispam” field query.
6. 如权利要求 5所述的邮件服务器, 其特征在于, 所述过滤信息添加单元包括: 字段生成单元, 用于所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail- Antispam"字段; The mail server according to claim 5, wherein the filtering information adding unit comprises: a field generating unit, configured to generate, by the mail server, a current "X-Coremail-Antispam" field according to the anti-spam filtering result information;
判断单元, 用于判断所述邮件信头中是否已包含 "X-Coremail-Antispam"字段, 判断为是时, 将所述邮件信头中已包含的 "X-Coremail-Antispam"字段删除, 并将所述当前 "X-Coremail- Antispam"字段添加至所述邮件信头; a judging unit, configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and when the determination is yes, delete the "X-Coremail-Antispam" field included in the mail header, and Adding the current "X-Coremail-Antispam" field to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam"字段添加至所述邮件信头。 When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
7. —种电子邮件系统, 其特征在于, 包括:  7. An email system, characterized in that it comprises:
终端, 用于发送或接收邮件; Terminal, used to send or receive mail;
邮件服务器, 用于接收所述终端发送的邮件, 根据预设的反垃圾邮件规则对所述邮件进行过 滤后生成反垃圾过滤结果信息, 再根据所述反垃圾过滤结果信息生成 "X-Coremail-Antispam" 字段添加至邮件信头后将所述邮件发送至相应的邮件存储服务器或外站的邮件服务器。 a mail server, configured to receive an email sent by the terminal, filter the email according to a preset anti-spam rule, generate an anti-spam filtering result information, and generate an X-Coremail- according to the anti-spam filtering result information. The Antispam" field is added to the mail header to send the message to the mail server of the corresponding mail storage server or outbound station.
8. 如权利要求 7所述的邮件服务器, 其特征在于, 所述邮件服务器包括:  8. The mail server according to claim 7, wherein the mail server comprises:
过滤单元, 用于邮件服务器接收到用户发送的邮件后根据预设的反垃圾邮件规则进行过滤操 作并生成反垃圾过滤结果信息, 所述邮件包括信头和信体; a filtering unit, configured to: after receiving the mail sent by the user, the mail server performs a filtering operation according to a preset anti-spam rule, and generates anti-spam filtering result information, where the mail includes a letterhead and a letter body;
过滤信息添加单元, 用于所述邮件服务器根据所述反垃圾过滤结果信息生成当前 " X- Coremail-Antispam"字段, 并将所述 "X-Coremail-Antispam"字段添加至所述邮件信头中; 发送单元, 用于将所述邮件发送至邮件存储服务器或外站的邮件服务器, 用户可通过 pop3 或 imap协议从服务器获取邮件; a filtering information adding unit, configured to generate, by the mail server, a current "X-coremail-Antispam" field according to the anti-spam filtering result information, and add the "X-Coremail-Antispam" field to the mail header a sending unit, configured to send the mail to a mail server of the mail storage server or the external station, and the user can obtain the mail from the server through the pop3 or imap protocol;
查询单元, 用于根据所述 "X-Coremail-Antispam"字段查询获取所述邮件的反垃圾过滤结果 信息。 The query unit is configured to obtain the anti-spam filtering result information of the mail according to the “X-Coremail-Antispam” field query.
9. 如权利要求 8所述邮件服务器, 其特征在于, 所述过滤信息添加单元包括:  The mail server according to claim 8, wherein the filtering information adding unit comprises:
字段生成单元, 用于所述邮件服务器根据所述反垃圾过滤结果信息生成当前 "X-Coremail- Antispam"字段; a field generating unit, configured to generate, by the mail server, a current "X-Coremail-Antispam" field according to the anti-spam filtering result information;
判断单元, 用于判断所述邮件信头中是否已包含 "X-Coremail-Antispam"字段, 判断为是时, 将所述邮件信头中已包含的 "X-Coremail-Antispam"字段删除, 并将所述当前 "X-Coremail- Antispam"字段添加至所述邮件信头; a judging unit, configured to determine whether the "X-Coremail-Antispam" field is included in the mail header, and when the determination is yes, delete the "X-Coremail-Antispam" field included in the mail header, and Adding the current "X-Coremail-Antispam" field to the mail header;
判断为否时, 将所述 "X-Coremail-Antispam"字段添加至所述邮件信头。 When the determination is no, the "X-Coremail-Antispam" field is added to the mail header.
PCT/CN2012/071331 2011-12-30 2012-02-20 Mail filtering information saving method, mail server and e-mail system WO2013097329A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110452384.7 2011-12-30
CN201110452384.7A CN103188136B (en) 2011-12-30 2011-12-30 A kind of filtrating mail information saving method, mail server and e-mail system

Publications (1)

Publication Number Publication Date
WO2013097329A1 true WO2013097329A1 (en) 2013-07-04

Family

ID=48679107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071331 WO2013097329A1 (en) 2011-12-30 2012-02-20 Mail filtering information saving method, mail server and e-mail system

Country Status (2)

Country Link
CN (1) CN103188136B (en)
WO (1) WO2013097329A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067765B (en) * 2020-01-02 2023-01-13 中国移动通信有限公司研究院 Multimedia message monitoring method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941746A (en) * 2005-09-27 2007-04-04 腾讯科技(深圳)有限公司 Method and system against rubbish e-mails
CN101005462A (en) * 2006-01-16 2007-07-25 腾讯科技(深圳)有限公司 Processing device and method for anti-junk mails
US20080208995A1 (en) * 2007-02-27 2008-08-28 Digital Arts Inc. Electronic mail processing method and electronic mail processing system
CN101317409A (en) * 2005-11-28 2008-12-03 卢森特技术有限公司 Anti-spam application storage system
CN102098632A (en) * 2011-01-28 2011-06-15 宇龙计算机通信科技(深圳)有限公司 Mail filtering method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100574265C (en) * 2005-01-10 2009-12-23 华为技术有限公司 The processing method of packet and system in a kind of radio data network
CN101083630A (en) * 2006-06-01 2007-12-05 珠海金山软件股份有限公司 Anti-rubbish E-mail system and method
CN101217555A (en) * 2008-01-10 2008-07-09 厦门三五互联科技股份有限公司 An intelligent anti-waster and anti-virus gateway and the corresponding filtering method
US7865561B2 (en) * 2008-04-01 2011-01-04 Mcafee, Inc. Increasing spam scanning accuracy by rescanning with updated detection rules
KR101114049B1 (en) * 2009-02-04 2012-02-22 엘지전자 주식회사 A method and apparatus for spam message management in a messaging system
CN101877680A (en) * 2010-05-21 2010-11-03 电子科技大学 Junk mail sending behavior control system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941746A (en) * 2005-09-27 2007-04-04 腾讯科技(深圳)有限公司 Method and system against rubbish e-mails
CN101317409A (en) * 2005-11-28 2008-12-03 卢森特技术有限公司 Anti-spam application storage system
CN101005462A (en) * 2006-01-16 2007-07-25 腾讯科技(深圳)有限公司 Processing device and method for anti-junk mails
US20080208995A1 (en) * 2007-02-27 2008-08-28 Digital Arts Inc. Electronic mail processing method and electronic mail processing system
CN102098632A (en) * 2011-01-28 2011-06-15 宇龙计算机通信科技(深圳)有限公司 Mail filtering method and mobile terminal

Also Published As

Publication number Publication date
CN103188136A (en) 2013-07-03
CN103188136B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
US8285804B2 (en) Declassifying of suspicious messages
KR101137089B1 (en) Validating inbound messages
EP2446411B1 (en) Real-time spam look-up system
US8745143B2 (en) Delaying inbound and outbound email messages
WO2008116419A1 (en) An email tracking system and a method and server thereof
WO2008154835A1 (en) Electronic mail filtering method, device, and electronic mail server
AU2009299539B2 (en) Electronic communication control
WO2010037327A1 (en) Notifying method and equipment for e-mail arrival
US20060184635A1 (en) Electronic mail method using email tickler
CN105376137B (en) A kind of instant communicating method and device
KR101238527B1 (en) Reducing unwanted and unsolicited electronic messages
US20060075099A1 (en) Automatic elimination of viruses and spam
JP2009169866A (en) Electronic mail client and its control method, and computer program
US7627635B1 (en) Managing self-addressed electronic messages
WO2010127586A1 (en) E-mailbox system as well as output method and device for system mails thereof
US8626856B2 (en) Geo-data spam filter
WO2013097329A1 (en) Mail filtering information saving method, mail server and e-mail system
JP2006251882A (en) Unsolicited mail handling system, unsolicited mail handling method and program
WO2015196658A1 (en) Method and device for acquiring delivery state of e-mail, and computer storage medium
US20080313285A1 (en) Post transit spam filtering
JP2011138334A (en) Electronic mail system having spam mail interruption function
Zadgaonkar et al. Developing a model to detect e-mail address spoofing using biometrics technique
JP5843653B2 (en) False mail processing device, false mail processing method, and program
KR20130109700A (en) Prevention method of mobile spam mail
US20120296990A1 (en) Shared content server for electronic messages

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12861337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12861337

Country of ref document: EP

Kind code of ref document: A1