JP4661898B2 - Gateway device - Google Patents

Gateway device Download PDF

Info

Publication number
JP4661898B2
JP4661898B2 JP2008098281A JP2008098281A JP4661898B2 JP 4661898 B2 JP4661898 B2 JP 4661898B2 JP 2008098281 A JP2008098281 A JP 2008098281A JP 2008098281 A JP2008098281 A JP 2008098281A JP 4661898 B2 JP4661898 B2 JP 4661898B2
Authority
JP
Japan
Prior art keywords
mail
mailbox
size
received
personal computer
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.)
Expired - Fee Related
Application number
JP2008098281A
Other languages
Japanese (ja)
Other versions
JP2009253612A (en
Inventor
裕介 望月
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2008098281A priority Critical patent/JP4661898B2/en
Publication of JP2009253612A publication Critical patent/JP2009253612A/en
Application granted granted Critical
Publication of JP4661898B2 publication Critical patent/JP4661898B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、クライアント装置宛ての電子メールをメールサーバ装置から受信し、クライアント装置からのメール受信要求コマンドに応答して、受信された電子メールをクライアント装置に配信するゲートウェイ装置に関する。   The present invention relates to a gateway device that receives an e-mail addressed to a client device from a mail server device and distributes the received e-mail to the client device in response to a mail reception request command from the client device.

電子メールは利便性及び迅速性などの長所を有するので、ビジネスなどの現場において、テキストデータ及び画像データなどの電子データは電子メールを用いて送受信されることが多い。従来、特許文献1〜3に開示されるような、クライアント装置に電子メールを配信するメールボックスとして動作するメールサーバが提案されている。また、特許文献4に開示されるような、外部メールサーバから受信した電子メールを内部のメールボックスに一時的に保存し、次いでローカルエリアネットワーク(LAN)内のクライアント装置に配信するためのゲートウェイ装置として動作するメールサーバが提案されている。   Since electronic mail has advantages such as convenience and quickness, electronic data such as text data and image data is often transmitted and received using electronic mail in the field of business. 2. Description of the Related Art Conventionally, a mail server that operates as a mailbox that distributes electronic mail to a client device as disclosed in Patent Documents 1 to 3 has been proposed. Further, as disclosed in Patent Document 4, a gateway device for temporarily storing an e-mail received from an external mail server in an internal mailbox and then distributing it to a client device in a local area network (LAN) Has been proposed as a mail server.

メールサーバには、各クライアント装置(すなわちユーザ)毎に個別にメールボックスが設けられる。しかしながら、送受信される電子メールの量の増大によって、受信された電子メールの合計サイズがメールボックスのサイズを超過する可能性があり、このような場合、メールボックス内に電子メールを受信できない。例えば特許文献1〜3記載の発明では、このような問題に対して以下のように対処している。   In the mail server, a mail box is individually provided for each client device (that is, user). However, due to an increase in the amount of e-mails sent and received, the total size of received e-mails may exceed the size of the mailbox, and in such a case, e-mails cannot be received in the mailbox. For example, the inventions described in Patent Documents 1 to 3 deal with such a problem as follows.

特許文献1記載の発明では、メールボックス毎に基本領域と拡張領域が設けられる。あるメールボックスに対してメッセージ書き込み要求があり、かつ当該メールボックスがフルの場合、メールボックス全体の利用率が所定値以下であると、一時的に他のメールボックスの基本領域を使用し、当該メールボックスのサイズを予め規定した値だけ拡張する。また、拡張を行っていないメールボックスに対してメッセージ書き込み要求があり、かつ、この書き込み要求に対してメールボックスの基本領域サイズを保証できなくなった場合、拡張を行っているメールボックスの拡張領域は強制的に解放される。   In the invention described in Patent Document 1, a basic area and an extended area are provided for each mailbox. If there is a message write request for a mailbox and the mailbox is full, if the usage rate of the entire mailbox is below the specified value, the basic area of the other mailbox is temporarily used Extend the mailbox size by a predefined value. Also, if there is a message write request for a mailbox that has not been expanded, and the basic area size of the mailbox cannot be guaranteed for this write request, the expansion area of the mailbox that has been expanded is It is forcibly released.

特許文献2記載の発明では、メッセージボックスを保持する記憶手段を複数有するメッセージ転送システムにおいて、メッセージ格納量の多いメッセージボックスを検出し、検出されたメッセージボックスのうち少なくとも1つに対する補助メッセージボックスを他の記憶手段に作成し、メッセージボックスのメッセージを前記補助メッセージボックスに移動する。   In the invention described in Patent Document 2, in a message transfer system having a plurality of storage means for holding message boxes, a message box with a large amount of stored messages is detected, and an auxiliary message box for at least one of the detected message boxes is set as another message box. The message in the message box is moved to the auxiliary message box.

特許文献3記載の発明では、通信回線を介して複数の外部装置を接続されるメールシステムにおいて、当該システムは、メールファイルと、このメールファイルからオーバーフローしたメールを格納する代替ファイルとを備え、これによりメールファイルがオーバーフローしないように代替ファイルにメールを格納すべく自動的に切り換えることができる。   In the invention described in Patent Document 3, in a mail system in which a plurality of external devices are connected via a communication line, the system includes a mail file and an alternative file for storing mail overflowed from the mail file. Can automatically switch mails to be stored in an alternative file so that the mail file does not overflow.

特開平6−164636号公報。JP-A-6-164636. 特開平5−276191号公報。JP-A-5-276191. 特開平3−135137号公報。JP-A-3-135137. 特開2006−165684号公報。JP 2006-165684 A.

特許文献1記載の発明では、メールボックスの基本領域と拡張領域の両方がフルのときには電子メールを受信することができず、特許文献3記載の発明でも同様に、メールファイルと代替ファイルの両方がフルのときには電子メールを受信することができない。特許文献2記載の発明では、メッセージボックスをそれぞれ保持する複数の記憶手段が必要されるので、システムの構成及び処理が複雑化する。   In the invention described in Patent Document 1, an electronic mail cannot be received when both the basic area and the extended area of the mailbox are full. Similarly, in the invention described in Patent Document 3, both the mail file and the alternative file are stored. When full, you cannot receive email. In the invention described in Patent Document 2, since a plurality of storage units each holding a message box are required, the system configuration and processing are complicated.

また、電子メールに添付される電子データの内容によっては当該電子メールのサイズがメールボックスのサイズを超過する可能性があり、このような場合、メールボックス内に電子メールを受信できないという問題がある。   In addition, depending on the content of electronic data attached to an e-mail, the size of the e-mail may exceed the size of the mailbox. In such a case, there is a problem that the e-mail cannot be received in the mailbox. .

さらに、LAN内のクライアント装置にセキュリティを提供するために、S/MIME(Secure/Multipurpose Internet Mail Extensions)などの暗号化機能を備えたゲートウェイ装置を介してクライアント装置をメールサーバ装置に接続することが好ましい。電子メールを一時的に保存するゲートウェイ装置では、電子メールのサイズに従って受信制限する必要がある。従来、メールボックスを備えるゲートウェイ装置では、受信しようとした電子メールのサイズがメールボックスのサイズ又は所定の制限値を超過した場合、ゲートウェイ装置は、「受信不可」であったことをクライアント装置に通知していた。特許文献1〜4には、ゲートウェイ装置を介してクライアント装置をメールサーバ装置に接続する構成を備えながら、受信される電子メールのサイズがメールボックスのサイズを超過する問題を解決するための発明を開示したものはない。   Further, in order to provide security to the client device in the LAN, the client device may be connected to the mail server device via a gateway device having an encryption function such as S / MIME (Secure / Multipurpose Internet Mail Extensions). preferable. In a gateway device that temporarily stores an e-mail, it is necessary to restrict reception according to the size of the e-mail. Conventionally, in a gateway device provided with a mailbox, when the size of an e-mail to be received exceeds the size of the mailbox or a predetermined limit value, the gateway device notifies the client device that it was “unreceivable” Was. Patent Documents 1 to 4 provide an invention for solving the problem that the size of received e-mail exceeds the size of a mailbox while having a configuration in which a client device is connected to a mail server device via a gateway device. None disclosed.

本発明の目的は以上の問題点を解決し、メールサーバ装置からクライアント装置に電子メールを配信するためのゲートウェイ装置であって、受信する電子メールのサイズ制限を緩和することが可能なゲートウェイ装置を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a gateway device that solves the above problems and distributes an electronic mail from a mail server device to a client device, and can reduce the size limit of the received electronic mail. It is to provide.

本発明に係るゲートウェイ装置は、少なくとも1つのクライアント装置宛ての電子メールをメールサーバ装置から受信して上記記憶手段に格納するように制御する制御手段を備え、
上記記憶手段は、上記各クライアント装置にそれぞれ対応する少なくとも1つのユーザメールボックスと、上記各ユーザメールボックスのサイズよりも大きなサイズを有する1つの共通メールボックスとを含み、
上記制御手段は、受信した電子メールのサイズが、上記受信した電子メールの宛先のクライアント装置に対応するユーザメールボックスのサイズ内であるとき、上記受信した電子メールを上記対応するユーザメールボックスに格納し、上記対応するユーザメールボックスのサイズより大きいとき、上記受信した電子メールを上記共通メールボックスに格納することを特徴とする。
The gateway device according to the present invention comprises control means for controlling to receive an e-mail addressed to at least one client device from the mail server device and store it in the storage means,
The storage means includes at least one user mailbox corresponding to each of the client devices, and one common mailbox having a size larger than the size of each user mailbox,
The control means stores the received e-mail in the corresponding user mailbox when the size of the received e-mail is within the size of the user mailbox corresponding to the destination client device of the received e-mail. When the size of the corresponding user mailbox is larger than the size of the corresponding user mailbox, the received electronic mail is stored in the common mailbox.

上記ゲートウェイ装置において、上記記憶手段は、上記格納された電子メールの宛先のクライアント装置を示す識別子の情報と、上記電子メールを格納した場所の情報とを保存するメール管理データベースをさらに含み、
上記制御手段は、上記クライアント装置の1つからメール受信要求信号を受信したとき、上記メール管理データベースの情報に基づいて、上記メール受信要求信号の送信元のクライアント装置を宛先とする格納された電子メールを読み出して配信することを特徴とする。
In the gateway device, the storage means further includes a mail management database that stores information on an identifier indicating a client device that is a destination of the stored electronic mail, and information on a location where the electronic mail is stored,
When the control means receives a mail reception request signal from one of the client devices, the control means stores a stored electronic device addressed to the client device that is the transmission source of the mail reception request signal, based on information in the mail management database. It is characterized by reading and delivering mail.

本発明によれば、メールサーバ装置からクライアント装置に電子メールを配信するためのゲートウェイ装置であって、受信する電子メールのサイズ制限が従来技術のゲートウェイ装置よりも緩和されたゲートウェイ装置を提供することができる。本発明によればさらに、クライアント装置は、従来技術と同じ処理でゲートウェイ装置から電子メールの配信を受けることができる。   According to the present invention, there is provided a gateway device for delivering an electronic mail from a mail server device to a client device, wherein the size restriction of the received electronic mail is relaxed as compared with the conventional gateway device. Can do. Further, according to the present invention, the client device can receive the delivery of the electronic mail from the gateway device by the same processing as the conventional technology.

以下、本発明に係る実施形態について図面を参照して説明する。   Hereinafter, embodiments according to the present invention will be described with reference to the drawings.

図1は、本発明の実施形態である、S/MIMEを用いて電子メールを送受信する機能を有するS/MIMEゲートウェイ装置20を備えたLANシステムの構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration of a LAN system including an S / MIME gateway apparatus 20 having a function of transmitting and receiving an electronic mail using S / MIME, which is an embodiment of the present invention.

この実施形態に係るLANシステムは、複数N台のクライアントパーソナルコンピュータ30−1〜30−N(以下、総称して符号30を付す。)と、S/MIMEゲートウェイ装置20と、ルータ装置60と、インターネット90に接続されたメールサーバ装置40とがLAN70を介して接続されて構成されてなる。図2から図4はそれぞれ、図1のクライアントパーソナルコンピュータ30、S/MIMEゲートウェイ装置20及びメールサーバ装置40の構成を示すブロック図である。本実施形態において、各クライアントパーソナルコンピュータ30が電子メールを送受信するとき、各クライアントパーソナルコンピュータ30はS/MIMEゲートウェイ装置20と通信し、S/MIMEゲートウェイ装置20はルータ装置60を介してメールサーバ装置40と通信する。以下の説明では、ルータ装置60に特に言及していない場合であっても、S/MIMEゲートウェイ装置20はルータ装置60を介してメールサーバ装置40と通信している。各クライアントパーソナルコンピュータ30は、平文電子メールを送受信する機能しか持たないが、以下詳述するように、S/MIMEゲートウェイ装置20を介してメールサーバ装置40と通信することにより、S/MIMEによる暗号化、復号化、署名、署名検証などの機能を利用することができる。   The LAN system according to this embodiment includes a plurality of N client personal computers 30-1 to 30-N (hereinafter collectively referred to as reference numeral 30), an S / MIME gateway device 20, a router device 60, A mail server device 40 connected to the Internet 90 is connected via a LAN 70. 2 to 4 are block diagrams showing configurations of the client personal computer 30, the S / MIME gateway device 20, and the mail server device 40 of FIG. 1, respectively. In this embodiment, when each client personal computer 30 transmits and receives an electronic mail, each client personal computer 30 communicates with the S / MIME gateway device 20, and the S / MIME gateway device 20 passes through the router device 60 to the mail server device. Communicate with 40. In the following description, even if the router device 60 is not particularly referred to, the S / MIME gateway device 20 communicates with the mail server device 40 via the router device 60. Each client personal computer 30 has only a function of sending and receiving plaintext e-mail. However, as will be described in detail below, the client personal computer 30 communicates with the mail server device 40 via the S / MIME gateway device 20 to encrypt the S / MIME. Functions such as encryption, decryption, signature, and signature verification can be used.

次に、図2を参照して、クライアントパーソナルコンピュータ30の構成を説明する。   Next, the configuration of the client personal computer 30 will be described with reference to FIG.

図2において、クライアントパーソナルコンピュータ30は、一般的なパーソナルコンピュータである外部端末装置であって、平文電子メール、画像データ及び文字データの生成、記録、格納、送信及び受信などの処理を実行する。クライアントパーソナルコンピュータ30は、主制御部101と、ROM(Read Only Memory)106と、RAM(Random Access Memory)107と、ハードディスクドライブ108と、表示部104と、操作部105と、LANインターフェース112とを備えて構成され、これらの構成要素はバス113を介して互いに接続されている。   In FIG. 2, a client personal computer 30 is an external terminal device that is a general personal computer, and executes processing such as generation, recording, storage, transmission, and reception of plain text e-mail, image data, and character data. The client personal computer 30 includes a main control unit 101, a ROM (Read Only Memory) 106, a RAM (Random Access Memory) 107, a hard disk drive 108, a display unit 104, an operation unit 105, and a LAN interface 112. These components are connected to each other via a bus 113.

主制御部101は具体的にはCPU(Central Processing Unit)であり、種々のソフトウェアの機能を実行し、他の構成要素を制御する。ROM106は、当該クライアントパーソナルコンピュータ30の動作に必要な、主制御部101によって実行される種々のソフトウェアのプログラムを予め格納する。また、RAM107は、SRAM(Static RAM)、DRAM(Dynamic RAM)、SDRAM(Synchronous DRAM)などで構成され、主制御部101のワーキングエリアとして使用されてプログラムの実行時に発生する一時的なデータを記憶する。さらに、ハードディスクドライブ108は、記録媒体を内蔵する記憶装置であり、実行するアプリケーションプログラムを予め格納する。特に、ハードディスクドライブ108は、電子メールの作成及びS/MIMEゲートウェイ装置20を介する電子メールの送受信を行うための公知の制御プログラムである、クライアントパーソナルコンピュータ30の電子メール送受信用のプログラムを格納する。表示部104は、液晶表示装置(Liquid Crystal Display:LCD)又はCRT(Cathode Ray Tube)ディスプレイなどの表示装置であり、当該クライアントパーソナルコンピュータ30の動作状態、送信すべき電子メール、及び受信された電子メールなどを表示する。操作部105は、文字データの入力、及び電子メールを受信するための指示コマンドなどの入力を受けるキーボード等である。さらに、LANインターフェース112は、LAN70に接続され、LAN70からの信号及びデータを受信する一方、LAN70に対して信号及びデータを送信して信号変換及びプロトコル変換などのLAN通信に係るインターフェース処理を実行する。   The main control unit 101 is specifically a CPU (Central Processing Unit), and executes various software functions and controls other components. The ROM 106 stores in advance various software programs executed by the main control unit 101 necessary for the operation of the client personal computer 30. The RAM 107 is composed of SRAM (Static RAM), DRAM (Dynamic RAM), SDRAM (Synchronous DRAM), etc., and is used as a working area of the main control unit 101 to store temporary data generated during execution of the program. To do. Furthermore, the hard disk drive 108 is a storage device that contains a recording medium, and stores application programs to be executed in advance. In particular, the hard disk drive 108 stores a program for sending / receiving e-mail of the client personal computer 30, which is a known control program for creating e-mail and sending / receiving e-mail via the S / MIME gateway device 20. The display unit 104 is a display device such as a liquid crystal display (LCD) or a CRT (Cathode Ray Tube) display, and the operation state of the client personal computer 30, the e-mail to be transmitted, and the received electronic Display emails. The operation unit 105 is a keyboard or the like that receives input of character data and an instruction command for receiving an e-mail. Further, the LAN interface 112 is connected to the LAN 70 and receives signals and data from the LAN 70, and transmits signals and data to the LAN 70 to execute interface processing related to LAN communication such as signal conversion and protocol conversion. .

クライアントパーソナルコンピュータ30は、作成された平文電子メールをS/MIMEゲートウェイ装置20に送信する。また、クライアントパーソナルコンピュータ30は、電子メールの受信を要求するメール受信要求コマンドを、S/MIMEゲートウェイ装置20に送信し、これに応答してS/MIMEゲートウェイ装置20から配信される平文電子メールを受信する。なお、メール受信要求コマンドは、電子メール送受信用のプログラムによって所定の時間間隔毎に発生されるか、又は、あるいはクライアントパーソナルコンピュータ30のユーザによって操作部105を介して入力される電子メール受信を指示する所定の指示コマンドに従って発生される。   The client personal computer 30 transmits the created plain text electronic mail to the S / MIME gateway device 20. In addition, the client personal computer 30 transmits a mail reception request command for requesting reception of an e-mail to the S / MIME gateway apparatus 20, and in response thereto, a plain text e-mail distributed from the S / MIME gateway apparatus 20 is received. Receive. The mail reception request command is generated at predetermined time intervals by an e-mail transmission / reception program, or instructs to receive e-mail input by the user of the client personal computer 30 via the operation unit 105. Generated in accordance with a predetermined instruction command.

次に、図3を参照して、S/MIMEゲートウェイ装置20の構成を説明する。   Next, the configuration of the S / MIME gateway apparatus 20 will be described with reference to FIG.

S/MIMEゲートウェイ装置20は、クライアントパーソナルコンピュータ30から受信した電子メールを宛先に送信する機能と、メールサーバ装置40からクライアントパーソナルコンピュータ30宛の電子メールを一時的に受信して、宛先のクライアントパーソナルコンピュータ30に配信する機能とを有する。S/MIMEゲートウェイ装置20は、主制御部1と、ROM6と、RAM7と、CF(COMPACTFLASH:登録商標)メモリ9と、LANインターフェース12とを備えて構成され、これらの構成要素はバス13を介して互いに接続されている。   The S / MIME gateway apparatus 20 has a function of transmitting an e-mail received from the client personal computer 30 to the destination, and temporarily receives an e-mail addressed to the client personal computer 30 from the mail server apparatus 40, and receives the destination client personal. And a function of delivering to the computer 30. The S / MIME gateway device 20 includes a main control unit 1, a ROM 6, a RAM 7, a CF (COMPACTFLASH: registered trademark) memory 9, and a LAN interface 12, and these components are connected via a bus 13. Are connected to each other.

主制御部1は具体的にはCPUであり、後述する種々のソフトウェアの機能を実行し、他の構成要素を制御する。ROM6は、当該S/MIMEゲートウェイ装置20の動作に必要な、主制御部1によって実行される種々のソフトウェアのプログラムを予め格納する。RAM7は、主制御部1のワーキングエリアとして使用されてプログラムの実行時に発生する一時的なデータを記憶する。特に、RAM7上の記憶領域には、複数N個のユーザメールボックス8−1〜8−N(以下、総称して符号8を付す。)と、共通メールボックス8Aと、メール管理データベース8Bとが構成される。ユーザメールボックス8−1〜8−Nのそれぞれは、クライアントパーソナルコンピュータ30−1〜30−Nに対応し、それぞれ例えば約20MBのサイズを有する。各ユーザメールボックス8−1〜8−Nは、メールサーバ装置40から受信した暗号化電子メールに対して復号化処理及び署名検証処理を行った後の平文電子メールを、クライアントパーソナルコンピュータ30−1〜30−N毎に格納する。共通メールボックス8Aは、例えば約100MBのサイズを有し、メールサーバ装置40から受信した暗号化電子メールに対して復号化処理及び署名検証処理を行った後の平文電子メールであって、各ユーザメールボックス8−1〜8−Nのサイズよりも大きなサイズを有する電子メールを格納する。なお、共通メールボックス8Aのサイズは100MBに限定されず、各ユーザメールボックス8−1〜8−Nのサイズよりも実質的に大きな任意のサイズを利用可能である。メール管理データベース8Bは、メールサーバ装置40から受信してユーザメールボックス8−1〜8−N又は共通メールボックス8Aに格納した電子メールの宛先のユーザIDと、当該電子メールを格納した場所のファイルパスとを保存する。図5に、メール管理データベース8Bの内容の一例を示す(詳細は後述)。RAM7は、例えばSRAM、DRAM、SDRAM等で構成されるが、それに代わって、RAM7としてフラッシュメモリを使用した場合には、停電、装置の移動等のために電源が遮断された場合にもそのデータの内容が失われない。さらに、CFメモリ9は、種々のデータ及びプログラムを予め格納し、本実施形態では、少なくとも、S/MIMEゲートウェイ装置20の電子メール受信処理(図6)及び電子メール配信処理(図7)のプログラムを含む。CFメモリ9に代えて、不揮発性の他の記憶媒体を用いてもよい。また、LANインターフェース12は、LAN70に接続され、LAN70からの信号及びデータを受信する一方、LAN70に対して信号及びデータを送信して信号変換及びプロトコル変換などのLAN通信に係るインターフェース処理を実行する。   The main control unit 1 is specifically a CPU, executes various software functions to be described later, and controls other components. The ROM 6 stores in advance various software programs executed by the main control unit 1 necessary for the operation of the S / MIME gateway device 20. The RAM 7 is used as a working area for the main control unit 1 and stores temporary data generated when the program is executed. In particular, the storage area on the RAM 7 includes a plurality of N user mailboxes 8-1 to 8-N (hereinafter collectively referred to as 8), a common mailbox 8A, and a mail management database 8B. Composed. Each of the user mailboxes 8-1 to 8-N corresponds to the client personal computers 30-1 to 30-N and has a size of about 20 MB, for example. Each of the user mailboxes 8-1 to 8-N receives the plain text e-mail after the decryption process and the signature verification process are performed on the encrypted e-mail received from the mail server device 40, and the client personal computer 30-1. Store every 30-N. The common mailbox 8A has a size of about 100 MB, for example, and is a plaintext email after decryption processing and signature verification processing are performed on the encrypted email received from the mail server device 40. An electronic mail having a size larger than the size of the mailboxes 8-1 to 8-N is stored. The size of the common mailbox 8A is not limited to 100 MB, and any size substantially larger than the size of each user mailbox 8-1 to 8-N can be used. The mail management database 8B includes a user ID of an e-mail destination received from the mail server device 40 and stored in the user mailboxes 8-1 to 8-N or the common mailbox 8A, and a file of the location where the e-mail is stored. Save the path and. FIG. 5 shows an example of the contents of the mail management database 8B (details will be described later). The RAM 7 is composed of, for example, SRAM, DRAM, SDRAM or the like. Instead, when a flash memory is used as the RAM 7, the data is stored even when the power is cut off due to a power failure, movement of the device, or the like. The contents of are not lost. Further, the CF memory 9 stores various data and programs in advance. In the present embodiment, at least the programs of the e-mail reception process (FIG. 6) and the e-mail distribution process (FIG. 7) of the S / MIME gateway device 20 are stored. including. Instead of the CF memory 9, another non-volatile storage medium may be used. The LAN interface 12 is connected to the LAN 70 and receives signals and data from the LAN 70, and transmits signals and data to the LAN 70 to execute interface processing related to LAN communication such as signal conversion and protocol conversion. .

S/MIMEゲートウェイ装置20は、クライアントパーソナルコンピュータ30から受信した電子メールを宛先に送信するとき、各クライアントパーソナルコンピュータ30から受信された平文電子メールを、S/MIMEに従ってソフトウェアにより電子署名処理及び暗号化処理した後、メールサーバ装置40に送信する。一方、S/MIMEゲートウェイ装置20は、メールサーバ装置40からクライアントパーソナルコンピュータ30宛の電子メールを一時的に受信して、宛先のクライアントパーソナルコンピュータ30に配信するとき、まず、各クライアントパーソナルコンピュータ30宛てのすべての電子メールを送信するようにメールサーバ装置40に要求する。この要求は、例えば所定の時間間隔で定期的に実行するように設定される。次いで、S/MIMEゲートウェイ装置20は、この要求に応答してメールサーバ装置40から受信された電子署名付き暗号化電子メールに対して、S/MIMEに従ってソフトウェアにより電子署名検証処理及び復号化処理を実行して平文電子メールに変換した後、この平文電子メールを、そのサイズに従ってユーザメールボックス8−1〜8−N又は共通メールボックス8Aのいずれかに格納する。これと同時に、S/MIMEゲートウェイ装置20は、格納した電子メールの宛先のユーザIDと、当該電子メールを格納した場所のファイルパスとを、メール管理データベース8Bに保存する。さらに、S/MIMEゲートウェイ装置20は、各クライアントパーソナルコンピュータ30からメール受信要求コマンドを受信したとき、ユーザメールボックス8−1〜8−N又は共通メールボックス8Aに格納した電子メールを、メール受信要求コマンドの送信元のクライアントパーソナルコンピュータ30に配信する。言い換えると、S/MIMEゲートウェイ装置20は、各クライアントパーソナルコンピュータ30に対するSMTP(Simple Mail Transfer Protocol)サーバ装置及びPOP3(Post Office Protocol Ver.3)サーバ装置として機能するとともに、メールサーバ装置40に対するSMTPクライアント装置及びPOP3クライアント装置として機能する。   When the S / MIME gateway apparatus 20 transmits the e-mail received from the client personal computer 30 to the destination, the S / MIME gateway apparatus 20 processes and encrypts the plain text e-mail received from each client personal computer 30 by software according to S / MIME. After processing, the data is transmitted to the mail server device 40. On the other hand, when the S / MIME gateway device 20 temporarily receives an e-mail addressed to the client personal computer 30 from the mail server device 40 and distributes it to the destination client personal computer 30, first, the S / MIME gateway device 20 is addressed to each client personal computer 30. The mail server device 40 is requested to send all e-mails. This request is set to be executed periodically at a predetermined time interval, for example. Next, the S / MIME gateway device 20 performs electronic signature verification processing and decryption processing by software according to S / MIME for the encrypted electronic mail with electronic signature received from the mail server device 40 in response to this request. After execution and conversion to plain text email, the plain text email is stored in either the user mailbox 8-1 to 8-N or the common mailbox 8A according to its size. At the same time, the S / MIME gateway device 20 stores the user ID of the stored e-mail destination and the file path of the location where the e-mail is stored in the mail management database 8B. Further, when the S / MIME gateway apparatus 20 receives a mail reception request command from each client personal computer 30, the S / MIME gateway apparatus 20 uses the electronic mail stored in the user mailboxes 8-1 to 8-N or the common mailbox 8A as a mail reception request. It is distributed to the client personal computer 30 that is the source of the command. In other words, the S / MIME gateway device 20 functions as an SMTP (Simple Mail Transfer Protocol) server device and a POP3 (Post Office Protocol Ver. 3) server device for each client personal computer 30, and also an SMTP client for the mail server device 40. Functions as a device and a POP3 client device.

次に、図4を参照して、メールサーバ装置40の構成を説明する。   Next, the configuration of the mail server device 40 will be described with reference to FIG.

図4において、メールサーバ装置40は、一般的なメールサーバ装置であって、電子メールの送受信処理を実行する。メールサーバ装置40は、主制御部401と、ROM406と、RAM407と、ハードディスクドライブ408と、表示部404と、操作部405と、LAN70に接続されたLANインターフェース412と、インターネット90に接続されたもう1つのインターフェース414とを備えて構成され、これらの構成要素はバス413を介して互いに接続されている。   In FIG. 4, a mail server device 40 is a general mail server device, and executes e-mail transmission / reception processing. The mail server device 40 includes a main control unit 401, a ROM 406, a RAM 407, a hard disk drive 408, a display unit 404, an operation unit 405, a LAN interface 412 connected to the LAN 70, and an Internet 90. And a single interface 414, and these components are connected to each other via a bus 413.

主制御部401は具体的にはCPUで構成され、種々のソフトウェアの機能を実行し、他の構成要素を制御する。ROM406は、当該メールサーバ装置40の動作に必要な、主制御部401によって実行される種々のソフトウェアのプログラムを予め格納する。RAM407は、主制御部401のワーキングエリアとして使用されてプログラムの実行時に発生する一時的なデータを記憶し、特に、RAM407上の記憶領域には、各クライアントパーソナルコンピュータ30宛ての電子メールを格納するためのメールボックス402が構成される。RAM407は、例えばSRAM、DRAM、SDRAM等で構成されるが、それに代わって、RAM407としてフラッシュメモリを使用した場合には、停電、装置の移動等のために電源が遮断された場合にもそのデータの内容が失われない。さらに、ハードディスクドライブ408は、記録媒体を内蔵する記憶装置であり、実行するアプリケーションプログラムを予め格納する。特に、ハードディスクドライブ408は、S/MIMEゲートウェイ装置20との間で電子署名付き暗号化電子メールの送受信を行うための公知の制御プログラムである、メールサーバ装置40の電子メール送受信用のプログラムを格納する。表示部404は、液晶表示装置(LCD)又はCRTディスプレイなどの表示装置であり、メールサーバ装置40の動作状態の表示を行う。操作部405は、文字データの入力、及び電子メールを受信するための指示コマンドなどの入力を受けるキーボード等である。また、LANインターフェース412は、LAN70からの信号及びデータを受信する一方、LAN70に対して信号及びデータを送信して信号変換及びプロトコル変換などのLAN通信に係るインターフェース処理を実行する。さらに、インターフェース414は、インターネット90からの信号及びデータを受信する一方、インターネット90に対して信号及びデータを送信して信号変換及びプロトコル変換などのインターネット通信に係るインターフェース処理を実行する。   The main control unit 401 is specifically composed of a CPU, executes various software functions, and controls other components. The ROM 406 stores in advance various software programs executed by the main control unit 401 necessary for the operation of the mail server device 40. The RAM 407 is used as a working area for the main control unit 401 and stores temporary data generated when the program is executed. In particular, an e-mail addressed to each client personal computer 30 is stored in the storage area on the RAM 407. A mail box 402 is configured. The RAM 407 is composed of, for example, SRAM, DRAM, SDRAM or the like. However, when a flash memory is used as the RAM 407, the data is also stored even when the power is cut off due to a power failure, device movement, or the like. The contents of are not lost. Further, the hard disk drive 408 is a storage device having a built-in recording medium, and stores an application program to be executed in advance. In particular, the hard disk drive 408 stores an e-mail transmission / reception program of the mail server apparatus 40, which is a known control program for transmitting / receiving an encrypted e-mail with an electronic signature to / from the S / MIME gateway apparatus 20. To do. The display unit 404 is a display device such as a liquid crystal display device (LCD) or a CRT display, and displays the operation state of the mail server device 40. The operation unit 405 is a keyboard or the like that receives input of character data and an instruction command for receiving an e-mail. The LAN interface 412 receives signals and data from the LAN 70, and transmits signals and data to the LAN 70 to execute interface processing related to LAN communication such as signal conversion and protocol conversion. Further, the interface 414 receives signals and data from the Internet 90 and transmits signals and data to the Internet 90 to execute interface processing related to Internet communication such as signal conversion and protocol conversion.

メールサーバ装置40は、S/MIMEゲートウェイ装置20からの電子署名付き暗号化電子メールを、インターネット90を介して送信先のメールサーバ装置(図示しない。)に送信する。また、メールサーバ装置40は、送信元のメールサーバ装置(図示しない。)からの電子署名付き暗号化電子メールをメールボックス402に格納する。さらに、メールサーバ装置40は、S/MIMEゲートウェイ装置40から要求されたとき、各クライアントパーソナルコンピュータ30宛てのすべての電子メールを、S/MIMEゲートウェイ装置40に送信する。   The mail server device 40 transmits the encrypted electronic mail with the electronic signature from the S / MIME gateway device 20 to the destination mail server device (not shown) via the Internet 90. Further, the mail server device 40 stores the encrypted electronic mail with the electronic signature from the mail server device (not shown) of the transmission source in the mail box 402. Further, when requested by the S / MIME gateway device 40, the mail server device 40 transmits all e-mails addressed to each client personal computer 30 to the S / MIME gateway device 40.

次に、図6及び図7を参照して、図3のS/MIMEゲートウェイ装置20の主制御部1によって実行される電子メール受信処理及び電子メール配信処理について説明する。   Next, with reference to FIGS. 6 and 7, the e-mail receiving process and the e-mail delivery process executed by the main control unit 1 of the S / MIME gateway apparatus 20 in FIG. 3 will be described.

図6は、図3のS/MIMEゲートウェイ装置20の主制御部1によって実行される電子メール受信処理を示すフローチャートである。ステップS1において、主制御部1は、メールサーバ装置40からメール情報を取得する。メール情報は、少なくとも、各クライアントパーソナルコンピュータ30宛ての電子メールがメールサーバ装置40のメールボックス402内に存在するか否かと、存在する場合にはその電子メールのサイズ及び宛先とを含む。電子メールがメールボックス402内に存在する場合、主制御部1は、ステップS2において、当該電子メールのサイズがユーザメールボックス8のサイズ内であるか否かを判断し、YESのときはステップS3に進み、NOのときはステップS6に進む。ステップS3において、主制御部1は、メールサーバ装置40からS/MIMEゲートウェイ装置20に電子メールを受信させる。次いでステップS4において、主制御部1は、受信した電子メールの復号化及び署名検証処理を実行し、ステップS5において、復号化された電子メールを、宛先のクライアントパーソナルコンピュータ30に対応するユーザメールボックス8に格納する。次いでステップS9において、主制御部1は、ステップS5でユーザメールボックス8に格納した電子メールの情報をメール管理データベース8Bに保存して、処理を終了する。メール管理データベース8Bには、前述のように、格納した電子メールの宛先のユーザIDと、当該電子メールを格納した場所のファイルパスとが保存される。一方、ステップS6において、主制御部1は、メールサーバ装置40のメールボックス402内に存在する電子メールのサイズが共通メールボックス8Aのサイズ内であるか否かを判断し、YESのときはステップS10に進み、NOのときはステップS7に進む。ステップS10において、主制御部1は、メールサーバ装置40からS/MIMEゲートウェイ装置20に電子メールを受信させる。次いでステップS11において、主制御部1は、受信した電子メールの復号化及び署名検証処理を実行し、ステップS12において、復号化された電子メールを共通メールボックス8Aに格納する。次いでステップS13において、主制御部1は、共通メールボックス8Aに格納した電子メールの情報をメール管理データベース8Bに保存して、処理を終了する。また、ステップS7において、主制御部1は、メールサーバ装置40のメールボックス402内に存在する電子メールのサイズがユーザメールボックス8−1〜8−N及び共通メールボックス8Aのいずれよりも大きく、受信不可であったことを示すエラーメッセージを生成する。ステップS8において、主制御部1は、生成したエラーメッセージを含む電子メールを、受信不可であった電子メールの宛先のクライアントパーソナルコンピュータ30に対応するユーザメールボックス8に格納し、ステップS9に進む。ステップS9において、主制御部1は、ステップS8でユーザメールボックス8に格納した電子メールの情報をメール管理データベース8Bに保存して、処理を終了する。   FIG. 6 is a flowchart showing an e-mail receiving process executed by the main control unit 1 of the S / MIME gateway apparatus 20 of FIG. In step S <b> 1, the main control unit 1 acquires mail information from the mail server device 40. The mail information includes at least whether or not an e-mail addressed to each client personal computer 30 exists in the mail box 402 of the mail server device 40 and, if present, the size and destination of the e-mail. If the electronic mail exists in the mailbox 402, the main control unit 1 determines whether or not the size of the electronic mail is within the size of the user mailbox 8 in step S2, and if YES, step S3. If NO, the process proceeds to step S6. In step S <b> 3, the main control unit 1 causes the S / MIME gateway device 20 to receive an e-mail from the mail server device 40. Next, in step S4, the main control unit 1 executes decryption and signature verification processing of the received electronic mail, and in step S5, the decrypted electronic mail is sent to the user mailbox corresponding to the destination client personal computer 30. 8 is stored. Next, in step S9, the main control unit 1 stores the e-mail information stored in the user mailbox 8 in step S5 in the mail management database 8B, and ends the process. In the mail management database 8B, as described above, the user ID of the stored electronic mail and the file path where the electronic mail is stored are stored. On the other hand, in step S6, the main control unit 1 determines whether or not the size of the e-mail existing in the mail box 402 of the mail server device 40 is within the size of the common mail box 8A. The process proceeds to S10, and if NO, the process proceeds to Step S7. In step S <b> 10, the main control unit 1 causes the S / MIME gateway device 20 to receive an email from the mail server device 40. Next, in step S11, the main control unit 1 executes decryption and signature verification processing on the received electronic mail, and in step S12, stores the decrypted electronic mail in the common mailbox 8A. Next, in step S13, the main control unit 1 saves the electronic mail information stored in the common mail box 8A in the mail management database 8B, and ends the process. In step S7, the main control unit 1 determines that the size of the electronic mail existing in the mailbox 402 of the mail server device 40 is larger than any of the user mailboxes 8-1 to 8-N and the common mailbox 8A. An error message indicating that reception was not possible is generated. In step S8, the main control unit 1 stores the generated email including the error message in the user mailbox 8 corresponding to the client personal computer 30 that is the destination of the email that could not be received, and proceeds to step S9. In step S9, the main control unit 1 stores the e-mail information stored in the user mailbox 8 in step S8 in the mail management database 8B, and ends the process.

図5を参照して、メール管理データベース8Bの一例について説明する。図5のメール管理データベース8Bの1行目(管理番号1)は、ユーザID「user1」を有するクライアントパーソナルコンピュータ30宛ての電子メールが、ユーザメールボックス8−1〜8−Nのうちの「/user1」で示されるユーザメールボックスに格納され、ファイル名「xxx.eml」を有することを示す。メール管理データベース8Bの2行目(管理番号2)は、ユーザID「user2」を有するクライアントパーソナルコンピュータ30宛ての電子メールが、ユーザメールボックス8−1〜8−Nのうちの「/user2」で示されるユーザメールボックスに格納され、ファイル名「yyy.eml」を有することを示す。さらに、メール管理データベース8Bの3行目(管理番号3)は、ユーザID「user1」を有するクライアントパーソナルコンピュータ30宛ての電子メールが、「/user1」で示される共通メールボックス8Aに格納され、ファイル名「zzz.eml」を有することを示す。S/MIMEゲートウェイ装置20の主制御部1は、クライアントパーソナルコンピュータ30からメール受信要求コマンドを受信したとき、メール管理データベース8Bの内容に基づいて、配信すべき電子メールを特定することができる。   An example of the mail management database 8B will be described with reference to FIG. The first line (management number 1) of the mail management database 8B in FIG. 5 indicates that an e-mail addressed to the client personal computer 30 having the user ID “user1” is “/” in the user mailboxes 8-1 to 8-N. It is stored in the user mailbox indicated by “user1” and has a file name “xxx.eml”. The second line (management number 2) of the mail management database 8B indicates that the e-mail addressed to the client personal computer 30 having the user ID “user2” is “/ user2” in the user mailboxes 8-1 to 8-N. It is stored in the indicated user mailbox and has the file name “yyy.eml”. Further, the third line (management number 3) of the mail management database 8B stores an e-mail addressed to the client personal computer 30 having the user ID “user1” in the common mail box 8A indicated by “/ user1”. The name "zzz.eml" is indicated. When the main control unit 1 of the S / MIME gateway apparatus 20 receives a mail reception request command from the client personal computer 30, it can specify an electronic mail to be distributed based on the contents of the mail management database 8B.

本実施形態では、受信した電子メールを格納するために共通メールボックス8Aを使用するか否かについては、その電子メールのサイズのみに基づいて決定される。本実施形態においてユーザメールボックス8がフルである場合、特許文献1〜3記載の発明のように共通メールボックス8Aを使用することはなく、好ましくは、クライアントパーソナルコンピュータ30に送るための「受信不可」のエラーメッセージが生成される。これにより、各ユーザメールボックス8−1〜8−Nよりも大きなサイズを有する電子メールを共通メールボックス8Aに格納する必要があるにもかかわらず、共通メールボックス8Aがフルであるので格納できなくなるような可能性を低下させることができる。   In the present embodiment, whether or not to use the common mailbox 8A for storing the received e-mail is determined based only on the size of the e-mail. In the present embodiment, when the user mailbox 8 is full, the common mailbox 8A is not used as in the inventions described in Patent Documents 1 to 3, and preferably “reception impossible” for sending to the client personal computer 30. Error message is generated. Thereby, although it is necessary to store an electronic mail having a size larger than each of the user mailboxes 8-1 to 8-N in the common mailbox 8A, the common mailbox 8A is full and cannot be stored. Such a possibility can be reduced.

以上説明したように、本実施形態によれば、S/MIMEゲートウェイ装置20は、主に、クライアントパーソナルコンピュータ30の電子メールをメールサーバ装置40から受信してRAM7に格納するように制御する主制御部1を備える。RAM7は、各クライアントパーソナルコンピュータ30にそれぞれ対応するユーザメールボックス8と、各ユーザメールボックス8のサイズよりも大きなサイズを有する1つの共通メールボックス8Aとを含む。主制御部1は、受信した電子メールのサイズが、その宛先のクライアントパーソナルコンピュータ30に対応するユーザメールボックス8のサイズ内であるとき、受信した電子メールをそのユーザメールボックス8に格納し、対応するユーザメールボックス8のサイズより大きいとき、受信した電子メールを共通メールボックス8Aに格納する。これにより、メールサーバ装置40からクライアントパーソナルコンピュータ30に電子メールを配信するためのゲートウェイ装置において、受信する電子メールのサイズ制限を従来技術のゲートウェイ装置よりも緩和することができる。   As described above, according to the present embodiment, the S / MIME gateway device 20 mainly performs control so as to receive the email of the client personal computer 30 from the mail server device 40 and store it in the RAM 7. Part 1 is provided. The RAM 7 includes a user mailbox 8 corresponding to each client personal computer 30 and one common mailbox 8A having a size larger than the size of each user mailbox 8. When the size of the received e-mail is within the size of the user mailbox 8 corresponding to the destination client personal computer 30, the main control unit 1 stores the received e-mail in the user mailbox 8 and When it is larger than the size of the user mailbox 8 to be received, the received electronic mail is stored in the common mailbox 8A. Thereby, in the gateway device for delivering the electronic mail from the mail server device 40 to the client personal computer 30, the size restriction of the received electronic mail can be relaxed as compared with the gateway device of the prior art.

図7は、図3のS/MIMEゲートウェイ装置20の主制御部1によって実行される電子メール配信処理を示すフローチャートである。ステップS21において、主制御部1は、クライアントパーソナルコンピュータ30の1つからメール受信要求コマンドを受信する。ステップS22において、主制御部1は、メール受信要求コマンドに含まれるユーザIDに基づいてメール管理データベース8Bを検索する。ステップS23において、主制御部1は、ユーザIDに対応する電子メールが存在するか否かを判断し、YESのときはステップS24に進み、NOのときは処理を終了する。ステップS24において、主制御部1は、ステップS22で検索されたメール管理データベース8Bの情報(すなわちファイルパス)に基づいて、ユーザメールボックス8又は共通メールボックス8Aに格納された電子メールを読み出して、クライアントパーソナルコンピュータ30に転送する。ステップS25において、主制御部1は、転送完了した電子メールをユーザメールボックス8又は共通メールボックス8Aから削除し、当該電子メールの情報をメール管理データベース8Bから削除し、処理を終了する。   FIG. 7 is a flowchart showing an e-mail delivery process executed by the main control unit 1 of the S / MIME gateway device 20 of FIG. In step S <b> 21, the main control unit 1 receives a mail reception request command from one of the client personal computers 30. In step S22, the main control unit 1 searches the mail management database 8B based on the user ID included in the mail reception request command. In step S23, the main control unit 1 determines whether or not an electronic mail corresponding to the user ID exists. If YES, the process proceeds to step S24, and if NO, the process ends. In step S24, the main control unit 1 reads out the e-mail stored in the user mailbox 8 or the common mailbox 8A based on the information (that is, the file path) in the mail management database 8B searched in step S22. Transfer to client personal computer 30. In step S25, the main control unit 1 deletes the transferred email from the user mailbox 8 or the common mailbox 8A, deletes the email information from the email management database 8B, and ends the process.

以上説明したように、本実施形態によれば、RAM7が、格納された電子メールの宛先のクライアントパーソナルコンピュータ30を示すユーザIDの情報と、電子メールを格納した場所のファイルパスの情報とを保存するメール管理データベース8Bをさらに含み、主制御部1は、クライアントパーソナルコンピュータ30の1つからメール受信要求コマンドを受信したとき、メール管理データベース8Bの情報に基づいて、メール受信要求コマンドの送信元のクライアントパーソナルコンピュータ30を宛先とする格納された電子メールを読み出して配信する。図7の処理によれば、クライアントパーソナルコンピュータ30は、電子メールの配信を受ける際に、受信する電子メールがユーザメールボックス8に格納されているのか、それとも共通メールボックス8Aに格納されているのかを認識することなく、電子メールを受信するための従来技術と同じ公知のプログラムを実行するだけでよい。   As described above, according to the present embodiment, the RAM 7 stores the user ID information indicating the client personal computer 30 that is the destination of the stored electronic mail and the file path information of the location where the electronic mail is stored. A mail management database 8B, and when the main control unit 1 receives a mail reception request command from one of the client personal computers 30, based on the information in the mail management database 8B, the main control unit 1 The stored electronic mail addressed to the client personal computer 30 is read and distributed. According to the processing of FIG. 7, when the client personal computer 30 receives the distribution of the e-mail, is the received e-mail stored in the user mailbox 8 or the common mailbox 8A? It is only necessary to execute the same known program as the prior art for receiving an e-mail without recognizing.

なお、以上説明した実施形態では、S/MIMEゲートウェイ装置20とルータ装置60とを別個の装置として図示したが、これらの装置は一体化されて構成されてもよい。説明した実施形態において、S/MIMEゲートウェイ装置20は、S/MIMEに従って、クライアントパーソナルコンピュータ30からの各電子メールに対して暗号化処理及び電子署名処理を行うとともに、メールサーバ装置40からの各電子メールに対して復号化処理及び電子署名検証処理を行ったが、本発明はこれに限られない。例えば、S/MIMEゲートウェイ装置20は、上記暗号化処理及び復号化処理を行い、上記電子署名処理及び電子署名検証処理を行わないように構成されてもよい。また、S/MIMEゲートウェイ装置20に代えて、PGP(Pretty Good Privacy)/MIMEに従って、クライアントパーソナルコンピュータ30からの各電子メールに対して暗号化処理及び電子署名処理を行う一方、メールサーバ装置40からの各電子メールに対して復号化処理及び電子署名検証処理を行うゲートウェイ装置であってもよい。   In the above-described embodiment, the S / MIME gateway device 20 and the router device 60 are illustrated as separate devices. However, these devices may be integrated. In the described embodiment, the S / MIME gateway device 20 performs encryption processing and electronic signature processing on each electronic mail from the client personal computer 30 according to S / MIME, and each electronic device from the mail server device 40. Although the decryption process and the electronic signature verification process are performed on the mail, the present invention is not limited to this. For example, the S / MIME gateway device 20 may be configured to perform the encryption process and the decryption process and not perform the electronic signature process and the electronic signature verification process. Further, instead of the S / MIME gateway device 20, encryption processing and electronic signature processing are performed on each electronic mail from the client personal computer 30 according to PGP (Pretty Good Privacy) / MIME, while from the mail server device 40, It may be a gateway device that performs decryption processing and electronic signature verification processing on each electronic mail.

以上詳述したように、本発明に係るゲートウェイ装置によれば、メールサーバ装置からクライアント装置に電子メールを配信するためのゲートウェイ装置であって、受信する電子メールのサイズ制限が従来技術のゲートウェイ装置よりも緩和されたゲートウェイ装置を提供することができる。本発明によればさらに、クライアント装置は、従来技術と同じ処理でゲートウェイ装置から電子メールの配信を受けることができる。   As described above in detail, the gateway device according to the present invention is a gateway device for delivering electronic mail from the mail server device to the client device, and the size of the received electronic mail is limited in the prior art. It is possible to provide a more relaxed gateway device. Further, according to the present invention, the client device can receive the delivery of the electronic mail from the gateway device by the same processing as the conventional technology.

本発明の実施形態であるS/MIMEを用いて電子メールを送受信する機能を有するS/MIMEゲートウェイ装置20を備えたLANシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the LAN system provided with the S / MIME gateway apparatus 20 which has a function which transmits / receives an email using S / MIME which is embodiment of this invention. 図1のクライアントパーソナルコンピュータ30の構成を示すブロック図である。It is a block diagram which shows the structure of the client personal computer 30 of FIG. 図1のS/MIMEゲートウェイ装置20の構成を示すブロック図である。It is a block diagram which shows the structure of the S / MIME gateway apparatus 20 of FIG. 図1のメールサーバ装置40の構成を示すブロック図である。It is a block diagram which shows the structure of the mail server apparatus 40 of FIG. 図3のメール管理データベース8Bの内容の一例を示す表である。It is a table | surface which shows an example of the content of the mail management database 8B of FIG. 図3のS/MIMEゲートウェイ装置20の主制御部1によって実行される電子メール受信処理を示すフローチャートである。It is a flowchart which shows the email reception process performed by the main control part 1 of the S / MIME gateway apparatus 20 of FIG. 図3のS/MIMEゲートウェイ装置20の主制御部1によって実行される電子メール配信処理を示すフローチャートである。It is a flowchart which shows the electronic mail delivery process performed by the main control part 1 of the S / MIME gateway apparatus 20 of FIG.

符号の説明Explanation of symbols

1…主制御部、
6…ROM、
7…RAM、
8,8−1〜8−N…ユーザメールボックス、
8A…共通メールボックス、
8B…メール管理データベース、
9…CFメモリ、
12…LANインターフェース、
13…バス、
20…S/MIMEゲートウェイ装置、
30,30−1乃至30−N…クライアントパーソナルコンピュータ、
40…メールサーバ装置、
60…ルータ装置、
70…ローカルエリアネットワーク(LAN)、
90…インターネット。
1 ... main control part,
6 ... ROM,
7 ... RAM,
8, 8-1 to 8-N ... user mailbox,
8A ... Common mailbox,
8B ... Mail management database,
9 ... CF memory,
12 ... LAN interface,
13 ... Bus
20 ... S / MIME gateway device,
30, 30-1 thru | or 30-N ... client personal computer,
40. Mail server device,
60: Router device,
70: Local area network (LAN),
90 ... Internet.

Claims (2)

少なくとも1つのクライアント装置宛ての電子メールをメールサーバ装置から受信して記憶手段に格納するように制御する制御手段を備えたゲートウェイ装置において、
上記記憶手段は、上記各クライアント装置にそれぞれ対応する少なくとも1つのユーザメールボックスと、上記各ユーザメールボックスのサイズよりも大きなサイズを有する1つの共通メールボックスとを含み、
上記制御手段は、受信した電子メールのサイズが、上記受信した電子メールの宛先のクライアント装置に対応するユーザメールボックスのサイズ内であるとき、上記受信した電子メールを上記対応するユーザメールボックスに格納し、上記対応するユーザメールボックスのサイズより大きいとき、上記受信した電子メールを上記共通メールボックスに格納することを特徴とするゲートウェイ装置。
In a gateway device comprising control means for controlling to receive an e-mail addressed to at least one client device from a mail server device and store it in a storage means,
The storage means includes at least one user mailbox corresponding to each of the client devices, and one common mailbox having a size larger than the size of each user mailbox,
The control means stores the received e-mail in the corresponding user mailbox when the size of the received e-mail is within the size of the user mailbox corresponding to the destination client device of the received e-mail. When the size of the corresponding user mailbox is larger, the received electronic mail is stored in the common mailbox.
上記記憶手段は、上記格納された電子メールの宛先のクライアント装置を示す識別子の情報と、上記電子メールを格納した場所の情報とを保存するメール管理データベースをさらに含み、
上記制御手段は、上記クライアント装置の1つからメール受信要求信号を受信したとき、上記メール管理データベースの情報に基づいて、上記メール受信要求信号の送信元のクライアント装置を宛先とする格納された電子メールを読み出して配信することを特徴とする請求項1記載のゲートウェイ装置。
The storage means further includes a mail management database for storing information on an identifier indicating a client device of a destination of the stored electronic mail and information on a location where the electronic mail is stored,
When the control means receives a mail reception request signal from one of the client devices, the control means stores a stored electronic device addressed to the client device that is the transmission source of the mail reception request signal, based on information in the mail management database. The gateway device according to claim 1, wherein the mail is read and distributed.
JP2008098281A 2008-04-04 2008-04-04 Gateway device Expired - Fee Related JP4661898B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008098281A JP4661898B2 (en) 2008-04-04 2008-04-04 Gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008098281A JP4661898B2 (en) 2008-04-04 2008-04-04 Gateway device

Publications (2)

Publication Number Publication Date
JP2009253612A JP2009253612A (en) 2009-10-29
JP4661898B2 true JP4661898B2 (en) 2011-03-30

Family

ID=41313859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008098281A Expired - Fee Related JP4661898B2 (en) 2008-04-04 2008-04-04 Gateway device

Country Status (1)

Country Link
JP (1) JP4661898B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03135137A (en) * 1989-10-20 1991-06-10 Nec Corp Mail file control method
JPH05276191A (en) * 1992-01-29 1993-10-22 Fuji Xerox Co Ltd Message transfer system
JP2000092113A (en) * 1998-09-11 2000-03-31 Hitachi Information Systems Ltd Electronic mail system, electronic mail accumulation processing method and recording medium with program recorded therein
JP2001117830A (en) * 1999-10-18 2001-04-27 Ricoh Co Ltd Communication terminal device and its control method
JP2001318863A (en) * 2000-05-09 2001-11-16 Nec Shizuoka Ltd Communication terminal equipment
JP2006165684A (en) * 2004-12-02 2006-06-22 Murata Mach Ltd Mail server and program thereof
JP2006261991A (en) * 2005-03-16 2006-09-28 Fujitsu Ltd Mail server and mail server program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03135137A (en) * 1989-10-20 1991-06-10 Nec Corp Mail file control method
JPH05276191A (en) * 1992-01-29 1993-10-22 Fuji Xerox Co Ltd Message transfer system
JP2000092113A (en) * 1998-09-11 2000-03-31 Hitachi Information Systems Ltd Electronic mail system, electronic mail accumulation processing method and recording medium with program recorded therein
JP2001117830A (en) * 1999-10-18 2001-04-27 Ricoh Co Ltd Communication terminal device and its control method
JP2001318863A (en) * 2000-05-09 2001-11-16 Nec Shizuoka Ltd Communication terminal equipment
JP2006165684A (en) * 2004-12-02 2006-06-22 Murata Mach Ltd Mail server and program thereof
JP2006261991A (en) * 2005-03-16 2006-09-28 Fujitsu Ltd Mail server and mail server program

Also Published As

Publication number Publication date
JP2009253612A (en) 2009-10-29

Similar Documents

Publication Publication Date Title
JP4475343B2 (en) E-mail gateway device
US8458269B2 (en) Selection of email attachment storage location
JP2002024147A (en) System and method for secure mail proxy and recording medium
JP5161684B2 (en) E-mail encryption system and e-mail encryption program
US20120272339A1 (en) Method and system for accessing password-protected data on a device
JP2005107935A (en) Program for electronic mail processor, and electronic mail processor
JP2007324710A (en) Electronic mail communication system, electronic mail information encryption apparatus, and electronic mail transmission terminal
JP4763817B2 (en) System, server, method and computer program for relaying electronic mail
JP2009055155A (en) Gateway device
US9843563B2 (en) Securing relayed email communication
WO2013042412A1 (en) Communication system, communication method, and computer readable recording medium
JP4661898B2 (en) Gateway device
JP4640433B2 (en) E-mail receiver
JP7116972B1 (en) file transfer system
JP2016091132A (en) Information processing device, method for controlling information processing device, and program
JP5004859B2 (en) Mail transmission management server apparatus and method
JP4702393B2 (en) Gateway device
JP4661897B2 (en) Gateway device
JP2006268218A (en) Mail transmitter and mail transmitting method
JP2015207309A (en) Information processing device, information processing method and program
JP2006024058A (en) Computer program for managing document, and document management device and method
JP4706714B2 (en) E-mail gateway device
JPH11266279A (en) Electronic mail management system
JP4697255B2 (en) Gateway device
JP2008288747A (en) Gateway device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101119

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: 20101207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101220

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: 20140114

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees