JP2005236845A - Electronic mail substitution apparatus and program - Google Patents

Electronic mail substitution apparatus and program Download PDF

Info

Publication number
JP2005236845A
JP2005236845A JP2004045938A JP2004045938A JP2005236845A JP 2005236845 A JP2005236845 A JP 2005236845A JP 2004045938 A JP2004045938 A JP 2004045938A JP 2004045938 A JP2004045938 A JP 2004045938A JP 2005236845 A JP2005236845 A JP 2005236845A
Authority
JP
Japan
Prior art keywords
mail
server
additional service
sender
received
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2004045938A
Other languages
Japanese (ja)
Other versions
JP3938145B2 (en
Inventor
Jun Harada
潤 原田
Yuji Ishizaki
裕司 石崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2004045938A priority Critical patent/JP3938145B2/en
Publication of JP2005236845A publication Critical patent/JP2005236845A/en
Application granted granted Critical
Publication of JP3938145B2 publication Critical patent/JP3938145B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an additional service for electronic mail completely without depending on a mail server. <P>SOLUTION: A mail server 1 offers a service of using an SMTP to receive mails sent from a user terminal 5 and another mail server 6 and to distribute the mail to the other mail server 6 or to store the mail in a mailbox 7. An electronic mail substitution apparatus 2 is installed on a pre-stage of the mail server 1, substitutively receives mail sent to the mail server 1, executes control for enabling a mail sender or a mail recipient to determine an additional service under a utilization contract and for relaying mail to additional service servers 3-1 to 3-n for providing the determined additional service, and transmits mail to which the additional service is completely applied, to the mail server 1. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、電子メールに対してウィルスチェックなどの付加サービスをメールサーバ側で実施するための電子メール代理(Proxy)装置に関する。   The present invention relates to an electronic mail proxy device for implementing additional services such as virus checking on electronic mail on the mail server side.

メールサーバは、SMTP(Simple Mail Transfer Protocol)を使用して、ユーザ端末や他のメールサーバから送られてきたメールを受信し、受信したメールを目的のメールサーバへ配信したり、或いはメールボックスへ保存するサービスを提供する。近年、このような基本サービスとは別に、ウィルスチェックなどの付加サービスをメールサーバ側で実施することが行われている。   The mail server receives mail sent from the user terminal or other mail server using SMTP (Simple Mail Transfer Protocol) and distributes the received mail to the target mail server or to the mailbox. Provide a service to save. In recent years, apart from such basic services, additional services such as virus checking have been implemented on the mail server side.

電子メールに対する付加サービスをメールサーバ側で実施する従来技術の一例が特許文献1に記載されている。この従来技術は、図6に示すように、インターネット104に接続されたメールサーバ101と、このメールサーバ101に接続されたデータベース102、メールボックス103および各種サーバ部105とから構成される。   An example of a prior art that implements an additional service for electronic mail on the mail server side is described in Patent Document 1. As shown in FIG. 6, this prior art includes a mail server 101 connected to the Internet 104, a database 102 connected to the mail server 101, a mail box 103, and various server units 105.

各種サーバ部105は、ウィルス削除サーバ1051、ウィルスメール削除サーバ1052、コンテンツフィルタ削除サーバ1053、コンテンツフィルタ返信サーバ1054、スパムチェックサーバ1055、その他の付加サービスサーバ1056を含む。   The various server units 105 include a virus deletion server 1051, a virus mail deletion server 1052, a content filter deletion server 1053, a content filter reply server 1054, a spam check server 1055, and other additional service servers 1056.

ウィルス削除サーバ1051は、メールサーバ101から送られてきたメールを受信し、そのメールにウィルスが含まれていないかどうかをチェックし、このチェックの結果、ウィルスが含まれていれば削除し、ウィルス削除後のメールをメールサーバ101へ返信する。   The virus deletion server 1051 receives the mail sent from the mail server 101, checks whether the mail does not contain a virus, and if the virus is included as a result of this check, deletes the virus. The deleted mail is returned to the mail server 101.

ウィルスメール削除サーバ1052は、メールサーバ101から送られてきたメールを受信し、そのメールにウィルスが含まれていないかどうかをチェックし、このチェックの結果、ウィルスが含まれているメールは削除し、ウィルスの含まれていないメールだけをメールサーバ101に返信する。   The virus mail deletion server 1052 receives the mail sent from the mail server 101 and checks whether the mail does not contain a virus. As a result of this check, the mail containing the virus is deleted. Only mail that does not contain a virus is returned to the mail server 101.

コンテンツフィルタ削除サーバ1053は、メールサーバ101から送られてきたメールを受信し、予めコンテンツフィルタに登録されている文字列が含まれていないかどうかをチェックし、このチェックの結果、コンテンツフィルタに登録されている文字列が含まれているメールは削除し、そのような文字列が含まれていないメールだけをメールサーバ101に返信する。   The content filter deletion server 1053 receives the mail sent from the mail server 101, checks whether or not the character string registered in the content filter in advance is included, and as a result of this check, registers in the content filter. E-mails that include the character strings that are included are deleted, and only e-mails that do not include such character strings are returned to the mail server 101.

コンテンツフィルタ返信サーバ1054は、メールサーバ101から送られてきたメールを受信し、予めコンテンツフィルタに登録されている文字列が含まれていないかどうかをチェックし、このチェックの結果、コンテンツフィルタに登録されている文字列が含まれているメールは送信者に返信し、そのような文字列が含まれていないメールだけをメールサーバ101に返信する。   The content filter reply server 1054 receives the mail sent from the mail server 101, checks whether or not a character string registered in the content filter is included in advance, and as a result of this check, registers in the content filter. The mail including the character string that is displayed is returned to the sender, and only mail that does not include such a character string is returned to the mail server 101.

スパムチェックサーバ1055は、メールサーバ101から送られてきたメールを受信し、そのメールが無差別に発信されるスパムメール(Spam Mail)でないかどうかをチェックし、このチェックの結果、スパムメールは削除し、スパムメール以外のメールだけをメールサーバ101に返信する。   The spam check server 1055 receives the mail sent from the mail server 101 and checks whether the mail is not spam mail (Spam Mail) sent indiscriminately. As a result of the check, the spam mail is deleted. Then, only mail other than spam mail is returned to the mail server 101.

データベース102には、ユーザが利用契約している付加サービスが登録されている。   In the database 102, additional services with which the user has subscribed are registered.

次に、このように構成された従来の電子メールシステムの動作を説明する。   Next, the operation of the conventional electronic mail system configured as described above will be described.

インターネット104を通じてユーザ端末あるいは他のメールサーバからメールを受信したメールサーバ101は、そのメールの送信アドレスや受信アドレスから、データベース102を参照して、メール送信者あるいはメール受信者のユーザが利用契約している付加サービスを判断し、利用契約している付加サービスに対応するヘッダをメールに追加する。例えば、受信メールに対して、ウィルス削除機能、コンテンツフィルタ削除機能、スパムチェック機能の3つの付加サービスを使用契約しているユーザ宛のメールの場合、これら3つの機能に対応するヘッダをメールに追加し、更に、新規受信メールと機能を利用したメールを区別するために機能終了ヘッダを追加する。また、送信メールに対して、ウィルスメール削除機能、コンテンツフィルタ返信機能の2つの付加サービスの使用契約をしているユーザが送信したメールの場合、これら2つの機能に対応するヘッダと機能終了ヘッダとをメールに追加する。   A mail server 101 that has received a mail from a user terminal or other mail server through the Internet 104 refers to the database 102 based on the mail transmission address or reception address, and the user of the mail sender or mail receiver makes a use contract. The additional service that has been subscribed to is determined, and a header corresponding to the additional service with which the service is subscribed is added to the mail. For example, in the case of a mail addressed to a user who has contracted to use three additional services: a virus deletion function, a content filter deletion function, and a spam check function, the header corresponding to these three functions is added to the mail. In addition, a function end header is added to distinguish newly received mail from mail using the function. In addition, in the case of an email sent by a user who has contracted to use two additional services, the virus email deletion function and the content filter reply function, for the sent email, a header corresponding to these two functions and a function end header To the email.

次にメールサーバ101は、ヘッダを読み込んで利用する付加サービスを判断し、その付加サービスを提供するサーバ1051〜1056にメールを送信し、付加サービスサーバからメールが返信されてきたら対応するヘッダを削除する処理を、機能終了ヘッダを読み込むまで繰り返すことにより、ユーザが使用契約した付加サービスを実行する。   Next, the mail server 101 reads the header, determines the additional service to be used, transmits the mail to the servers 1051 to 1056 that provide the additional service, and deletes the corresponding header when the mail is returned from the additional service server. By repeating this process until the function end header is read, the additional service contracted by the user is executed.

例えば、受信メールに対して、ウィルス削除機能、コンテンツフィルタ削除機能、スパムチェック機能の3つの付加サービスに対応するヘッダがその順に付加されている場合、まずメールサーバ101は、ウィルス削除サーバ1051にメールを送信し、ウィルス削除サーバ1051からメールが返信されると、ウィルス削除機能に対応するヘッダを削除し、次のコンテンツフィルタ削除機能に対応するヘッダに従って、メールをコンテンツフィルタ削除サーバ1053に送信する。同様に、コンテンツフィルタ削除サーバ1053からメールが返信されると、コンテンツフィルタ削除機能に対応するヘッダを削除し、次のスパムチェック機能に対応するヘッダに従って、メールをスパムチェックサーバ1055に送信し、スパムチェックサーバ1055からメールが返信されると、スパムチェック機能に対応するヘッダを削除する。そして、次のヘッダが機能終了ヘッダであることを認識すると、そのメールをユーザのメールボックス103へ格納する。   For example, when headers corresponding to three additional services of a virus deletion function, a content filter deletion function, and a spam check function are added to the received mail in that order, the mail server 101 first sends a mail to the virus deletion server 1051. When the mail is returned from the virus deletion server 1051, the header corresponding to the virus deletion function is deleted, and the mail is transmitted to the content filter deletion server 1053 according to the header corresponding to the next content filter deletion function. Similarly, when a mail is returned from the content filter deletion server 1053, the header corresponding to the content filter deletion function is deleted, and the mail is transmitted to the spam check server 1055 according to the header corresponding to the next spam check function. When a mail is returned from the check server 1055, the header corresponding to the spam check function is deleted. When the next header is recognized as a function end header, the mail is stored in the user's mail box 103.

また、送信メールに対して、ウィルスメール削除機能、コンテンツフィルタ返信機能の2つの付加サービスに対応するヘッダがその順に付加されている場合、まずメールサーバ101は、ウィルスメール削除サーバ1052にメールを送信し、ウィルスメール削除サーバ1052からメールが返信されると、ウィルスメール削除機能に対応するヘッダを削除し、次のコンテンツフィルタ返信機能に対応するヘッダに従って、メールをコンテンツフィルタ返信サーバ1054に送信する。そして、コンテンツフィルタ返信サーバ1054からメールが返信されると、コンテンツフィルタ返信機能に対応するヘッダを削除し、次のヘッダが機能終了ヘッダであることを認識して、メールを適切な他のメールサーバへ配信する。   When the headers corresponding to the two additional services of the virus mail deletion function and the content filter reply function are added to the transmitted mail in that order, the mail server 101 first transmits the mail to the virus mail deletion server 1052. When a mail is returned from the virus mail deletion server 1052, the header corresponding to the virus mail deletion function is deleted, and the mail is transmitted to the content filter reply server 1054 according to the header corresponding to the next content filter reply function. When a mail is returned from the content filter reply server 1054, the header corresponding to the content filter reply function is deleted, the next header is recognized as a function end header, and the mail is sent to another appropriate mail server. Deliver to.

このように特許文献1に記載される従来技術では、メールサーバ101がデータベース102を参照してユーザが利用契約している付加サービスを判断し、利用契約されている付加サービスに対応するヘッダをメールに付加することによりメール自身に自らが受ける付加サービスの種類を保持させる。そして、メールサーバ101が各ヘッダを参照して、該当する付加サービスを提供する付加サービスサーバ1051〜1056へメールを振り分けることにより、各ユーザに対して、そのユーザが利用契約した付加サービスだけを提供することを可能にしている。
特開2003−218944号公報
As described above, in the prior art described in Patent Document 1, the mail server 101 refers to the database 102 to determine the additional service with which the user has a usage contract, and mails the header corresponding to the additional service with which the usage contract has been made. By adding to the mail, the mail itself holds the type of additional service it receives. Then, the mail server 101 refers to each header and distributes the mail to the additional service servers 1051 to 1056 that provide the corresponding additional service, thereby providing each user with only the additional service contracted by the user. It is possible to do.
JP 2003-218944 A

上述した特許文献1に記載される従来技術によれば、メール送信者あるいはメール受信者のユーザに対して、そのユーザが利用契約した付加サービスをメールサーバ側で提供することが可能である。しかしながら、以下のような課題がある。   According to the prior art described in Patent Document 1 described above, it is possible to provide an additional service contracted by the user on the mail server side to the user of the mail sender or mail receiver. However, there are the following problems.

付加サービスを提供するためにメールサーバに大幅に手を加える必要があり、また付加サービスによってメールサーバの負荷が高まる。その理由は、メール送信者あるいはメール受信者が利用契約している付加サービスの決定、決定された付加サービスを提供する付加サービスサーバへのメールの送信などの処理を、メールサーバ自身が実行しなければならず、メールサーバが付加サービスの提供に深く関与しているためである。   In order to provide the supplementary service, it is necessary to significantly modify the mail server, and the supplementary service increases the load on the mail server. The reason is that the mail server itself must execute processing such as determining the additional service that the mail sender or mail receiver has subscribed to, and sending the mail to the additional service server that provides the determined additional service. This is because the mail server is deeply involved in providing additional services.

メールに対して付加サービスに応じたヘッダを追加する必要がある。その理由は、利用する付加サービスに対応するヘッダをメールに付加することによりメール自身に自らが受ける付加サービスの種類を保持させ、メールサーバがそのヘッダを参照して、該当する付加サービスを提供する付加サービスサーバへメールを振り分けるようにしているためである。付加サービス終了後にそのヘッダは削除されるとは言え、ユーザのメールに対して特殊なヘッダを付加することは極力避けることが望ましい。   It is necessary to add a header corresponding to the additional service to the mail. The reason is that by adding a header corresponding to the additional service to be used to the mail, the mail itself holds the type of additional service received by the mail, and the mail server provides the corresponding additional service by referring to the header. This is because mail is distributed to the additional service server. Although the header is deleted after the additional service ends, it is desirable to avoid adding a special header to the user's mail as much as possible.

本発明はこのような事情に鑑みて提案されたものであり、その目的は、電子メールに対する付加サービスをメールサーバに全く依存しない形態で実現することにある。   The present invention has been proposed in view of such circumstances, and an object thereof is to realize an additional service for electronic mail in a form that does not depend on a mail server at all.

本発明の別の目的は、メール自体に特殊なヘッダを付加するなどの加工を一切行わずに、電子メールに対する付加サービスの提供を可能にすることにある。   Another object of the present invention is to make it possible to provide an additional service for electronic mail without performing any processing such as adding a special header to the mail itself.

本発明の電子メール代理装置は、SMTPを使用してユーザ端末および他メールサーバから送られてきたメールを受信して他メールサーバへ配信したり或いはメールボックスへ保存するサービスを提供するメールサーバの前段に設置され、前記メールサーバに送られてくるメールを代理で受信し、メール送信者あるいはメール受信者が利用契約している付加サービスを決定し、該決定した付加サービスを提供する付加サービスサーバへメールをリレーする制御を実行し、付加サービスの適用を終えたメールを前記メールサーバに送信する。より具体的には、第1の電子メール代理装置は、SMTP通信で前記メールサーバに送られてくるメールを前記メールサーバに代わって汎用受信ポートで受信すると共に、外部の付加サービスサーバから送られてくるメールを付加サービスサーバ毎に予め定められた専用受信ポートで受信するメール受信部と、前記メール受信部で受信されたメールの送信者および受信者の少なくとも一方のユーザを判別する送受信者判別部と、ユーザが利用契約している付加サービスの種類を調べる顧客情報問い合わせ部と、予め定められた付加サービスの適用順番と前記顧客情報問い合わせ部によって判明した付加サービスの種類と前記メールの受信ポートの種類とに基づいて、前記メールに対して実行すべき付加サービスが残っているかどうか、及び、残っている場合には次に実行すべき付加サービスはどれであるかを判断し、実行すべき付加サービスが残っていない場合には前記メールのリレー先を前記メールサーバに決定し、残っている場合には前記メールのリレー先を次に実行すべき付加サービスを提供する付加サービスサーバに決定するメールリレー制御部と、前記メールリレー制御部で決定されたリレー先に前記メールを送信するメール送信部とを備えている。   The electronic mail proxy device of the present invention is a mail server that provides a service for receiving mail sent from a user terminal and another mail server using SMTP and distributing it to another mail server or storing it in a mailbox. Additional service server that is installed in the preceding stage, receives the mail sent to the mail server on behalf, determines the additional service subscribed to by the mail sender or mail receiver, and provides the determined additional service Control is performed to relay the mail to the mail server, and the mail for which the application of the additional service is finished is transmitted to the mail server. More specifically, the first e-mail proxy device receives mail sent to the mail server by SMTP communication at a general-purpose receiving port on behalf of the mail server, and is sent from an external additional service server. A mail receiving unit that receives incoming mail at a dedicated reception port predetermined for each additional service server, and a sender / receiver determination that determines at least one of the sender and receiver of the mail received by the mail receiving unit A customer information inquiry unit for checking the type of additional service with which the user has subscribed, a predetermined additional service application order, the type of additional service determined by the customer information inquiry unit, and the mail receiving port And whether there are additional services to be performed on the email based on the type of If there is no additional service to be executed, it is determined whether the additional service to be executed next is determined. In this case, a mail relay control unit that determines the relay destination of the mail as an additional service server that provides an additional service to be executed next, and mail transmission that transmits the mail to the relay destination determined by the mail relay control unit Department.

また、本発明の第2の電子メール代理装置は、第1の電子メール代理装置において、前記メール受信部に代えて、SMTP通信で前記メールサーバに送られてくるメールを前記メールサーバに代わって汎用受信ポートで受信する負荷分散装置から分配される前記メールを受信ポートで受信すると共に、外部の付加サービスサーバから送信されて前記負荷分散装置で受信され前記負荷分散装置から分配されるメールを付加サービスサーバ毎に予め定められた専用受信ポートで受信するメール受信部を備えている。   Further, the second electronic mail proxy device of the present invention is the first electronic mail proxy device, wherein instead of the mail receiving unit, mail sent to the mail server by SMTP communication is used instead of the mail server. The mail distributed from the load balancer received at the general-purpose receiving port is received at the reception port, and the mail sent from the external additional service server, received by the load balancer and distributed from the load balancer is added. A mail receiving unit is provided for receiving at a dedicated receiving port predetermined for each service server.

本発明の電子メール代理装置によれば、電子メールに対する付加サービスをメールサーバに全く依存しない形態で実現することができる。その理由は、電子メール代理装置が、メールサーバに送られてくるメールを代理で受信し、メール送信者あるいはメール受信者が利用契約している付加サービスを決定し、この決定した付加サービスを提供する付加サービスサーバへメールをリレーする制御を実行し、付加サービスの適用を終えたメールをメールサーバに送信するからである。これにより、付加サービスを提供するためにメールサーバに大幅に手を加える必要がなくなり、また運用中に付加サービスによってメールサーバの負荷が高まる心配もなくなる。   According to the electronic mail proxy device of the present invention, an additional service for electronic mail can be realized in a form that does not depend on the mail server at all. The reason is that the e-mail proxy device receives e-mail sent to the mail server on behalf of the e-mail, determines the additional service that the e-mail sender or e-mail recipient has subscribed to, and provides this determined additional service. This is because the control of relaying the mail to the additional service server is executed, and the mail after the application of the additional service is transmitted to the mail server. As a result, it is not necessary to significantly modify the mail server to provide the additional service, and there is no concern that the load on the mail server will increase due to the additional service during operation.

メール自体に特殊なヘッダを付加するなどの加工を一切行わずに、電子メールに対する付加サービスの提供が可能になる。その理由は、付加サービスの適用順序を予め定めると共に、付加サービスサーバから送られてくるメールを受信するポートを付加サービスサーバに1対1に対応する専用受信ポートとし、メールを受信した専用受信ポートに基づいて、そのメールに対して適用された付加サービスの種類を判定するからである。   It is possible to provide an additional service for an e-mail without performing any processing such as adding a special header to the e-mail itself. The reason is that the order of application of the additional service is determined in advance, and the port for receiving mail sent from the additional service server is a dedicated reception port corresponding to the additional service server on a one-to-one basis, and the dedicated reception port for receiving the mail This is because the type of additional service applied to the mail is determined based on the above.

図1を参照すると、本発明の実施の形態にかかる電子メールシステムは、メールサーバ1の前段に電子メール代理装置2が設けられており、この電子メール代理装置2に、複数の付加サービスサーバ3−1〜3−nおよび顧客管理システム4が接続されている。付加サービスサーバ3−1〜3−nは、図6に示されるウィルス削除サーバ1051、ウィルスメール削除サーバ1052、コンテンツフィルタ削除サーバ1053、コンテンツフィルタ返信サーバ1054、スパムチェックサーバ1055などのサーバと同等の機能を有するサーバである。また、図1において、5はユーザ端末、6はメールサーバ1とは別の他メールサーバ、7はメールサーバ1のメールボックス、8は利用契約している付加サービスの種類を少なくとも含む顧客情報を各顧客毎に保持している顧客情報データベースである。なお、電子メール代理装置2と他メールサーバ6との間などはインターネットなどのネットワークを通じて接続されるが、ネットワークは図示を省略している。   Referring to FIG. 1, an electronic mail system according to an embodiment of the present invention is provided with an electronic mail proxy device 2 in front of the mail server 1, and the electronic mail proxy device 2 includes a plurality of additional service servers 3. -1 to 3-n and the customer management system 4 are connected. Additional service servers 3-1 to 3-n are equivalent to servers such as virus deletion server 1051, virus mail deletion server 1052, content filter deletion server 1053, content filter reply server 1054, and spam check server 1055 shown in FIG. It is a server having a function. In FIG. 1, 5 is a user terminal, 6 is a mail server other than the mail server 1, 7 is a mail box of the mail server 1, and 8 is customer information including at least the type of additional service with which the user has a contract. This is a customer information database held for each customer. The electronic mail proxy device 2 and the other mail server 6 are connected through a network such as the Internet, but the network is not shown.

メールサーバ1は、SMTPを使用してユーザ端末5および他メールサーバ6から送られてきたメールを受信し、受信したメールを目的の他のメールサーバ6へ配信したり、或いはメールボックス7へ保存するサービスを提供する。メールサーバ1の前段に設置された電子メール代理装置2は、このメールサーバ1に対してユーザ端末5および他メールサーバ6からSMTP通信により送られてくるメールを代理で受信する機能と、そのメールの送信者および受信者の少なくとも一方のユーザを特定する機能と、特定したユーザが使用契約している付加サービスの種類を顧客管理システム4を通じて顧客情報データベース8から取得する機能と、当該ユーザが使用契約している付加サービスを提供する付加サービスサーバ3−1〜3−nにメールをリレーし、使用契約しているすべての付加サービスを実行し終えたメールを本来のメールサーバ1へ渡す機能とを備えている。   The mail server 1 receives mail sent from the user terminal 5 and another mail server 6 using SMTP, distributes the received mail to another mail server 6 of interest, or stores it in the mail box 7. To provide services. The e-mail proxy device 2 installed in the front stage of the mail server 1 has a function of receiving mail sent by SMTP communication from the user terminal 5 and other mail server 6 to the mail server 1 as a proxy, and the mail. A function for identifying at least one of the sender and receiver of the user, a function for acquiring the type of additional service subscribed to by the identified user from the customer information database 8 through the customer management system 4, and a function used by the user A function of relaying mail to the additional service servers 3-1 to 3-n that provide the contracted additional service, and passing the mail that has been executed for all the additional services contracted for use to the original mail server 1; It has.

このように本実施の形態の電子メールシステムは、メール送信者あるいはメール受信者が利用契約している付加サービスの決定、決定された付加サービスを提供する付加サービスサーバ3−1〜3−nへのメールのリレーなどの処理を電子メール代理装置2が実行するため、付加サービスを提供するためにメールサーバ1に大幅に手を加える必要はなく、また付加サービスによってメールサーバ1の負荷が高まることもなくなる。   As described above, the electronic mail system according to the present embodiment determines the additional service with which the mail sender or the mail receiver has a usage contract, and the additional service servers 3-1 to 3-n that provide the determined additional service. Since the e-mail proxy device 2 executes processes such as mail relay, it is not necessary to significantly modify the mail server 1 to provide additional services, and the load on the mail server 1 is increased by the additional services. Also disappear.

次に電子メール代理装置2を中心に本実施の形態のより詳しい構成と動作を詳細に説明する。   Next, the detailed configuration and operation of the present embodiment will be described in detail with a focus on the electronic mail proxy device 2.

図2を参照すると、電子メール代理装置2の一例は、電子メール受信部21、送受信者判別部22、顧客情報問い合わせ部23、メールリレー制御部24および電子メール送信部25の各機能部と、記憶部26とを含んで構成される。各機能部は、例えば電子メール代理装置2を構成するコンピュータとプログラムとで実現することができる。プログラムは磁気ディスクなどのコンピュータ可読記録媒体9に記録されており、コンピュータの立ち上げ時などにコンピュータに読み取られ、そのコンピュータの動作を制御することにより、そのコンピュータ上に電子メール受信部21、送受信者判別部22、顧客情報問い合わせ部23、メールリレー制御部24および電子メール送信部25の各機能部を実現する。   Referring to FIG. 2, an example of the electronic mail proxy device 2 includes an electronic mail reception unit 21, a sender / receiver determination unit 22, a customer information inquiry unit 23, a mail relay control unit 24, and an electronic mail transmission unit 25. And a storage unit 26. Each functional unit can be realized by, for example, a computer and a program configuring the electronic mail proxy device 2. The program is recorded on a computer-readable recording medium 9 such as a magnetic disk, and is read by the computer when the computer is started up, and by controlling the operation of the computer, the e-mail receiving unit 21 transmits and receives on the computer. Each function part of the person discrimination | determination part 22, the customer information inquiry part 23, the mail relay control part 24, and the email transmission part 25 is implement | achieved.

電子メール受信部21は、1つの汎用受信ポート21−0と、付加サービスサーバ3−1〜3−nに1対1に対応する専用受信ポート21−1〜21−nとを持ち、それぞれの受信ポートでインターネット標準であるSMTPを使用して電子メールを受信する機能を持つ。   The e-mail receiving unit 21 has one general-purpose receiving port 21-0 and dedicated receiving ports 21-1 to 21-n corresponding one-to-one to the additional service servers 3-1 to 3-n. The receiving port has a function of receiving electronic mail using SMTP, which is an Internet standard.

汎用受信ポート21−0は、ユーザ端末5および他メールサーバ6からメールサーバ1に送られてくるパケットを受信するポートである。メールサーバ1は通常、ポート番号「25」のポートを使用して、メールボックス7へのメール受信、メール送信を行っているため、そのポート番号「25」を電子メール受信部21の汎用受信ポート21−0に振り向けることで、メールサーバ1に送られるメールは汎用受信ポート21−0でまず受信されることになる。汎用受信ポート21−0で受信したメールは、まだどの付加サービスも適用されていないメールとして扱われる。なお、メールサーバ1のポート番号「25」であったポートは、別の番号のポートに変更されており、この変更後のポート宛に電子メール代理装置2からメールが送られるようになっている。   The general-purpose receiving port 21-0 is a port that receives packets sent from the user terminal 5 and the other mail server 6 to the mail server 1. Since the mail server 1 normally uses the port with the port number “25” to receive and send mail to the mailbox 7, the port number “25” is used as the general-purpose receiving port of the e-mail receiving unit 21. By directing to 21-0, the mail sent to the mail server 1 is first received at the general-purpose receiving port 21-0. Mail received at the general reception port 21-0 is handled as mail to which no additional service has been applied yet. Note that the port number “25” of the mail server 1 has been changed to another port number, and mail is sent from the e-mail proxy device 2 to the port after the change. .

専用受信ポート21−1〜21−nは、付加サービスサーバ3−1〜3−nから送られてくるメールを受信するポートである。それぞれの付加サービスサーバ3−1〜3−nは、受信したメールに対して付加サービスを適用し、メールを電子メール代理装置2に戻す場合には、自サーバに1対1に対応している専用受信ポート21−1〜21−n宛にメールを送信する。そして、本実施の形態においては、メールを受信した専用受信ポート21−i(iは1〜nの何れか)に基づいて、そのメールに対して適用された付加サービスの種類を判定する。具体的には次のようにして判定する。   The dedicated reception ports 21-1 to 21-n are ports that receive mail sent from the additional service servers 3-1 to 3-n. Each additional service server 3-1 to 3-n has a one-to-one correspondence with its own server when applying the additional service to the received mail and returning the mail to the electronic mail proxy device 2. The mail is transmitted to the dedicated reception ports 21-1 to 21-n. In this embodiment, the type of additional service applied to the mail is determined based on the dedicated reception port 21-i (i is any one of 1 to n) that has received the mail. Specifically, the determination is made as follows.

付加サービスサーバ3−1〜3−nは、それぞれ予め定められた1種類の付加サービスを提供する。付加サービスサーバ3−1〜3−nが提供する付加サービスの種類をA1〜Anとするとき、その適用順番は、A1→A2→、…、Anとして予め固定されている。例えば、A1、A2、Anの3つの付加サービスの適用を受けるメールの場合、まず最初にA1の付加サービスを適用し、次いで、A2の付加サービスを適用し、最後にAnの付加サービスを適用する。A2→A1→Anや、An→A1→A2のように予め定められた順番と異なる順番では付加サービスは決して適用されない。従って、A1、A2、Anの3つの付加サービスの適用を受けるメールが、もし受信ポート21−2で受信されたとすると、A1、A2の付加サービスが既に適用済であり、Anの付加サービスは未適用であることが認識できる。本実施の形態はこのような仕組みを利用することで、メール自体に特殊なヘッダを付加するなどの加工を一切行わずに、電子メールに対する付加サービスの適用の有無を管理する。   Each of the additional service servers 3-1 to 3-n provides a predetermined type of additional service. When the types of additional services provided by the additional service servers 3-1 to 3-n are A1 to An, the application order is fixed in advance as A1 → A2 →. For example, in the case of a mail subject to application of three additional services A1, A2, and An, first, the additional service of A1 is applied first, then the additional service of A2 is applied, and finally the additional service of An is applied. . The additional service is never applied in an order different from the predetermined order such as A2 → A1 → An or An → A1 → A2. Therefore, if a mail subject to the application of the three additional services A1, A2, and An is received at the receiving port 21-2, the additional services of A1 and A2 have already been applied, and the additional service of An is not yet available. It can be recognized that this is an application. This embodiment uses such a mechanism to manage whether or not an additional service is applied to an e-mail without performing any processing such as adding a special header to the e-mail itself.

電子メール受信部21は、受信ポート21−0〜21−nにおいてメールを受信すると、記憶部26上に1つのデータ構造体を確保し、そのデータ構造体に受信メールの情報を記録する。そして、受信メールの情報が記録されたデータ構造体を送受信者判別部22に通知する。データ構造体の通知は、例えばその先頭アドレスとサイズを通知することにより行われる。   When the e-mail receiving unit 21 receives mail at the receiving ports 21-0 to 21-n, the e-mail receiving unit 21 secures one data structure on the storage unit 26, and records the received mail information in the data structure. Then, the sender / receiver discriminating unit 22 is notified of the data structure in which the received mail information is recorded. The notification of the data structure is performed by, for example, notifying the start address and size.

図3を参照すると、記録部26上に確保されるデータ構造体260は、受信ポート情報格納域261、送信者情報格納域262、受信者情報格納域263および電子メールデータ格納域264から構成される。電子メール受信部21は、受信したメールを電子メールデータ格納域264に格納し、そのメールを受信した受信ポート21−0〜21−nの情報(例えばポート番号)を受信ポート情報261に格納し、送信者情報格納域262および受信者情報格納域263はNULLにしておく。   Referring to FIG. 3, the data structure 260 secured on the recording unit 26 includes a reception port information storage area 261, a sender information storage area 262, a receiver information storage area 263, and an e-mail data storage area 264. The The e-mail receiving unit 21 stores the received mail in the e-mail data storage area 264 and stores information (for example, port numbers) of the receiving ports 21-0 to 21-n that received the mail in the receiving port information 261. The sender information storage area 262 and the receiver information storage area 263 are set to NULL.

送受信者判別部22は、電子メール受信部21から通知のあったデータ構造体260を記憶部26から読み出し、電子メールデータ格納域264に記録されている電子メールのヘッダ情報を解析して、送信者を特定する情報と受信者を特定する情報を取得する。送信者および受信者を特定する情報とは、例えば電子メールアドレスである。そして、送受信者判別部22は、送信者を特定する情報をデータ構造体260の送信者情報格納域262に記録し、受信者を特定する情報をデータ構造体260の受信者情報格納域263に記録する。ここで、メールの受信者が複数存在する場合、データ構造体260をコピーしてメール受信者の数だけのデータ構造体260を記憶部26上に生成し、受信者とデータ構造体とを1対1に対応付ける。なお、電子メールのヘッダ情報については詐称の可能性があるため、メールの送信者と受信者を特定する方法として、SMTP通信時の認証(SMTP−AUTH)による送信者の特定方法と、SMTPプロトコルでのエンベロープ情報による受信者の特定方法とを使用するようにしてもよい。   The sender / receiver discriminating unit 22 reads the data structure 260 notified from the email receiving unit 21 from the storage unit 26, analyzes the header information of the email recorded in the email data storage area 264, and transmits the data structure 260. Information identifying the recipient and information identifying the recipient. The information specifying the sender and the receiver is, for example, an e-mail address. Then, the sender / receiver discriminating unit 22 records information specifying the sender in the sender information storage area 262 of the data structure 260 and stores information specifying the receiver in the receiver information storage area 263 of the data structure 260. Record. Here, when there are a plurality of mail recipients, the data structures 260 are copied to generate as many data structures 260 as the number of mail recipients on the storage unit 26, and the recipients and data structures are set to 1 Correspond to pair 1. Since the header information of the e-mail may be spoofed, as a method for specifying the sender and receiver of the mail, a method for specifying the sender by authentication (SMTP-AUTH) during SMTP communication, and the SMTP protocol The recipient identification method based on the envelope information may be used.

送受信者判別部22は、送信者および受信者を特定する情報が設定されたデータ構造体260を顧客情報問い合わせ部23に通知する。   The sender / receiver discriminating unit 22 notifies the customer information inquiry unit 23 of the data structure 260 in which information specifying the sender and the receiver is set.

顧客情報問い合わせ部23は、通知されたデータ構造体260を記憶部26から読み出し、送信者情報格納域262から送信者を特定する情報を、受信者情報格納域263から受信者を特定する情報をそれぞれ取り出し、送信者および受信者毎に、それらを特定する情報をキーに内部のキャッシュ231を検索する。キャッシュ231には、各ユーザを特定する情報(電子メールアドレスなど)毎に、顧客管理システム4から過去一定期間内に取得した情報(ユーザの使用契約している付加サービスの種類)が記録されている。もし、キャッシュ231の検索に成功すれば、検索された付加サービスの種類を使用して以降の処理を実行する。またキャッシュ231の検索に失敗した場合、送信者、受信者を特定する情報を付加して顧客管理システム4に顧客情報を問い合わせる。   The customer information inquiry unit 23 reads the notified data structure 260 from the storage unit 26, and specifies information specifying the sender from the sender information storage area 262 and information specifying the receiver from the receiver information storage area 263. Each is retrieved, and the internal cache 231 is searched for the sender and the receiver using the information for identifying them as a key. For each piece of information (such as an e-mail address) that identifies each user, information (types of additional services with which the user has a contract for use) acquired from the customer management system 4 within a certain past period is recorded in the cache 231. Yes. If the search of the cache 231 is successful, the subsequent processing is executed using the type of additional service searched. If the search of the cache 231 fails, information specifying the sender and receiver is added, and customer information is inquired of the customer management system 4.

顧客情報データベース8には、例えば各ユーザを特定する情報(電子メールアドレスなど)毎に、そのユーザが使用契約している付加サービスの種類を少なくとも含む顧客情報が記録されている。顧客管理システム4は、顧客情報問い合わせ部23から送られてきた問い合わせ要求に付加されている送受信者を特定する情報をキーに顧客情報データベース8を検索し、そのユーザが使用契約している付加サービスの種類を取得し、これを問い合わせ結果として顧客情報問い合わせ部23に返却する。顧客情報問い合わせ部23は、問い合わせで得られた送受信者の使用契約している付加サービスの種類を後に再利用するためキャッシュ231に登録する。   In the customer information database 8, for example, customer information including at least the type of additional service with which the user has a use contract is recorded for each piece of information (e-mail address or the like) specifying each user. The customer management system 4 searches the customer information database 8 using the information specifying the sender / receiver added to the inquiry request sent from the customer information inquiry unit 23 as a key, and the additional service that the user has a usage contract with. Is returned to the customer information inquiry unit 23 as an inquiry result. The customer information inquiry unit 23 registers the type of additional service with which the sender / receiver has a usage contract obtained in the inquiry in the cache 231 for later reuse.

顧客情報問い合わせ部23は、上述したようにして送信者および受信者の使用契約している付加サービスの種類を取得すると、送信者の使用契約している付加サービスの種類をデータ構造体260の送信者情報格納域262に記録し、受信者の使用契約している付加サービスの種類をデータ構造体260の受信者情報格納域263に記録する。そして、送信者および受信者の使用契約している付加サービスの種類が設定されたデータ構造体260をメールリレー制御部24に通知する。   When the customer information inquiry unit 23 acquires the type of additional service with which the sender and the receiver have a usage contract as described above, the customer information inquiry unit 23 transmits the type of additional service with which the sender has a usage contract to the data structure 260. Is recorded in the receiver information storage area 262, and the type of the additional service with which the receiver is contracted is recorded in the receiver information storage area 263 of the data structure 260. Then, the mail relay control unit 24 is notified of the data structure 260 in which the types of additional services with which the sender and the receiver are subscribed are set.

メールリレー制御部24は、通知されたデータ構造体260を記憶部26から読み出し、送信者情報格納域262に格納されている送信者が使用契約している付加サービスの種類と、受信者情報格納域263に格納されている受信者が使用契約している付加サービスの種類と、受信ポート情報格納域261に格納されている受信ポート情報と、システムで予め定められた付加サービスの適用順番とに基づいて、電子メールデータ格納域264に格納されているメールに対して実行すべき付加サービスが残っているかどうか、及び、残っている場合には次に実行すべき付加サービスはどれであるかを判断し、実行すべき付加サービスが残っていない場合には、メールのリレー先をメールサーバ1に決定し、残っている場合には、メールのリレー先を次に実行すべき付加サービスを提供する付加サービスサーバに決定する。そして、決定したリレー先とデータ構造体260とを指定して電子メール送信部25に対してメールの送信を要求する。   The mail relay control unit 24 reads the notified data structure 260 from the storage unit 26, stores the type of additional service with which the sender has a usage contract stored in the sender information storage area 262, and receiver information storage The type of the additional service with which the receiver stored in the area 263 is subscribed, the reception port information stored in the reception port information storage area 261, and the application order of the additional service determined in advance by the system Based on this, it is determined whether or not the additional service to be executed for the mail stored in the electronic mail data storage area 264 remains, and if it remains, which is the next additional service to be executed. If there is no additional service to be determined and determined to be executed, the mail relay destination is determined to be the mail server 1, and if it remains, the mail relay is determined. Then determining the additional service server to provide additional services to be performed. Then, the determined relay destination and the data structure 260 are specified, and the e-mail transmission unit 25 is requested to send a mail.

図4に、メールリレー制御部24がメールのリレー先を決定する処理のフローチャートを示す。メールを受信したポートが汎用受信ポート21−0の場合(ステップS1−0でYES)、未だ1つも付加サービスの適用を受けていないメールであるので、種別A1から順に送受信者が使用契約している付加サービスの種類を調べていく(ステップS2−1〜S2−n)。ここで、本実施の形態では、種別Ai(i=1〜n)の付加サービスを送信者および受信者の少なくとも何れか一方が使用契約している場合、ステップS2−1〜S2−nの判定は真(YES)となる。従って、例えば、送信者または受信者が種類A1の付加サービスの使用契約をしている場合、ステップS2−1の判定が真となり、付加サービスサーバ3−1がリレー先に決定される(ステップS3−1)。また、送信者および受信者の何れも種類A1の使用契約をしていない場合、次に種類A2の付加サービスの使用契約の有無が調べられ(ステップS2−2)、もし送信者または受信者の何れかが種類A2の付加サービスを使用契約していれば、付加サービスサーバ3−2がリレー先に決定される(ステップS3−2)。また、使用契約を全くしていない送信者、受信者であれば、ステップS2−1〜S2−nを経由してステップS4へ進み、メールサーバ1がリレー先に決定される。   FIG. 4 shows a flowchart of processing in which the mail relay control unit 24 determines a mail relay destination. If the port that received the mail is the general-purpose reception port 21-0 (YES in step S1-0), since no mail has yet been applied to the additional service, the sender and the receiver make a usage contract in order from type A1. The types of additional services that are present are checked (steps S2-1 to S2-n). Here, in the present embodiment, when at least one of the sender and the receiver has subscribed to the additional service of the type Ai (i = 1 to n), the determination in steps S2-1 to S2-n Is true (YES). Therefore, for example, when the sender or the receiver has a contract for using the additional service of type A1, the determination in step S2-1 is true and the additional service server 3-1 is determined as the relay destination (step S3). -1). If neither the sender nor the receiver has a usage contract of type A1, then the presence of a usage contract for the additional service of type A2 is checked (step S2-2). If any of them has a usage contract for the additional service of type A2, the additional service server 3-2 is determined as a relay destination (step S3-2). If the sender or receiver does not have a usage contract, the process proceeds to steps S4 through steps S2-1 to S2-n, and the mail server 1 is determined as a relay destination.

また、メールを受信したポートが専用受信ポート21−1の場合(ステップS1−1でYES)、種類A1の付加サービスの適用を既に受けたメールであるので、残りの種別A2から順に送受信者が使用契約している付加サービスの種類を調べていく(ステップS2−2〜S2−n)。そして、例えば、送信者または受信者が種類A2〜An−1の付加サービスの使用契約はしておらず、種類Anの付加サービスを使用契約している場合、ステップS2−nの判定が真となり、付加サービスサーバ3−nがリレー先に決定される(ステップS3−n)。また、送信者および受信者の何れも種類A2〜Anの使用契約をしていない場合、ステップS2−1〜S2−nを経由してステップS4へ進み、メールサーバ1がリレー先に決定される。   Further, when the port that received the mail is the dedicated reception port 21-1 (YES in step S1-1), since the mail has already received the application of the additional service of the type A1, the sender / receiver sequentially starts from the remaining type A2. The type of additional service for which a usage contract is made is checked (steps S2-2 to S2-n). For example, if the sender or the receiver does not have a contract for using the additional service of types A2 to An-1, but has a contract of using the additional service of type An, the determination in step S2-n is true. The additional service server 3-n is determined as the relay destination (step S3-n). If neither the sender nor the receiver has a usage contract of types A2 to An, the process proceeds to step S4 via steps S2-1 to S2-n, and the mail server 1 is determined as a relay destination. .

このようにメールリレー制御部24は、メールを受信したポートが専用受信ポート21−iの場合、種別Ai+1から順に送受信者が使用契約している付加サービスの種類を調べ、使用契約があれば、そのうちの最も適用順位の早い付加サービスを提供する付加サービスサーバをリレー先に決定し、使用契約がなければメールサーバ1をリレー先に決定する。   As described above, when the port that received the mail is the dedicated reception port 21-i, the mail relay control unit 24 checks the types of additional services that the sender / receiver subscribes to in order from the type Ai + 1. Of these, the additional service server that provides the additional service with the earliest application order is determined as the relay destination, and if there is no usage contract, the mail server 1 is determined as the relay destination.

電子メール送信部25は、メールサーバ1へメールを送信するための送信ポート25−0と、付加サービスサーバ3−1〜3−nへメールを送信するための送信ポート25−1〜25−nを持ち、決定されたリレー先とデータ構造体260とを指定した通知をメールリレー制御部24から受け取ると、通知されたデータ構造体260を記憶部26から読み出し、送信ポート25−0〜25−nより、通知されたリレー先へ送信する。   The e-mail transmission unit 25 includes a transmission port 25-0 for transmitting mail to the mail server 1 and transmission ports 25-1 to 25-n for transmitting mail to the additional service servers 3-1 to 3-n. When the notification specifying the determined relay destination and the data structure 260 is received from the mail relay control unit 24, the notified data structure 260 is read from the storage unit 26, and the transmission ports 25-0 to 25- From n, it is transmitted to the notified relay destination.

図5は本発明の別の実施の形態にかかる電子メールシステムの要部構成図である。本実施の形態では、メールサーバ1の前段に複数の電子メール代理装置2−1〜2−mを並列に設け、ユーザ端末5および他メールサーバ6からメールサーバ1に送られるメールならびに付加サービスサーバ3−1〜3−nから返信されるメールを、負荷分散装置10で受信し、複数の電子メール代理装置2−1〜2−mの負荷がほぼ均等になるように、負荷分散装置10から電子メール代理装置2−1〜2−mにメールを分配するようにしたものである。   FIG. 5 is a block diagram of the main part of an electronic mail system according to another embodiment of the present invention. In the present embodiment, a plurality of e-mail proxy devices 2-1 to 2-m are provided in parallel before the mail server 1, and mail sent from the user terminal 5 and other mail server 6 to the mail server 1 and the additional service server The mail returned from 3-1 to 3-n is received by the load balancer 10, and the load balancer 10 makes the load of the plurality of electronic mail proxy devices 2-1 to 2-m substantially equal. The mail is distributed to the electronic mail proxy devices 2-1 to 2-m.

負荷分散装置10は、1つの汎用受信ポート10−0と、付加サービスサーバ3−1〜3−nに1対1に対応する専用受信ポート10−1〜10−nとを持ち、それぞれの受信ポートでインターネット標準であるSMTPを使用して電子メールを受信する機能を持つ。ここで、汎用受信ポート10−0のポート番号は「25」であり、ユーザ端末5および他メールサーバ6からメールサーバ1に送られてくるメールを代理で受信するポートである。負荷分散装置10は、汎用受信ポート10−0で受信したメールを送信ポート11−0から電子メール代理装置2−1〜2−mの受信ポート21−0へ送信し、専用受信ポート10−1〜10−nで受信したメールを、そのポートと1対1に対応する送信ポート11−1〜11−nから電子メール代理装置2−1〜2−mの受信ポート21−1〜21−nへ送信する。   The load distribution apparatus 10 has one general-purpose reception port 10-0 and dedicated reception ports 10-1 to 10-n corresponding to the additional service servers 3-1 to 3-n on a one-to-one basis. The port has a function of receiving e-mail using SMTP, which is an Internet standard. Here, the port number of the general-purpose receiving port 10-0 is “25”, and is a port that receives mail sent from the user terminal 5 and the other mail server 6 to the mail server 1 by proxy. The load distribution apparatus 10 transmits mail received at the general-purpose reception port 10-0 from the transmission port 11-0 to the reception ports 21-0 of the electronic mail proxy apparatuses 2-1 to 2-m, and the dedicated reception port 10-1. 10-n, the receiving ports 21-1 to 21-n of the e-mail proxy devices 2-1 to 2-m are sent from the sending ports 11-1 to 11-n corresponding to the ports one to one. Send to.

電子メール代理装置2−1〜2−mは、図2で説明した電子メール代理装置と基本的に同じ構成と動作を行う。但し、受信ポート21−0はポート番号「25」でなく、他の任意の番号のポートが使用される。   The e-mail proxy devices 2-1 to 2-m perform basically the same configuration and operation as the e-mail proxy device described in FIG. However, the reception port 21-0 is not a port number “25”, but a port of any other number is used.

本実施の形態にかかる電子メールシステムにおいては、ユーザ端末5または他メールサーバ6からメールサーバ1宛に送られたメールは、負荷分散装置10の汎用受信ポート10−0で受信され、送信ポート11−0から何れかの電子メール代理装置、例えば電子メール代理装置2−1の受信ポート21−0へ送信される。電子メール代理装置2−1は、図2に示した電子メール代理装置2と同様の処理を行い、受信したメールに適用すべき付加サービスの種類を決定する。   In the electronic mail system according to the present embodiment, a mail sent from the user terminal 5 or another mail server 6 to the mail server 1 is received by the general-purpose reception port 10-0 of the load distribution apparatus 10, and the transmission port 11 -0 to any e-mail proxy device, for example, the reception port 21-0 of the e-mail proxy device 2-1. The electronic mail proxy device 2-1 performs the same processing as the electronic mail proxy device 2 shown in FIG. 2, and determines the type of additional service to be applied to the received mail.

今、適用すべき付加サービスが種類A1とA2であったとすると、電子メール代理装置2−1は、送信ポート25−1から付加サービスサーバ3−1へメールをリレーする。付加サービスサーバ3−1は、受信したメールに対して種類A1の付加サービスを実行し、メールを返信する際には負荷分散装置10の専用受信ポート10−1へ送信する。負荷分散装置10は、専用受信ポート10−1で受信したメールを、送信ポート11−1から何れかの電子メール代理装置、例えば電子メール代理装置2−mの専用受信ポート21−1へ送信する。   Assuming that the additional services to be applied are types A1 and A2, the e-mail proxy device 2-1 relays mail from the transmission port 25-1 to the additional service server 3-1. The additional service server 3-1 executes the type A 1 additional service for the received mail, and transmits the mail to the dedicated reception port 10-1 of the load balancer 10 when returning the mail. The load balancer 10 transmits the mail received at the dedicated reception port 10-1 from the transmission port 11-1 to any of the email proxy devices, for example, the dedicated reception port 21-1 of the email proxy device 2-m. .

電子メール代理装置2−mは、図2に示した電子メール代理装置2と同様の処理を行い、受信したメールに適用すべき付加サービスの種類として、種類A2を決定し、送信ポート25−2から付加サービスサーバ3−2へメールをリレーする。付加サービスサーバ3−2は、受信したメールに対して種類A2の付加サービスを実行し、メールを返信する際には負荷分散装置10の専用受信ポート10−2へ送信する。負荷分散装置10は、専用受信ポート10−2で受信したメールを、送信ポート11−2から何れかの電子メール代理装置、例えば電子メール代理装置2−1の専用受信ポート21−2へ送信する。   The e-mail proxy device 2-m performs the same process as the e-mail proxy device 2 shown in FIG. 2, determines the type A2 as the type of additional service to be applied to the received mail, and sends the transmission port 25-2. Relay the mail to the additional service server 3-2. The additional service server 3-2 executes the additional service of type A2 on the received mail, and transmits the mail to the dedicated reception port 10-2 of the load balancer 10 when returning the mail. The load distribution apparatus 10 transmits the mail received at the dedicated reception port 10-2 from the transmission port 11-2 to any of the electronic mail proxy devices, for example, the dedicated reception port 21-2 of the electronic mail proxy device 2-1. .

電子メール代理装置2−1は、図2に示した電子メール代理装置2と同様の処理を行い、受信したメールに適用すべき付加サービスが残っていないことを判別し、送信ポート25−0からメールサーバ1の受信ポートへメールをリレーする。   The e-mail proxy device 2-1 performs the same processing as the e-mail proxy device 2 shown in FIG. 2, determines that there is no additional service to be applied to the received mail, and starts from the transmission port 25-0. The mail is relayed to the receiving port of the mail server 1.

このように本実施の形態によれば、電子メール代理装置の効率的な負荷分散が可能となる。   Thus, according to the present embodiment, it is possible to efficiently distribute the load of the electronic mail proxy device.

以上本発明の実施の形態について説明したが、本発明は以上の実施の形態にのみ限定されず、その他各種の付加変更が可能である。例えば、図4のステップS2−1〜S2−nでは、送信者および受信者の双方の使用契約に基づいて判断したが、送信者だけの使用契約に基づいて判断したり、その逆に、受信者だけの使用契約に基づいて判断するようにしてもよい。   Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various other additions and modifications can be made. For example, in steps S2-1 to S2-n in FIG. 4, the determination is made based on the usage contracts of both the sender and the receiver, but the determination is made based on the usage contract of only the sender and vice versa. The determination may be made based on the use contract only for the user.

以上のように、本発明にかかる電子メール代理装置は、契約ユーザが発信したメールまたは契約ユーザが受信するメールにのみ、ウィルスチェックなどの付加サービスを実施するサーバを通過させるといった用途などに用いるのに適している。   As described above, the e-mail proxy device according to the present invention is used for a purpose such as passing only a mail transmitted by a contract user or a mail received by the contract user through a server that performs an additional service such as a virus check. Suitable for

本発明の実施の形態にかかる電子メールシステムのブロック図である。1 is a block diagram of an electronic mail system according to an embodiment of the present invention. 本発明の電子メール代理装置の一例を示すブロック図である。It is a block diagram which shows an example of the electronic mail proxy apparatus of this invention. 本発明の電子メール代理装置の記録部上に確保されるデータ構造体の構成図である。It is a block diagram of the data structure ensured on the recording part of the electronic mail proxy apparatus of this invention. 本発明の電子メール代理装置におけるメールリレー制御部がメールのリレー先を決定する処理のフローチャートを示す図である。It is a figure which shows the flowchart of the process in which the mail relay control part in the electronic mail proxy apparatus of this invention determines the relay destination of mail. 本発明の別の実施の形態にかかる電子メールシステムの要部構成図である。It is a principal part block diagram of the electronic mail system concerning another embodiment of this invention. 従来技術のブロック図である。It is a block diagram of a prior art.

符号の説明Explanation of symbols

1…メールサーバ
2、2−1〜2−m…電子メール代理装置
3−1〜3−n…付加サービスサーバ
4…顧客管理システム
5…ユーザ端末
6…他メールサーバ
7…メールボックス
8…顧客情報データベース
9…記録媒体
10…負荷分散装置
10−0…汎用受信ポート
10−1〜10−n…専用受信ポート
11−0〜11−n…送信ポート
21…電子メール受信部
21−0…汎用受信ポート
21−1〜21−n…専用受信ポート
22…送受信者判別部
23…顧客情報問い合わせ部
24…メールリレー制御部
25…電子メール送信部
25−0〜25−n…送信ポート
26…記憶部
231…キャッシュ
260…データ構造体
261…受信ポート情報格納域
262…送信者情報格納域
263…受信者情報格納域
264…電子メールデータ格納域
DESCRIPTION OF SYMBOLS 1 ... Mail server 2, 2-1 to 2-m ... E-mail proxy device 3-1 to 3-n ... Additional service server 4 ... Customer management system 5 ... User terminal 6 ... Other mail server 7 ... Mail box 8 ... Customer Information database 9 ... recording medium 10 ... load distribution device 10-0 ... general reception port 10-1 to 10-n ... dedicated reception port 11-0 to 11-n ... transmission port 21 ... email receiving unit 21-0 ... general purpose Receiving ports 21-1 to 21-n ... dedicated receiving port 22 ... transmitter / receiver discriminating unit 23 ... customer information inquiry unit 24 ... mail relay control unit 25 ... email sending unit 25-0 to 25-n ... sending port 26 ... memory Unit 231 ... Cache 260 ... Data structure 261 ... Receiving port information storage area 262 ... Sender information storage area 263 ... Receiver information storage area 264 ... E-mail data storage area

Claims (7)

SMTPを使用してユーザ端末および他メールサーバから送られてきたメールを受信して他メールサーバへ配信したり或いはメールボックスへ保存するサービスを提供するメールサーバの前段に設置され、前記メールサーバに送られてくるメールを代理で受信し、メール送信者あるいはメール受信者が利用契約している付加サービスを決定し、該決定した付加サービスを提供する付加サービスサーバへメールをリレーする制御を実行し、付加サービスの適用を終えたメールを前記メールサーバに送信する電子メール代理装置。   It is installed in the front stage of a mail server that provides a service for receiving mail sent from a user terminal and another mail server using SMTP and distributing it to another mail server or storing it in a mailbox. Receives incoming e-mails on behalf, determines additional services with which the mail sender or mail recipient has a usage contract, and executes control to relay the mail to the additional service server that provides the determined additional services An e-mail proxy device that transmits an e-mail for which application of additional services has been completed to the mail server. SMTPを使用してユーザ端末および他メールサーバから送られてきたメールを受信して他メールサーバへ配信したり或いはメールボックスへ保存するサービスを提供するメールサーバの前段に設置される電子メール代理装置であって、
SMTP通信で前記メールサーバに送られてくるメールを前記メールサーバに代わって汎用受信ポートで受信すると共に、外部の付加サービスサーバから送られてくるメールを付加サービスサーバ毎に予め定められた専用受信ポートで受信するメール受信部と、
前記メール受信部で受信されたメールの送信者および受信者の少なくとも一方のユーザを判別する送受信者判別部と、
ユーザが利用契約している付加サービスの種類を調べる顧客情報問い合わせ部と、
予め定められた付加サービスの適用順番と前記顧客情報問い合わせ部によって判明した付加サービスの種類と前記メールの受信ポートの種類とに基づいて、前記メールに対して実行すべき付加サービスが残っているかどうか、及び、残っている場合には次に実行すべき付加サービスはどれであるかを判断し、実行すべき付加サービスが残っていない場合には前記メールのリレー先を前記メールサーバに決定し、残っている場合には前記メールのリレー先を次に実行すべき付加サービスを提供する付加サービスサーバに決定するメールリレー制御部と、
前記メールリレー制御部で決定されたリレー先に前記メールを送信するメール送信部とを備えることを特徴とする電子メール代理装置。
An e-mail proxy device installed in the front stage of a mail server that receives mail sent from a user terminal and another mail server using SMTP and distributes the mail to another mail server or stores it in a mailbox Because
Mail sent to the mail server by SMTP communication is received at the general-purpose receiving port on behalf of the mail server, and mail sent from the external additional service server is received for each additional service server in advance. A mail receiver to receive on the port;
A sender / receiver discriminating unit for discriminating at least one of a sender and a recipient of the mail received by the mail receiving unit;
A customer information inquiry section that checks the types of additional services the user has subscribed to,
Whether or not there is an additional service to be executed for the mail based on a predetermined application order of the additional service, the type of the additional service found by the customer information inquiry unit, and the type of the reception port of the mail And if it remains, it is determined which additional service to be executed next, and if there is no additional service to be executed, the mail server is determined as the mail relay destination, A mail relay control unit that determines an additional service server that provides an additional service to be executed next if the mail relay destination remains;
An e-mail proxy device comprising: a mail transmitting unit that transmits the mail to a relay destination determined by the mail relay control unit.
前記メール受信部に代えて、SMTP通信で前記メールサーバに送られてくるメールを前記メールサーバに代わって汎用受信ポートで受信する負荷分散装置から分配される前記メールを受信ポートで受信すると共に、外部の付加サービスサーバから送信されて前記負荷分散装置で受信され前記負荷分散装置から分配されるメールを付加サービスサーバ毎に予め定められた専用受信ポートで受信するメール受信部を備えることを特徴とする請求項2記載の電子メール代理装置。   In place of the mail receiver, the mail distributed from the load balancer that receives mail sent to the mail server by SMTP communication at the general reception port on behalf of the mail server is received at the reception port; And a mail receiving unit that receives mail transmitted from an external additional service server, received by the load balancer, and distributed from the load balancer at a dedicated reception port predetermined for each additional service server. The electronic mail proxy device according to claim 2. 前記顧客情報問い合わせ部は、ユーザが利用契約している付加サービスの種類を管理する顧客管理システムに前記送受信者判別部で判別されたユーザが利用契約している付加サービスの種類を問い合わせるものである請求項2または3記載の電子メール代理装置。   The customer information inquiry unit inquires a customer management system that manages the type of additional service with which the user is subscribed to the type of additional service with which the user has been subscribed to the use determined by the sender / receiver discrimination unit. The e-mail proxy device according to claim 2 or 3. SMTPを使用してユーザ端末および他メールサーバから送られてきたメールを受信して他メールサーバへ配信したり或いはメールボックスへ保存するサービスを提供するメールサーバの前段に設置される電子メール代理装置を構成するコンピュータを、
SMTP通信で前記メールサーバに送られてくるメールを前記メールサーバに代わって汎用受信ポートで受信すると共に、外部の付加サービスサーバから送られてくるメールを付加サービスサーバ毎に予め定められた専用受信ポートで受信するメール受信手段、
前記メール受信手段で受信されたメールの送信者および受信者の少なくとも一方のユーザを判別する送受信者判別手段、
ユーザが利用契約している付加サービスの種類を調べる顧客情報問い合わせ手段、
予め定められた付加サービスの適用順番と前記顧客情報問い合わせ手段によって判明した付加サービスの種類と前記メールの受信ポートの種類とに基づいて、前記メールに対して実行すべき付加サービスが残っているかどうか、及び、残っている場合には次に実行すべき付加サービスはどれであるかを判断し、実行すべき付加サービスが残っていない場合には前記メールのリレー先を前記メールサーバに決定し、残っている場合には前記メールのリレー先を次に実行すべき付加サービスを提供する付加サービスサーバに決定するメールリレー制御手段、
前記メールリレー制御手段で決定されたリレー先に前記メールを送信するメール送信手段、
として機能させるプログラム。
An e-mail proxy device installed in the front stage of a mail server that receives mail sent from a user terminal and another mail server using SMTP and distributes the mail to another mail server or stores it in a mailbox The computers that make up the
Mail sent to the mail server by SMTP communication is received at the general-purpose receiving port on behalf of the mail server, and mail sent from the external additional service server is received exclusively for each additional service server. Mail receiving means to receive at the port,
A sender / receiver discriminating means for discriminating at least one of a sender and a recipient of the mail received by the mail receiving means;
Customer information inquiry means to find out the types of additional services the user has subscribed to,
Whether or not there is an additional service to be executed for the mail based on a predetermined application order of the additional service, the type of the additional service determined by the customer information inquiry means, and the type of the reception port of the mail And if it remains, it is determined which additional service to be executed next, and if there is no additional service to be executed, the mail server is determined as the mail relay destination, Mail relay control means for determining an additional service server that provides an additional service to be executed next if the mail relay destination remains,
Mail sending means for sending the mail to the relay destination determined by the mail relay control means;
Program to function as.
前記コンピュータを、前記メール受信手段に代えて、SMTP通信で前記メールサーバに送られてくるメールを前記メールサーバに代わって汎用受信ポートで受信する負荷分散装置から分配される前記メールを受信ポートで受信すると共に、外部の付加サービスサーバから送信されて前記負荷分散装置で受信され前記負荷分散装置から分配されるメールを付加サービスサーバ毎に予め定められた専用受信ポートで受信するメール受信手段、として機能させることを特徴とする請求項5記載のプログラム。   In place of the mail receiving means, the computer receives the mail distributed from a load balancer that receives mail sent to the mail server by SMTP communication at a general-purpose receiving port instead of the mail server. As a mail receiving means for receiving mail received from the external load service server, received by the load balancer and distributed from the load balancer at a dedicated receive port predetermined for each load service server, 6. The program according to claim 5, wherein the program is made to function. 前記顧客情報問い合わせ手段は、ユーザが利用契約している付加サービスの種類を管理する顧客管理システムに前記送受信者判別部で判別されたユーザが利用契約している付加サービスの種類を問い合わせるものである請求項5または6記載のプログラム。   The customer information inquiry means inquires of a customer management system that manages the type of additional service with which the user has a usage contract about the type of additional service with which the user has been contracted with the use determined by the sender / receiver discrimination unit. The program according to claim 5 or 6.
JP2004045938A 2004-02-23 2004-02-23 E-mail proxy device and program Expired - Fee Related JP3938145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004045938A JP3938145B2 (en) 2004-02-23 2004-02-23 E-mail proxy device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004045938A JP3938145B2 (en) 2004-02-23 2004-02-23 E-mail proxy device and program

Publications (2)

Publication Number Publication Date
JP2005236845A true JP2005236845A (en) 2005-09-02
JP3938145B2 JP3938145B2 (en) 2007-06-27

Family

ID=35019317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004045938A Expired - Fee Related JP3938145B2 (en) 2004-02-23 2004-02-23 E-mail proxy device and program

Country Status (1)

Country Link
JP (1) JP3938145B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009122721A (en) * 2007-11-09 2009-06-04 Interlink:Kk Electronic mail system
JP2010258780A (en) * 2009-04-24 2010-11-11 Brain Force Co Ltd Electronic mail server and electronic mail transmitting/receiving method
JP6202650B1 (en) * 2016-09-08 2017-09-27 Necプラットフォームズ株式会社 Communication system and communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009122721A (en) * 2007-11-09 2009-06-04 Interlink:Kk Electronic mail system
JP2010258780A (en) * 2009-04-24 2010-11-11 Brain Force Co Ltd Electronic mail server and electronic mail transmitting/receiving method
JP6202650B1 (en) * 2016-09-08 2017-09-27 Necプラットフォームズ株式会社 Communication system and communication method

Also Published As

Publication number Publication date
JP3938145B2 (en) 2007-06-27

Similar Documents

Publication Publication Date Title
US7774420B2 (en) Managing on-demand email storage
CN100484125C (en) Answering method to address inquire and appts. thereof
US20100179999A1 (en) Communications system providing message aggregation features and related methods
RU2011152895A (en) REAL-TIME SPAM SEARCH SYSTEM
WO2006119506A2 (en) Method of validating requests for sender reputation information
JP6361090B2 (en) Relay device
WO2001067269A1 (en) Precedence rules in electronic messaging servers
WO2017000144A1 (en) Dns server, client and data synchronization method
CN106844662B (en) Method and device for recording reading state of instant message
CA2570711A1 (en) Apparatus and method for supporting multiple traffic categories at a single networked device
CN105450513B (en) File the method and cloud storage service device of Email attachment
JP3938145B2 (en) E-mail proxy device and program
US8874646B2 (en) Message managing system, message managing method and recording medium storing program for that method execution
JP3827415B2 (en) Terminal device for e-mail system
CN110809033B (en) Message forwarding method and device and switching server
CN108123955A (en) Management method, device, equipment and the machine readable storage medium of safe list item
US10798039B2 (en) Intelligent real-time SMTP routing
JP4692558B2 (en) Mail system, server device, mail management method, program, and recording medium
JP3527090B2 (en) Distributed mail system, recording medium recording mail arrival confirmation program, and mail server device
JP2018180837A (en) Attached file sharing system, user terminal, attached file sharing method, and attached file sharing program
KR102216181B1 (en) Mail system for improving response time interval
JP3872044B2 (en) Mail receiving system, router device, mail receiving method, and program for reducing load
WO2022059560A1 (en) Management device, management method, and recording medium
US20090313637A1 (en) Method and system for preferential reply routing
JP2002373141A (en) Electronic mail system with mail deleting function and electronic mail program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061214

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070306

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070319

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140406

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees