JP4844527B2 - Communication system, information processing apparatus, and program - Google Patents
Communication system, information processing apparatus, and program Download PDFInfo
- Publication number
- JP4844527B2 JP4844527B2 JP2007258783A JP2007258783A JP4844527B2 JP 4844527 B2 JP4844527 B2 JP 4844527B2 JP 2007258783 A JP2007258783 A JP 2007258783A JP 2007258783 A JP2007258783 A JP 2007258783A JP 4844527 B2 JP4844527 B2 JP 4844527B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- relay
- transmission
- communication
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、メールサーバとして機能する複数のサーバ装置を備えた通信システムに関するものである。 The present invention relates to a communication system including a plurality of server devices that function as mail servers.
特許文献1には、プライベートIPアドレスのみを有する端末間でインターネット電話による通話を可能とするため、PhoneGateサーバを介して通話を行わせる技術が示されている。すなわち、このような状況では各端末から相手側端末へ直接アクセスすることができないので、各端末はそれぞれPhoneGateサーバに対して自己の通話データをアップロードする。これにより、PhoneGateサーバは、各端末において生成された通話データを取得し、各端末がPhoneGateサーバから通話データをダウンロードして再生することにより通話が成立する。
ところで、電子メールの送受信を行うメールサーバ間の通信においても、送信元のメールサーバから送信先のメールサーバへ直接アクセスすることができない状況が生じ得る。
しかしながら、前述した特許文献1に記載の構成はインターネット電話に関するものであり、各端末とPhoneGateサーバとが常時接続されていることが前提となるため、メールサーバのように必要時にのみ通信が行われる環境にそのまま適用することはできない。
By the way, even in communication between mail servers that perform transmission / reception of e-mails, a situation may occur in which direct access from the transmission source mail server to the transmission destination mail server is not possible.
However, the configuration described in Patent Document 1 described above relates to the Internet telephone, and since it is assumed that each terminal and the PhoneGate server are always connected, communication is performed only when necessary like a mail server. It cannot be applied directly to the environment.
本発明は、こうした問題にかんがみてなされたものであり、外部ネットワークからのアクセスが制限された状態にあるメールサーバに対して電子メールの送信を可能とすることを目的としている。 The present invention has been made in view of these problems, and an object of the present invention is to make it possible to send an electronic mail to a mail server in which access from an external network is restricted.
上記目的を達成するためになされた第1の構成の通信システムは、メールサーバとして機能する複数のサーバ装置と、サーバ装置間の通信を中継する中継装置とが、通信可能に構成されたものである。 The communication system of the first configuration made to achieve the above object is configured such that a plurality of server devices functioning as mail servers and a relay device that relays communication between server devices can communicate with each other. is there.
そして、サーバ装置は、中継装置に対して定期的に通信を行う定期通信手段と、他のサーバ装置へ電子メールを送信する場合に、中継装置に対して電子メールの中継を要求するメール送信手段とを備える。 Then, the server device periodically transmits communication means for periodically communicating with the relay device, and mail transmitting means for requesting the relay device to relay the electronic mail when transmitting the electronic mail to another server device. With.
また、中継装置は、サーバ装置から電子メールの中継を要求された場合に、要求元のサーバ装置による当該中継装置に対する通信と電子メールの送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように調整する調整手段と、調整手段により調整されたタイミングで、要求元のサーバ装置から送信されてきた電子メールを送信先のサーバ装置へ送信されるように中継する中継手段とを備える。 In addition, when the relay device is requested to relay an e-mail from the server device, the communication with the relay device by the requesting server device and the communication with the relay device by the server device to which the e-mail is transmitted overlap. Adjusting means for adjusting to be performed at the timing, and relay means for relaying the e-mail transmitted from the requesting server apparatus to the destination server apparatus at the timing adjusted by the adjusting means, Is provided.
このような通信システムによれば、NAT(Network Address Translation)やファイアウォール等によって外部ネットワークからのアクセスが制限された状態にあるサーバ装置に対しても電子メールを送信することができる。 According to such a communication system, an e-mail can be transmitted to a server apparatus in which access from an external network is restricted by a NAT (Network Address Translation), a firewall, or the like.
また、第2の構成の通信システムでは、調整手段は、サーバ装置から電子メールの中継を要求された場合に、送信先のサーバ装置が当該中継装置に対して定期的に行う通信のタイミングに合わせた送信タイミングを要求元のサーバ装置に通知し、メール送信手段は、中継装置から通知された送信タイミングで中継装置に対して電子メールを送信する。 Further, in the communication system having the second configuration , when the server device is requested to relay the e-mail, the adjustment unit matches the timing of communication that the destination server device periodically performs with respect to the relay device. The transmission timing is notified to the requesting server device, and the mail transmission means transmits an e-mail to the relay device at the transmission timing notified from the relay device.
このような通信システムによれば、送信先のサーバ装置が中継装置に対して定期的に行う通信をそのまま利用して、要求元のサーバ装置からの電子メールを送信先のサーバ装置へ中継することができる。 According to such a communication system, the e-mail from the request source server apparatus is relayed to the transmission destination server apparatus using the communication periodically performed by the transmission destination server apparatus to the relay apparatus as it is. Can do.
また、第3の構成の通信システムでは、メール送信手段は、送信時刻が指定された電子メールを他のサーバ装置へ送信する場合に、中継装置に対して送信時刻での電子メールの中継を要求し、調整手段は、サーバ装置から送信時刻での電子メールの中継を要求された場合には、送信先のサーバ装置が送信時刻に合わせたタイミングで当該中継装置に対して通信を行うように調整する。 In the communication system of the third configuration , the mail transmission means requests the relay device to relay the email at the transmission time when transmitting the email with the specified transmission time to another server device. Then, the adjustment means adjusts so that when the server device requests relay of the e-mail at the transmission time, the destination server device communicates with the relay device at a timing matched with the transmission time. To do.
このような通信システムによれば、要求元のサーバ装置からの電子メールを、指定された送信時刻に送信先のサーバ装置へ中継することができる。
また、第4の構成の通信システムでは、調整手段は、調整したタイミングで要求元のサーバ装置及び送信先のサーバ装置のうちの少なくとも一方から当該中継装置に対して通信が行われなかった場合には、要求元のサーバ装置による当該中継装置に対する通信と送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように再調整する。
According to such a communication system, an e-mail from a request source server device can be relayed to a destination server device at a specified transmission time.
Further, in the communication system of the fourth configuration , the adjustment unit is configured to communicate with the relay device from at least one of the request source server device and the transmission destination server device at the adjusted timing. The readjustment is performed so that the communication with the relay device by the requesting server device and the communication with the relay device by the destination server device are performed at overlapping timings.
このような通信システムによれば、何らかの原因で電子メールの中継ができなかった場合には再度中継を試みるため、一時的な原因で電子メールが送信されなくなってしまうことを防ぐことができる。 According to such a communication system, when the e-mail cannot be relayed for some reason, the e-mail is not transmitted due to a temporary cause because the relay is tried again.
次に、第5の構成の情報処理装置は、メールサーバとして機能する複数のサーバ装置と、サーバ装置間の通信を中継する中継装置とが、通信可能に構成された通信システムにおいてサーバ装置として用いられるものである。そして、この情報処理装置は、中継装置に対して定期的に通信を行う定期通信手段と、他のサーバ装置へ電子メールを送信する場合に、中継装置に対して電子メールの中継を要求するメール送信手段とを備える。 Next, an information processing apparatus having a fifth configuration is used as a server apparatus in a communication system configured such that a plurality of server apparatuses functioning as mail servers and a relay apparatus that relays communication between server apparatuses can communicate with each other. It is The information processing apparatus includes a periodic communication unit that periodically communicates with the relay apparatus, and a mail that requests the relay apparatus to relay the e-mail when the e-mail is transmitted to another server apparatus. Transmitting means.
このような情報処理装置によれば、第1の構成の通信システムを構築することができ、これにより前述した効果を得ることができる。
次に、第6の構成の情報処理装置は、メールサーバとして機能する複数のサーバ装置と、サーバ装置間の通信を中継する中継装置とが、通信可能に構成された通信システムにおいて中継装置として用いられるものである。そして、この情報処理装置は、サーバ装置から電子メールの中継を要求された場合に、要求元のサーバ装置による当該中継装置に対する通信と電子メールの送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように調整する調整手段と、調整手段により調整されたタイミングで、要求元のサーバ装置から送信されてきた電子メールを送信先のサーバ装置へ送信されるように中継する中継手段とを備える。
According to such an information processing apparatus, the communication system having the first configuration can be constructed, and thereby the above-described effects can be obtained.
Next, an information processing apparatus having a sixth configuration is used as a relay apparatus in a communication system in which a plurality of server apparatuses functioning as mail servers and a relay apparatus that relays communication between server apparatuses can communicate with each other. It is When the server device is requested to relay an email, the information processing device performs communication between the requesting server device to the relay device and communication between the email destination server device to the relay device. An adjustment unit that adjusts to be performed at an overlapping timing, and a relay that relays an e-mail transmitted from the request source server device to the destination server device at the timing adjusted by the adjustment unit Means.
このような情報処理装置によれば、第1の構成の通信システムを構築することができ、これにより前述した効果を得ることができる。
次に、第7の構成のプログラムは、メールサーバとして機能する複数のサーバ装置と、サーバ装置間の通信を中継する中継装置とが、通信可能に構成された通信システムにおけるサーバ装置としてコンピュータを機能させるためのものである。そして、このプログラムは、中継装置に対して定期的に通信を行う定期通信手段と、他のサーバ装置へ電子メールを送信する場合に、中継装置に対して電子メールの中継を要求するメール送信手段としてコンピュータを機能させる。
According to such an information processing apparatus, the communication system having the first configuration can be constructed, and thereby the above-described effects can be obtained.
Next, a program having a seventh configuration functions as a server device in a communication system in which a plurality of server devices functioning as mail servers and a relay device that relays communication between server devices are configured to communicate with each other. It is for making it happen. The program includes a periodic communication unit that periodically communicates with the relay device, and a mail transmission unit that requests the relay device to relay the e-mail when the e-mail is transmitted to another server device. As a computer to function.
このようなプログラムによれば、第5の構成の情報処理装置としてコンピュータを機能させることができ、これにより前述した効果を得ることができる。
次に、第8の構成のプログラムは、メールサーバとして機能する複数のサーバ装置と、サーバ装置間の通信を中継する中継装置とが、通信可能に構成された通信システムにおける中継装置としてコンピュータを機能させるためのものである。そして、このプログラムは、サーバ装置から電子メールの中継を要求された場合に、要求元のサーバ装置による当該中継装置に対する通信と電子メールの送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように調整する調整手段と、調整手段により調整されたタイミングで、要求元のサーバ装置から送信されてきた電子メールを送信先のサーバ装置へ送信されるように中継する中継手段としてコンピュータを機能させる。
According to such a program, it is possible to cause the computer to function as the information processing apparatus having the fifth configuration , thereby obtaining the effects described above.
Next, a program having an eighth configuration functions as a relay device in a communication system in which a plurality of server devices that function as mail servers and a relay device that relays communication between server devices can communicate with each other. It is for making it happen. In this program, when the server device requests relaying of the email, the communication to the relay device by the requesting server device and the communication to the relay device by the server device to which the email is transmitted are duplicated. As an adjustment unit that adjusts to be performed at the timing, and a relay unit that relays an e-mail transmitted from the request source server device to the destination server device at the timing adjusted by the adjustment unit Make the computer work.
このようなプログラムによれば、第6の構成の情報処理装置としてコンピュータを機能させることができ、これにより前述した効果を得ることができる。 According to such a program, it is possible to cause the computer to function as the information processing apparatus having the sixth configuration , thereby obtaining the effects described above.
以下、本発明が適用された実施形態について、図面を用いて説明する。
[1.全体構成]
図1は、実施形態の通信システムの概略構成を示すブロック図である。
Embodiments to which the present invention is applied will be described below with reference to the drawings.
[1. overall structure]
FIG. 1 is a block diagram illustrating a schematic configuration of a communication system according to an embodiment.
同図に示すように、この通信システムは、複数のメールサーバ10,10,…と、認証サーバ30とが、インターネット50を介してデータ通信可能に構成されたものである。
[1−1.通信システムにおけるメールサーバ及び認証サーバの役割]
ここで、まず、この通信システムにおけるメールサーバ10及び認証サーバ30の主な役割について簡単に説明する。なお、各内容の詳細については後述する。
As shown in the figure, this communication system is configured such that a plurality of
[1-1. Role of mail server and authentication server in communication system]
Here, first, main roles of the
<メールサーバの役割>
・正規のメールサーバであることを認証サーバ30に証明してもらうため、起動時に認証サーバ30へ問い合わせをする。
・認証サーバ30に対して定期的に問い合わせをする。
・他のメールサーバ10との間で電子メールを送受信する。
・メール送信時に認証サーバ30へ問い合わせをして、メール送信の許可をもらう。
・電子メールの予約送信(ユーザにより指定された送信時刻での送信)を行う。
<Role of mail server>
In order to have the
Inquires the
-Send and receive e-mail to and from
-Inquires the
-E-mail reservation transmission (transmission at the transmission time specified by the user).
<認証サーバの役割>
・メールサーバ10の認証を行う。そして、認証に合格したメールサーバ10のメール送信を許可し、不合格であるメールサーバ10のメール送信を禁止する。
・メールサーバ10のDNS(Domain Name System)解決を行う。すなわち、メールサーバ10は、他のメールサーバ10への電子メールの送信時に、送信先のIPアドレスを知るために認証サーバ30に問い合わせをする。なお、DNS解決に関する詳細な説明は省略する。
・送信側メールサーバ10と受信側メールサーバ10とが共に認証サーバ30にセッションを張っている状態で、送信側メールサーバ10からの電子メールを中継して受信側メールサーバ10へ送信する。具体的には、送信側メールサーバ10が受信側メールサーバ10へ電子メールを送信する際に、送信側メールサーバ10が認証サーバ30にDNS解決の問い合わせをしたら、送信側メールサーバ10に対して受信側メールサーバ10が次に認証サーバ30に問い合わせにくるタイミングに合わせて、認証サーバ30に問い合わせるように通知する。ただし、予約送信メールの場合には、受信側メールサーバ10の問い合わせ時刻を指定する。例えば、10時00分に送信予約された電子メールの場合、9時59分の問い合わせは不要であると判断して、10時00分に問い合わせにくるように次の問い合わせ時に指定する。
・送信側メールサーバ10及び受信側メールサーバ10のうちの少なくとも一方からの問い合わせが指定時刻にこなかった場合、問い合わせ時刻を再設定する。ただし、最初の指定時刻から一定時間が経過しても改善しなければ処理を終了する。
<Role of authentication server>
-Authentication of the
-DNS (Domain Name System) solution of the
In a state where both the transmission
If the inquiry from at least one of the transmission
[1−2.メールサーバの構成]
次に、メールサーバ10の構成について説明する。
この通信システムにおいて、各メールサーバ10は、一般家庭やSOHO(Small Office/ Home Office)等で構築される小規模ネットワーク(ローカルエリア)内に存在する比較的少数の端末装置(例えばパーソナルコンピュータ)のメールサーバとして機能する。本実施形態では、電話(音声通信)機能、スキャナ機能、プリンタ機能、コピー機能、インターネットファクシミリ機能等に加え、メールサーバ機能を有する複合機がメールサーバ10として用いられている。
[1-2. Mail server configuration]
Next, the configuration of the
In this communication system, each
図2は、複合機であるメールサーバ10の概略構成を示すブロック図である。
同図に示すように、メールサーバ10は、制御部11、音入力部15、音出力部16、通信部17、操作部18、表示部19、画像読取部20、画像印刷部21及び記憶部22を備えている。
FIG. 2 is a block diagram showing a schematic configuration of the
As shown in the figure, the
制御部11は、CPU12、ROM13、RAM14等からなるマイクロコンピュータを中心に構成されており、メールサーバ10を構成する各部を統括制御する。
音入力部15は、メールサーバ10が備える図示しないハンドセットに設けられたマイクから音を入力して制御部11へ出力する。
The
The
音出力部16は、制御部11からの指令に基づき、ハンドセットに設けられたスピーカやメールサーバ10が備える図示しないスピーカから音を出力する。
通信部17は、通信ケーブル(LANケーブル)が接続された状態でその通信ケーブルを介したデータの送受信処理を行う。つまり、外部装置との間でデータ通信を行うためのものであり、例えば、LAN内の端末装置(図示せず)や、インターネット50を介して接続された他のメールサーバ10や認証サーバ30との間でデータ通信が可能となっている。
The
The communication unit 17 performs data transmission / reception processing via the communication cable in a state where the communication cable (LAN cable) is connected. That is, for data communication with an external device, for example, with a terminal device (not shown) in the LAN,
操作部18は、ユーザからの外部操作による指令を入力するためのものであり、各種操作ボタン(図示せず)を備えている。そして、操作部18は、操作ボタンで行われた外部操作の内容を制御部11へ出力する。
The operation unit 18 is for inputting a command by an external operation from the user, and includes various operation buttons (not shown). Then, the operation unit 18 outputs the content of the external operation performed with the operation button to the
表示部19は、ユーザに対して各種情報を表示するためのものであり、液晶ディスプレイ(図示せず)を備えている。そして、表示部19は、制御部11からの指令に基づき、メッセージや画像等の情報を表示する。
The display unit 19 is for displaying various types of information to the user, and includes a liquid crystal display (not shown). And the display part 19 displays information, such as a message and an image, based on the instruction | command from the
画像読取部(スキャナ)20は、制御部11からの指令に基づき、所定の原稿読取位置にセットされた原稿の画像を読み取り、この画像を表す画像データを生成する。
画像印刷部(プリンタ)21は、制御部11からの指令に基づき、用紙等の印刷媒体にカラー画像を印刷する。なお、画像印刷部21により印刷される画像としては、例えば、画像読取部20により読み取られた画像、ファクシミリ機能により受信した画像、端末装置等の外部装置から受信した画像などが挙げられる。
The image reading unit (scanner) 20 reads an image of a document set at a predetermined document reading position based on a command from the
The image printing unit (printer) 21 prints a color image on a printing medium such as paper based on a command from the
記憶部22は、図示しないハードディスクや記憶情報の書換えが不可能なメモリ等に各種データを記憶する。具体的には、後述する処理(図8〜図10)をCPU12に実行させるためのプログラムがハードディスクに記憶されている。また、記憶情報の書換えが不可能なメモリには、各メールサーバ10に固有の情報としてID(メールサーバ10の識別情報であり、例えば製造番号やMACアドレス)及びパスワードがあらかじめ記憶されている。このうち、少なくともパスワードは、メールサーバ10の外部からは読み出すことができないようになっている。
The
[1−3.認証サーバの構成]
次に、認証サーバ30の構成について説明する。
図3は、認証サーバ30の概略構成を示すブロック図である。
[1-3. Configuration of authentication server]
Next, the configuration of the
FIG. 3 is a block diagram illustrating a schematic configuration of the
同図に示すように、認証サーバ30は、制御部31、通信部35及び記憶部36を備えている。
制御部31は、CPU32、ROM33、RAM34等からなるマイクロコンピュータを中心に構成されており、認証サーバ30を構成する各部を統括制御する。
As shown in the figure, the
The
通信部35は、インターネット50を介したデータの送受信処理を行う。
記憶部36は、図示しないハードディスクや記憶情報の書換えが不可能なメモリ等に各種データを記憶する。具体的には、後述する処理(図11〜図13)をCPU12に実行させるためのプログラムがハードディスクに記憶されている。
The
The
また、記憶情報の書換えが不可能なメモリには、当該認証サーバ30が管理対象とする複数のメールサーバ10の情報として、各メールサーバ10のID及びパスワード(各メールサーバ10に記憶されているID及びパスワードと同一の情報)があらかじめ記憶されている。本実施形態では、前述したようにメールサーバ機能を有する複合機がメールサーバ10として用いられており、こうしたメールサーバ10が認証サーバ30の管理対象となっている。具体的には、例えば、メールサーバ(複合機)10の販売メーカが運営する認証サーバ30により各メールサーバ10の情報を管理するといったケースが考えられる。
Further, in the memory in which stored information cannot be rewritten, the ID and password of each mail server 10 (stored in each
さらに、記憶部36のハードディスク(記憶情報の書換えが可能な記憶手段)には、管理対象のメールサーバ10に関する情報を登録して管理するためのデータベースである登録サーバデータベース(登録サーバDB)が記憶されている。
Furthermore, a registration server database (registration server DB), which is a database for registering and managing information related to the
この登録サーバデータベースは、管理対象のメールサーバ10のうち、信頼できる(例えば、迷惑メールを送信しない)メールサーバ10のみを登録するためのものである。具体的には、認証サーバ30は、管理対象のメールサーバ10からの登録要求を受けることにより、そのメールサーバ10に関する情報(サーバ情報)を登録サーバデータベースに登録する。その後に、登録サーバデータベースにサーバ情報が登録されているメールサーバ10が迷惑メールを送信したことが判明した場合には、そのメールサーバ10のサーバ情報を登録サーバデータベースから削除する。具体的には、迷惑メールを受信したメールサーバ10からの通知に基づき自動的に削除したり、認証サーバ30の管理者が人為的に削除したりすることで実現することができる。
This registration server database is for registering only the
なお、サーバ情報には、メールサーバ10のIDやIPアドレスなどが含まれる。
[2.通信システムで実現される処理]
次に、本実施形態の通信システムで実現される処理について説明する。
The server information includes the ID and IP address of the
[2. Processing realized in communication system]
Next, processing realized by the communication system of this embodiment will be described.
前述したように、この通信システムにおいて、各メールサーバ10は、一般家庭やSOHO等で構築される小規模ネットワーク内に存在する比較的少数の端末装置のメールサーバとして機能する。このようなメールサーバ10には、グローバルIPアドレスではなくプライベートIPアドレスが用いられるとともに、NATやファイアウォール等によって外部ネットワークからのアクセスが制限された状態にあることが考えられる。この場合、電子メールの送信元のメールサーバ(以下「送信側メールサーバ」ともいう。)10から、電子メールの送信先のメールサーバ(以下「受信側メールサーバ」ともいう。)10へ直接セッションを張ることができない。そこで、本実施形態の通信システムでは、このような環境においてもメールサーバ10同士の電子メールの送受信を行うことができるようにしている。
As described above, in this communication system, each
ここで、この通信システムで行われるメール送受信処理の概要について説明する。
[2−1.メール送受信処理例(1)]
まず、送信側メールサーバ10から受信側メールサーバ10へセッションを張ることができる場合であって、送信側メールサーバ10が予約送信メールでない通常の電子メールを送信するときのメール送受信処理について、図4を用いて説明する。
Here, an outline of mail transmission / reception processing performed in the communication system will be described.
[2-1. Email transmission / reception processing example (1)]
First, a mail transmission / reception process when a session can be established from the sending
電子メールを送信しようとする送信側メールサーバ10は、認証サーバに対して認証要求(電子メールの送信要求)を行う。すると、認証サーバ30は、送信側メールサーバ10に対して認証OKの認証結果を送信する。
The sending
そして、認証サーバ30は、送信側メールサーバ10に対して送信許可を通知する。これにより、送信側メールサーバ10は、受信側メールサーバ10へ電子メールを直接送信し、受信側メールサーバ10がその電子メールを受信する。
Then, the
[2−2.メール送受信処理例(2)]
次に、送信側メールサーバ10から受信側メールサーバ10へセッションを張ることができる場合であって、送信側メールサーバ10が予約送信メールを送信するときのメール送受信処理について、図5を用いて説明する。
[2-2. Email transmission / reception processing example (2)]
Next, a mail transmission / reception process when a session can be established from the transmission
電子メールを送信しようとする送信側メールサーバ10は、認証サーバに対して認証要求(電子メールの送信要求)を行う。すると、認証サーバ30は、送信側メールサーバ10に対して認証OKの認証結果を送信する。
The sending
その後、予約送信メールで指定された送信時刻になると、認証サーバ30は、送信側メールサーバ10に対して送信許可を通知する。これにより、送信側メールサーバ10は、受信側メールサーバ10へ電子メールを直接送信し、受信側メールサーバ10がその電子メールを受信する。
Thereafter, when the transmission time specified by the reserved transmission mail comes, the
[2−3.メール送受信処理例(3)]
次に、送信側メールサーバ10から受信側メールサーバ10へセッションを張ることができない場合であって、送信側メールサーバ10が予約送信メールでない通常の電子メールを送信するときのメール送受信処理について、図6を用いて説明する。
[2-3. Email transmission / reception processing example (3)]
Next, regarding a mail transmission / reception process when a session cannot be established from the sending
電子メールを送信しようとする送信側メールサーバ10は、認証サーバに対して認証要求(電子メールの送信要求)を行う。すると、認証サーバ30は、送信側メールサーバ10に対して認証OKの認証結果を送信する。
The sending
そして、認証サーバ30は、受信側メールサーバ10からの問い合わせ時刻に合わせた送信時刻を送信側メールサーバ10に対して指定する。この結果、送信側メールサーバ10と受信側メールサーバ10とが同時期に認証サーバ30へセッションを張るようにすることができ、その際に、送信側メールサーバ10が送信した電子メールを認証サーバ30が中継して受信側メールサーバ10に受信させることができる。
Then, the
[2−4.メール送受信処理例(4)]
次に、送信側メールサーバ10から受信側メールサーバ10へセッションを張ることができない場合であって、送信側メールサーバ10が予約送信メールを送信するときのメール送受信処理について、図7を用いて説明する。
[2-4. Email transmission / reception processing example (4)]
Next, a mail transmission / reception process when the transmission
電子メールを送信しようとする送信側メールサーバ10は、認証サーバに対して認証要求(電子メールの送信要求)を行う。すると、認証サーバ30は、送信側メールサーバ10に対して認証OKの認証結果を送信する。
The sending
そして、送信側メールサーバ10は、予約送信メールで指定された送信時刻を認証サーバ30に対して指定する。認証サーバ30は、受信側メールサーバ10からの問い合わせ時に、その送信時刻にセッションを張るように受信側メールサーバ10に対して通知する。この結果、送信側メールサーバ10と受信側メールサーバ10とが同時期に認証サーバ30へセッションを張るようにすることができ、その際に、送信側メールサーバ10が送信した電子メールを認証サーバ30が中継して受信側メールサーバ10に受信させることができる。
Then, the transmission
[3.制御部が実行する処理]
次に、本実施形態の通信システムにおいてメールサーバ10及び認証サーバ30が実行する処理の具体的内容について説明する。
[3. Processing executed by control unit]
Next, the specific content of the process which the
[3−1.登録要求処理]
まず、メールサーバ10のCPU12が実行する登録要求処理について、図8のフローチャートを用いて説明する。なお、この登録要求処理は、メールサーバ10の起動時に開始される。
[3-1. Registration request processing]
First, registration request processing executed by the
CPU12は、登録要求処理を開始すると、まず、S101で、認証サーバ30へセッションを張る処理を行う。
続いて、S102では、自身のサーバ情報を登録サーバデータベースに登録することの要求である登録要求を認証サーバ30に対して行う。このとき、自身のIDを認証サーバ30へ送信する。これにより、認証サーバ30は、後述する登録処理(図11)を開始する。
When starting the registration request process, the
Subsequently, in S102, a registration request, which is a request for registering its own server information in the registration server database, is made to the
続いて、S103では、認証サーバ30との間で、チャレンジ/レスポンス方式の認証処理を行う。具体的には、認証サーバ30は、登録要求元のメールサーバ10へチャレンジコードを送信する。すると、登録要求元のメールサーバ10は、受信したチャレンジコードとあらかじめ記憶しているパスワードとを特定のアルゴリズムに従い合成してレスポンスを作成し、認証サーバ30へ送信する。また、認証サーバ30においても、送信したチャレンジコードとあらかじめ記憶しているそのメールサーバ10のパスワードとから同じようにレスポンスを作成し、そのメールサーバ10から受信したレスポンスと比較して一致していれば認証OK(成功)とする。
Subsequently, in S103, challenge / response authentication processing is performed with the
続いて、S104では、自身のサーバ情報が登録サーバデータベースに登録されたか否かを判定する。具体的には、認証サーバ30から登録OK情報が送信されてきた場合には登録されたと判定し、エラー情報が送信されてきた場合には登録されなかったと判定する。なお、登録OK情報やエラー情報は、後述する登録処理(図11)におけるS404,S405の処理に基づき送信される。
Subsequently, in S104, it is determined whether or not its own server information is registered in the registration server database. Specifically, when registration OK information is transmitted from the
そして、S104で、自身のサーバ情報が登録サーバデータベースに登録されなかったと判定した場合には、S105へ移行し、エラーメッセージを表示部19に表示する等のエラー処理を行う。その後、S106へ移行する。 If it is determined in S104 that the server information is not registered in the registered server database, the process proceeds to S105, and error processing such as displaying an error message on the display unit 19 is performed. Thereafter, the process proceeds to S106.
一方、S104で、自身のサーバ情報が登録サーバデータベースに登録されたと判定した場合には、そのままS106へ移行する。
S106では、認証サーバ30とのセッションを切断する処理を行う。その後、本登録要求処理を終了する。
On the other hand, if it is determined in S104 that its own server information is registered in the registration server database, the process proceeds to S106 as it is.
In S106, processing for disconnecting the session with the
このように、各メールサーバ10は、起動時に認証サーバ30に対して登録要求を行うことにより、自身のサーバ情報を登録サーバデータベースに登録する。これにより、認証サーバ30においては、他のメールサーバ10からの要求に対する名前解決が可能となる。つまり、メールサーバ10は、起動時の認証によって電子メールの受信が可能となる。
Thus, each
[3−2.問い合わせ処理]
次に、メールサーバ10のCPU12が実行する問い合わせ処理について、図9のフローチャートを用いて説明する。なお、この問い合わせ処理は、メールサーバ10の起動時に開始され、後述するように、問い合わせタイミングが到来するごとに(S201:YES)、S202〜S209の処理が行われる。
[3-2. Inquiry processing]
Next, inquiry processing executed by the
CPU12は、問い合わせ処理を開始すると、まず、S201で、認証サーバ30に問い合わせをするタイミングが到来したか否かを判定し、問い合わせをするタイミングが到来したと判定した場合にS202へ移行する。なお、問い合わせをするタイミングは、例えば前回の通信から一定時間後とすることや、所定時刻ごととすることなどが考えられる。
When starting the inquiry process, the
S202では、認証サーバ30へセッションを張る処理を行う。
続いて、S203では、認証サーバ30からセッション時刻の通知を受けたか否かを判定する。なお、セッション時刻の通知は、後述するメール送信処理(図12)におけるS512,S519の処理に基づき行われる。
In S202, a process for establishing a session to the
Subsequently, in S203, it is determined whether or not a session time notification is received from the
そして、S203で、認証サーバ30からセッション時刻の通知を受けたと判定した場合には、S204へ移行し、通知を受けたセッション時刻に認証サーバ30に問い合わせをするように、問い合わせのタイミング(問い合わせ予定時刻)を調整する。その後、S205へ移行する。
If it is determined in S203 that a session time notification has been received from the
一方、S203で、認証サーバ30からセッション時刻の通知を受けなかったと判定した場合には、そのままS205へ移行する。
S205では、電子メール(認証サーバ30により中継された送信側メールサーバ10からの電子メール)を受信したか否かを判定する。なお、電子メールは、後述するメール送信処理(図12)におけるS517の処理に基づき送信される。
On the other hand, if it is determined in S203 that the notification of the session time has not been received from the
In S205, it is determined whether or not an e-mail (e-mail from the sending
そして、S205で、電子メールを受信したと判定した場合には、S206へ移行し、電子メールの受信処理を行う。その後、S207へ移行する。
一方、S205で、電子メールを受信しなかったと判定した場合には、そのままS207へ移行する。
If it is determined in S205 that an e-mail has been received, the process proceeds to S206, and an e-mail receiving process is performed. Thereafter, the process proceeds to S207.
On the other hand, if it is determined in S205 that no e-mail has been received, the process proceeds to S207.
S207では、その他の情報(セッション時刻の通知及び受信メール以外の情報)を受信したか否かを判定する。
そして、S207で、その他の情報を受信したと判定した場合には、S208へ移行し、受信した情報に応じた処理を行う。その後、S209へ移行する。
In S207, it is determined whether or not other information (information other than the session time notification and received mail) has been received.
If it is determined in step S207 that other information has been received, the process proceeds to step S208, and processing corresponding to the received information is performed. Thereafter, the process proceeds to S209.
一方、S207で、その他の情報についても受信しなかったと判定した場合には、そのままS209へ移行する。
S209では、認証サーバ30とのセッションを切断する処理を行う。その後、S201へ戻る。
On the other hand, if it is determined in S207 that no other information has been received, the process proceeds to S209.
In S209, a process for disconnecting the session with the
[3−3.送信要求処理]
次に、メールサーバ10のCPU12が実行する送信要求処理について、図10のフローチャートを用いて説明する。なお、この送信要求処理は、他のメールサーバ10に対して電子メールの送信を行う場合に開始される。
[3-3. Send request processing]
Next, transmission request processing executed by the
CPU12は、送信要求処理を開始すると、まず、S301で、認証サーバ30へセッションを張る処理を行う。
続いて、S302では、他のメールサーバ10への電子メールの送信要求(中継要求)である送信要求(認証要求でもある。)を認証サーバ30に対して行う。これにより、認証サーバ30は、後述するメール送信処理(図12)を開始する。なお、送信する電子メールが予約メール(送信時刻が指定された電子メール)の場合には、指定された送信時刻での送信を要求することになる。
When starting the transmission request process, the
Subsequently, in S <b> 302, a transmission request (also an authentication request), which is an e-mail transmission request (relay request) to another
続いて、S303では、認証サーバ30との間で、前述したチャレンジ/レスポンス方式の認証処理を行う。
続いて、S304では、認証処理の結果、認証OKとされたか否かを判定する。具体的には、認証サーバ30から認証OKの認証結果が送信されてきた場合には認証OKとされたと判定し、認証拒否の認証結果が送信されてきた場合には認証OKとされなかったと判定する。なお、この認証結果は、後述するメール送信処理(図12)におけるS503,S509の処理に基づき送信される。
Subsequently, in S303, the above-described challenge / response authentication process is performed with the
Subsequently, in S304, it is determined whether or not the authentication is successful as a result of the authentication process. Specifically, when an authentication OK authentication result is transmitted from the
そして、S304で、認証OKとされたと判定した場合には、S305へ移行し、当該メールサーバ(送信側メールサーバ)10が、受信側メールサーバ10へ直接セッションを張ることができるか否かを判定する。具体的には、認証サーバ30からセッションを張ることができる旨の判定結果が送信されてきた場合にはセッションを張ることができると判定し、セッションを張ることができない旨の判定結果が送信されてきた場合にはセッションを張ることができないと判定する。なお、この判定結果は、後述するメール送信処理(図12)におけるS505,S510の処理に基づき送信される。
If it is determined in S304 that the authentication is OK, the process proceeds to S305, and whether or not the mail server (transmitting mail server) 10 can directly establish a session with the receiving
そして、S305で、受信側メールサーバ10へ直接セッションを張ることができると判定した場合には、S306へ移行し、送信しようとする電子メールが予約送信メールであるか否かを判定する。
If it is determined in S305 that a session can be established directly to the receiving
そして、S306で、送信しようとする電子メールが予約送信メールであると判定した場合には、S307へ移行し、認証サーバ30とのセッションを切断する処理を行う。
続いて、S308では、指定された送信時刻に認証サーバ30へセッションを張る処理を行った後、認証要求を行う。その後、S309へ移行する。
If it is determined in S306 that the e-mail to be transmitted is a reserved transmission e-mail, the process proceeds to S307 and a process for disconnecting the session with the
Subsequently, in S308, an authentication request is made after a process of establishing a session to the
一方、S306で、送信しようとする電子メールが予約送信メールでないと判定した場合には、そのままS309へ移行する。
S309では、認証サーバ30から送信許可通知を受けたか否かを判定する。なお、送信許可通知は、後述するメール送信処理(図12)におけるS508の処理に基づき送信される。
On the other hand, if it is determined in S306 that the electronic mail to be transmitted is not a reserved transmission mail, the process proceeds to S309 as it is.
In S309, it is determined whether or not a transmission permission notification is received from the
そして、S309で、認証サーバ30から送信許可通知を受けたと判定した場合には、S310へ移行し、電子メールを受信側メールサーバ10へ直接送信する。これにより、受信側メールサーバ10で電子メールが受信される。その後、S312へ移行する。
If it is determined in S309 that a transmission permission notification has been received from the
一方、S304で認証OKとされなかったと判定した場合や、S309で送信許可通知を受けなかったと判定した場合には、S311へ移行し、エラーメッセージを表示部19に表示する等のエラー処理を行う。その後、S312へ移行する。 On the other hand, if it is determined in S304 that the authentication is not successful, or if it is determined in S309 that the transmission permission notification has not been received, the process proceeds to S311 and error processing such as displaying an error message on the display unit 19 is performed. . Thereafter, the process proceeds to S312.
S312では、認証サーバ30とのセッションを切断する処理を行う。その後、本送信要求処理を終了する。
一方、前述したS305で、受信側メールサーバ10へ直接セッションを張ることができないと判定した場合には、S313へ移行し、認証サーバ30からセッション時刻の通知を受ける。なお、ここでのセッション時刻の通知は、後述するメール送信処理(図12)におけるS512,S513の処理に基づき行われる。
In step S312, a process for disconnecting the session with the
On the other hand, if it is determined in S305 that it is not possible to establish a direct session with the receiving
続いて、S314では、認証サーバ30とのセッションを切断する処理を行う。
続いて、S315では、通知されたセッション時刻に認証サーバ30へセッションを張る処理を行う。
Subsequently, in S314, a process for disconnecting the session with the
Subsequently, in S315, a process for establishing a session to the
続いて、S316では、認証サーバ30から送信許可通知を受けたか否かを判定する。なお、送信許可通知は、認証サーバ30において送信側メールサーバ10から受信側メールサーバ10への電子メールの中継が可能な状態となった場合に、後述するメール送信処理(図12)におけるS516の処理に基づき送信される。
Subsequently, in S316, it is determined whether or not a transmission permission notification is received from the
そして、S316で、認証サーバ30から送信許可通知を受けたと判定した場合には、S317へ移行し、電子メールを認証サーバ30へ送信する。これにより、電子メールが認証サーバ30により中継されて受信側メールサーバ10で受信される。その後、S312へ移行して認証サーバ30とのセッションを切断する処理を行った後、本送信要求処理を終了する。
If it is determined in S316 that a transmission permission notification has been received from the
一方、S316で、認証サーバ30から送信許可通知を受けなかったと判定した場合には、S318へ移行し、認証サーバ30からセッション時刻の通知を受けたか否かを判定する。なお、ここでのセッション時刻の通知は、認証サーバ30において電子メールの中継が可能な状態とすることができず、中継のリトライを行う場合に、後述するメール送信処理(図12)におけるS519の処理に基づき行われる。
On the other hand, if it is determined in S316 that the transmission permission notification has not been received from the
そして、S318で、認証サーバ30からセッション時刻の通知を受けたと判定した場合には、S314へ戻る。つまり、いったんセッションを切断し、新たに通知されたセッション時刻に再度セッションを張る処理を行う。
If it is determined in S318 that the session time has been received from the
一方、S318で、認証サーバ30からセッション時刻の通知を受けなかったと判定した場合には、S319へ移行し、認証サーバ30からエラー通知を受けたか否かを判定する。なお、エラー通知は、一定時間リトライを行ってもなお電子メールの中継が可能な状態とすることができなかった場合に、後述するメール送信処理(図12)におけるS520の処理に基づき行われる。
On the other hand, if it is determined in S318 that the notification of the session time has not been received from the
そして、S319で、認証サーバ30からエラー通知を受けていないと判定した場合には、S316へ戻る。
一方、S319で、認証サーバ30からエラー通知を受けたと判定した場合には、S320へ移行し、エラーメッセージを表示部19に表示する等のエラー処理を行う。その後、S312へ移行して認証サーバ30とのセッションを切断する処理を行った後、本送信要求処理を終了する。
If it is determined in S319 that no error notification has been received from the
On the other hand, if it is determined in S319 that an error notification has been received from the
[3−4.登録処理]
次に、メールサーバ10から登録要求を受けた場合に認証サーバ30のCPU32が実行する登録処理について、図11のフローチャートを用いて説明する。なお、登録要求は、前述した登録要求処理(図8)におけるS102の処理に基づき、登録要求元のメールサーバ10のIDとともに送信されてくる。
[3-4. registration process]
Next, registration processing executed by the
CPU32は、登録処理を開始すると、まず、S401で、登録要求元のメールサーバ10との間で、前述したチャレンジ/レスポンス方式の認証処理を行う。また、登録要求元のメールサーバ10が管理対象のものであること(管理対象のメールサーバ10の情報としてあらかじめ記憶しているIDの中に、登録要求元のメールサーバ10から受信したIDが含まれていること)を確認する。
When starting the registration process, the
続いて、S402では、認証処理の結果、認証OKであるか否かを判定する。
そして、S402で、認証OKであると判定した場合には、S403へ移行し、登録要求元のメールサーバ10のサーバ情報を登録サーバデータベースに登録する。
Subsequently, in S402, it is determined whether or not the authentication is successful as a result of the authentication process.
If it is determined in S402 that the authentication is OK, the process proceeds to S403, and the server information of the
続いて、S404では、サーバ情報を登録サーバデータベースに登録したことを表す登録OK情報をメールサーバ10へ送信する。その後、本登録処理を終了する。
一方、S402で、認証OKでないと判定した場合には、S405へ移行し、サーバ情報を登録サーバデータベースに登録しなかったことを表すエラー情報をメールサーバ10へ送信する。その後、本登録処理を終了する。
In step S404, registration OK information indicating that the server information is registered in the registration server database is transmitted to the
On the other hand, if it is determined in S402 that the authentication is not OK, the process proceeds to S405, and error information indicating that the server information has not been registered in the registration server database is transmitted to the
[3−5.メール送信処理]
次に、メールサーバ10から送信要求を受けた場合に認証サーバ30のCPU32が実行するメール送信処理について、図12のフローチャートを用いて説明する。なお、送信要求は、前述した送信要求処理(図10)におけるS302の処理に基づき行われる。
[3-5. Mail sending process]
Next, a mail transmission process executed by the
CPU32は、メール送信処理を開始すると、まず、S501で、送信要求元のメールサーバ(送信側メールサーバ)10との間で、前述したチャレンジ/レスポンス方式の認証処理を行う。さらに、送信側メールサーバ10のサーバ情報が登録サーバデータベースに登録されていることを確認する。
When starting the mail transmission process, the
なお、送信側メールサーバ10の認証は、基本的には起動時における認証結果が認証OKであれば送信時にも認証OKとなるが、起動後に不正な行為(迷惑メールの送信等)を行ったような場合には認証OKとならない。すなわち、認証サーバ30は、各メールサーバ10のメール送信状況を把握しているため、不正な行為を検知することが可能であり、不正な行為が判明した場合には、そのメールサーバ10のサーバ情報を登録サーバデータベースから削除する。
It should be noted that the authentication of the sending
続いて、S502では、認証処理の結果、認証OKとするか否かを判定する。
そして、S502で、認証OKとすると判定した場合には、S503へ移行し、認証OKの認証結果を送信側メールサーバ10へ送信する。
Subsequently, in S502, it is determined whether or not authentication is OK as a result of the authentication process.
If it is determined in S502 that the authentication is OK, the process proceeds to S503, and the authentication OK authentication result is transmitted to the transmission
続いて、S504では、送信側メールサーバ10が電子メールの送信先のメールサーバ(受信側メールサーバ)10へ直接セッションを張ることができるか否かを判定する。なお、認証サーバ30は、認証処理において、メールサーバ10へセッションを張ることができるか否かの情報(IPアドレスやUPnPの対応、ファイアウォールの有無、NATやルータのポートの開放状態など)と、メールサーバ10を名前解決するための情報(IPや電子メールアドレスなど)を送信側メールサーバ10から受け取る。そして、送信側メールサーバ10の情報と受信側メールサーバ10の同様の情報とに基づき、送信側メールサーバ10から受信側メールサーバ10へセッションを張ることができるかどうかを判定する。例えば、送信先のメールサーバ10のファイアウォールの設定が、送信側メールサーバ10からのアクセスを受け入れるように設定されている場合や、送信先のメールサーバ10が存在するLANに接続されたルータのポートが開放され、外部からのアクセスが可能に設定されている場合などには、送信側メールサーバ10から受信側メールサーバ10へセッションを張ることができると判定される。また、送信側メールサーバ10の送信しようとする電子メールが予約送信である場合は、予約送信であるという情報と予約送信時刻とを送信側メールサーバ10から受け取る。
Subsequently, in S504, it is determined whether or not the transmission
そして、S504で、送信側メールサーバ10が受信側メールサーバ10へ直接セッションを張ることができると判定した場合には、S505へ移行し、S504での判定結果を送信側メールサーバ10に対して通知する。
If it is determined in S504 that the sending
続いて、S506では、送信側メールサーバ10の送信しようとする電子メールが予約送信メールであるか否かを判定する。
そして、S506で、予約送信メールであると判定した場合には、S507へ移行し、予約送信メールで指定された送信時刻に送信側メールサーバ10から認証要求を受けたか否かを判定する。つまり、予約送信メールの場合には、指定された送信時刻が到来した後に送信側メールサーバ10を再度認証するようにしている。
Subsequently, in S506, it is determined whether or not the electronic mail to be transmitted by the transmission
If it is determined in S506 that the mail is a reserved transmission mail, the process proceeds to S507, and it is determined whether an authentication request has been received from the transmission
そして、S507で、指定された送信時刻に送信側メールサーバ10から認証要求を受けたと判定した場合には、S508へ移行する。
一方、S506で、予約送信メールでないと判定した場合には、そのままS508へ移行する。
If it is determined in S507 that an authentication request has been received from the sending
On the other hand, if it is determined in S506 that the mail is not a reserved transmission mail, the process proceeds to S508 as it is.
S508では、送信側メールサーバ10に対して送信許可を通知する。その後、本メール送信処理を終了する。これにより、送信側メールサーバ10は、受信側メールサーバ10へ電子メールを直接送信する。
In step S508, the transmission
一方、S502で認証OKとしないと判定した場合や、S507で送信時刻に送信側メールサーバ10から認証要求を受けなかったと判定した場合には、S509へ移行し、認証拒否を送信側メールサーバ10に対して通知する。その後、本メール送信処理を終了する。
On the other hand, if it is determined in step S502 that the authentication is not OK, or if it is determined in step S507 that an authentication request has not been received from the transmission
また、前述したS504で、送信側メールサーバ10が受信側メールサーバ10へ直接セッションを張ることができないと判定した場合には、S510へ移行し、S504での判定結果を送信側メールサーバ10に対して通知する。
If it is determined in S504 that the sending
続いて、S511では、送信側メールサーバ10の送信しようとする電子メールが予約送信メールであるか否かを判定する。
そして、S511で、予約送信メールであると判定した場合には、S512へ移行し、送信側メールサーバ10及び受信側メールサーバ10に対しセッション時刻を通知するための通知処理を行う。これにより、通知したセッション時刻に送信側メールサーバ10及び受信側メールサーバ10からセッションが張られることになる。その後、S514へ移行する。なお、通知処理の具体的な内容については後述する(図13)。
Subsequently, in S511, it is determined whether or not the e-mail to be transmitted by the transmission
If it is determined in S511 that it is a reserved transmission mail, the process proceeds to S512, and a notification process for notifying the transmission
一方、S511で、予約送信メールでないと判定した場合には、S513へ移行し、受信側メールサーバ10からの問い合わせ時刻に合わせたセッション時刻を送信側メールサーバ10に対して通知する。これにより、受信側メールサーバ10からの問い合わせ時刻に合わせたタイミングで送信側メールサーバ10からセッションが張られることになる。その後、S514へ移行する。
On the other hand, if it is determined in S511 that the mail is not a reserved transmission mail, the process proceeds to S513, and the transmission
S514では、セッション時刻に送信側メールサーバ10からセッションが張られたか否かを判定する。
そして、S514で、送信側メールサーバ10からセッションが張られたと判定した場合には、S515へ移行し、セッション時刻に受信側メールサーバ10からセッションが張られたか否かを判定する。
In S514, it is determined whether or not a session is established from the sending
If it is determined in S514 that a session is established from the sending
そして、S515で、受信側メールサーバ10からセッションが張られたと判定した場合(つまり、送信側メールサーバ10から受信側メールサーバ10への電子メールの中継が可能な状態となった場合)には、S516へ移行し、送信許可通知を送信側メールサーバ10へ送信する。これにより、送信側メールサーバ10から電子メールが送信されてくる。
In S515, when it is determined that a session is established from the receiving mail server 10 (that is, when it becomes possible to relay an e-mail from the sending
続いて、S517では、送信側メールサーバ10から送信されてきた電子メールを受信側メールサーバ10へ送信する処理(電子メールの中継処理)を行う。その後、本メール送信処理を終了する。
Subsequently, in S517, a process of transmitting the e-mail transmitted from the transmitting
一方、S514で送信側メールサーバ10からセッションが張られなかったと判定した場合や、S515で受信側メールサーバ10からセッションが張られなかったと判定した場合には、S518へ移行し、最初の指定時間から一定時間が経過しているか否かを判定する。
On the other hand, if it is determined in S514 that a session is not established from the sending
そして、S518で、最初の指定時間から一定時間が経過していないと判定した場合には、S519へ移行し、送信側メールサーバ10及び受信側メールサーバ10に対し新たなセッション時刻を通知するための通知処理(図13)を行った後、S514へ戻る。つまり、セッション時間を再設定する。これにより、通知したセッション時刻に送信側メールサーバ10及び受信側メールサーバ10からセッションが張られることになる。
If it is determined in S518 that the fixed time has not elapsed since the first designated time, the process proceeds to S519 to notify the sending
一方、S518で、最初の指定時間から一定時間が経過していると判定した場合には、S520へ移行し、送信側メールサーバ10及び受信側メールサーバ10に対しエラーを通知するための通知処理(図13)を行った後、本メール送信処理を終了する。つまり、最初の指定時間から一定時間が経過しても(セッション時刻の再設定を行っても)、セッション時刻に送信側メールサーバ10及び受信側メールサーバ10のうちの少なくとも一方からセッションが張られない場合には、本メール送信処理を終了するようにしている。
On the other hand, if it is determined in S518 that the predetermined time has elapsed since the first designated time, the process proceeds to S520, and a notification process for notifying the transmission
[3−6.通知処理]
次に、前述したメール送信処理(図12)におけるS512,S519,S520で実行される通知処理について、図13のフローチャートを用いて説明する。なお、この通知処理において「ステータス」とは、S512,S519の処理においてはセッション時刻のことであり、S520の処理においてはエラー情報のことである。
[3-6. Notification processing]
Next, the notification process executed in S512, S519, and S520 in the above-described mail transmission process (FIG. 12) will be described with reference to the flowchart of FIG. In this notification process, “status” refers to the session time in the processes of S512 and S519, and error information in the process of S520.
CPU32は、通知処理を開始すると、まず、S601で、当該認証サーバ30が、受信側メールサーバ10にアクセス可能であるか否かを判定する。
そして、S601で、受信側メールサーバ10にアクセス可能であると判定した場合には、S602へ移行し、受信側メールサーバ10に対してステータスを通知する。その後、S604へ移行する。
When starting the notification process, the
If it is determined in S601 that the receiving
一方、S601で、受信側メールサーバ10にアクセス可能でないと判定した場合には、S603へ移行し、受信側メールサーバ10からの問い合わせ時に受信側メールサーバ10に対してステータスを通知する。その後、S604へ移行する。
On the other hand, when it is determined in S601 that the receiving
S604では、当該認証サーバ30が、送信側メールサーバ10にアクセス可能であるか否かを判定する。
そして、S604で、送信側メールサーバ10にアクセス可能であると判定した場合には、S605へ移行し、送信側メールサーバ10に対してステータスを通知する。その後、本通知処理を終了する。
In S <b> 604, the
If it is determined in S604 that the transmission
一方、S604で、送信側メールサーバ10にアクセス可能でないと判定した場合には、S606へ移行し、送信側メールサーバ10からの問い合わせ時に送信側メールサーバ10に対してステータスを通知する。その後、本通知処理を終了する。
On the other hand, if it is determined in S604 that the transmission
[4.効果]
以上説明したように、本実施形態の通信システムにおいて、メールサーバ10は、認証サーバ30に対して定期的に通信を行う(図9)。また、メールサーバ10は、他のメールサーバ10へ電子メールを送信する場合に、認証サーバ30に対して電子メールの中継を要求する(図10)。
[4. effect]
As described above, in the communication system of the present embodiment, the
一方、認証サーバ30は、メールサーバ10から電子メールの中継を要求された場合に、要求元のメールサーバ(送信側メールサーバ)10による当該認証サーバ30に対する通信と電子メールの送信先のメールサーバ(受信側メールサーバ)10による当該認証サーバ30に対する通信とが重複したタイミングで行われるように調整する(S511〜S513)。そして、調整したタイミングで、送信側メールサーバ10から送信されてきた電子メールを受信側メールサーバ10へ送信されるように中継する(S516,S517)。
On the other hand, the
このような通信システムによれば、NAT等によって外部ネットワークからのアクセスが制限された状態にあるメールサーバ10に対しても電子メールを送信することができる。
According to such a communication system, an e-mail can be transmitted to the
また、認証サーバ30は、メールサーバ10から中継を要求された電子メールが予約送信メールでなければ(S511:NO)、受信側メールサーバ10が当該認証サーバ30に対して定期的に行う通信のタイミングに合わせたセッション時刻を送信側メールサーバ10に通知する(S513)。このため、受信側メールサーバ10が認証サーバ30に対して定期的に行う通信をそのまま利用して、送信側メールサーバ10からの電子メールを受信側メールサーバ10へ中継することができる。
In addition, if the e-mail requested to be relayed from the
一方、認証サーバ30は、メールサーバ10から中継を要求された電子メールが予約送信メールであれば(S511:YES)、受信側メールサーバ10が予約メール指定の送信時刻に合わせたタイミングで当該認証サーバ30に対して通信を行うように調整する(S512)。このため、送信側メールサーバ10からの電子メールを、指定された送信時刻に受信側メールサーバ10へ中継することができる。
On the other hand, if the e-mail requested to be relayed from the
また、認証サーバ30は、調整したタイミングで送信側メールサーバ10及び受信側メールサーバ10のうちの少なくとも一方から当該認証サーバ30に対して通信が行われなかった場合には(S514:NO,S515:NO)、送信側メールサーバ10による当該認証サーバ30に対する通信と受信側メールサーバ10による当該認証サーバ30に対する通信とが重複したタイミングで行われるように再調整する(S519)。このため、何らかの原因で電子メールの中継ができなかった場合には再度中継を試みることとなり、一時的な原因で電子メールが送信されなくなってしまうことを防ぐことができる。
Further, the
[5.特許請求の範囲との対応]
なお、本実施形態の通信システムでは、メールサーバ10が、サーバ装置に相当し、問い合わせ処理(図9)を実行するメールサーバ10のCPU12が、定期通信手段に相当し、送信要求処理(図10)を実行するメールサーバ10のCPU12が、メール送信手段に相当する。
[5. Correspondence with Claims]
In the communication system of this embodiment, the
また、認証サーバ30が、中継装置に相当し、メール送信処理(図12)におけるS511〜S515,S519の処理を実行する認証サーバ30のCPU32が、調整手段に相当し、S516,S517の処理を実行する認証サーバ30のCPU32が、中継手段に相当する。
Further, the
[6.他の形態]
以上、本発明の一実施形態について説明したが、本発明は、種々の形態を採り得ることは言うまでもない。
[6. Other forms]
As mentioned above, although one Embodiment of this invention was described, it cannot be overemphasized that this invention can take a various form.
例えば、上記実施形態では、本発明の中継装置として認証サーバ30を例示したが、メールサーバ10の数が多くなった場合に認証サーバ30の負荷が大きくなるため、メールサーバ10に電子メールの中継を行わせるようにしてもよい。具体的には、例えば、グローバルIPアドレスを持ちかつ外部ネットワークからのアクセスが制限されていない特定のメールサーバ10をリレーノードとして機能させ、そのリレーノードが上記実施形態の認証サーバ30と同様の役割を果たすようにする。このようにすれば、リレーノードの数を調整することで、メールサーバ10の増加に対するスケーラビリティを保つことができる。また、送信側メールサーバ10や受信側メールサーバ10がリレーノードにアクセスできない場合には、認証サーバ30に接続不可であることを通知し、認証サーバ30に別のリレーノードを用意させるようにするといったことも可能となる。
For example, in the above embodiment, the
また、登録サーバデータベースに記憶される各メールサーバ10のID及びパスワードは、上記実施形態のように各メールサーバ10にあらかじめ記憶されているものであってもよいし、メールサーバ10の管理者によってメールサーバ10に設定されたものであってもよい。
Further, the ID and password of each
さらに、認証サーバ30は、図12のS512,S513及びS519の処理において受信側メールサーバ10又は送信側メールサーバ10に対してセッション時刻を通知したことを条件として、そのセッション時刻に先にセッションが張られた受信側メールサーバ10又は送信側メールサーバ10に対して所定時間セッションを張らせたまま待機させるように指示を出すとよい。このようにすれば、受信側メールサーバ10が計時する時刻と送信側メールサーバ10が計時する時刻との間に多少のズレが生じていた場合にも、前記所定時間内のズレであれば認証サーバ30によるメールの中継が可能となる。
Furthermore, on the condition that the
10…メールサーバ、11…制御部、12…CPU、13…ROM、14…RAM、15…音入力部、16…音出力部、17…通信部、18…操作部、19…表示部、20…画像読取部、21…画像印刷部、22…記憶部、30…認証サーバ、31…制御部、32…CPU、33…ROM、34…RAM、35…通信部、36…記憶部、50…インターネット
DESCRIPTION OF
Claims (8)
前記サーバ装置は、
前記中継装置に対して定期的に通信を行う定期通信手段と、
他のサーバ装置へ電子メールを送信する場合に、前記中継装置に対して電子メールの中継を要求するメール送信手段と、を備え、
前記中継装置は、
前記サーバ装置から電子メールの中継を要求された場合に、要求元のサーバ装置による当該中継装置に対する通信と電子メールの送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように調整する調整手段と、
前記調整手段により調整されたタイミングで、前記要求元のサーバ装置から送信されてきた電子メールを前記送信先のサーバ装置へ送信されるように中継する中継手段と、を備えること
を特徴とする通信システム。 A plurality of server devices functioning as mail servers and a relay device that relays communication between the server devices are communication systems configured to be communicable,
The server device
Periodic communication means for periodically communicating with the relay device;
A mail transmitting means for requesting the relay device to relay an email when sending an email to another server device;
The relay device is
When the server device requests relaying of the e-mail, the communication to the relay device by the requesting server device and the communication to the relay device by the server device to which the e-mail is transmitted are performed at an overlapping timing. Adjusting means for adjusting to
Relaying means for relaying an e-mail transmitted from the requesting server apparatus so as to be transmitted to the destination server apparatus at a timing adjusted by the adjusting means. system.
前記メール送信手段は、前記中継装置から通知された前記送信タイミングで前記中継装置に対して電子メールを送信すること
を特徴とする請求項1に記載の通信システム。 When the server device is requested to relay an email, the adjustment unit sets a transmission timing corresponding to a communication timing periodically performed by the transmission destination server device to the relay device. Notify the server device,
The communication system according to claim 1, wherein the mail transmission unit transmits an electronic mail to the relay apparatus at the transmission timing notified from the relay apparatus.
前記調整手段は、前記サーバ装置から前記送信時刻での電子メールの中継を要求された場合には、前記送信先のサーバ装置が前記送信時刻に合わせたタイミングで当該中継装置に対して通信を行うように調整すること
を特徴とする請求項1又は請求項2に記載の通信システム。 The mail transmission means requests the relay device to relay an email at the transmission time when transmitting an email with a specified transmission time to another server device,
When the server device is requested to relay the e-mail at the transmission time, the adjustment device communicates with the relay device at a timing that matches the transmission time of the server device at the transmission destination. The communication system according to claim 1, wherein the communication system is adjusted as follows.
を特徴とする請求項1から請求項3までのいずれか1項に記載の通信システム。 The adjustment unit, when communication is not performed from at least one of the request source server device and the transmission destination server device to the relay device at the adjusted timing, the request source server device 4. The readjustment is performed so that the communication with the relay device by the server and the communication with the relay device by the destination server device are performed at overlapping timings. 5. The communication system according to 1.
前記中継装置に対して定期的に通信を行う定期通信手段と、
他のサーバ装置へ電子メールを送信する場合に、前記中継装置に対して電子メールの中継を要求するメール送信手段と、
を備え、
前記メール送信手段は、前記中継装置に対して電子メールの中継を要求した場合に、前記中継装置により調整されたタイミングであって、前記サーバ装置による前記中継装置に対する通信と電子メールの送信先のサーバ装置による前記中継装置に対する通信とが重複する前記タイミングで、前記中継装置に対して電子メールを送信することを特徴とする情報処理装置。 A plurality of server devices that function as mail servers and a relay device that relays communication between the server devices are information processing devices used as the server devices in a communication system configured to be communicable,
Periodic communication means for periodically communicating with the relay device;
A mail transmission means for requesting the relay device to relay an email when sending an email to another server device;
Equipped with a,
The mail transmission means is a timing adjusted by the relay device when the relay device requests relay of the electronic mail, and the server device communicates with the relay device and the destination of the electronic mail. in the timing of communication and overlap with respect to the relay device by the server apparatus, the information processing apparatus characterized that you send e-mail to the relay device.
前記サーバ装置から電子メールの中継を要求された場合に、要求元のサーバ装置による当該中継装置に対する通信と電子メールの送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように調整する調整手段と、
前記調整手段により調整されたタイミングで、前記要求元のサーバ装置から送信されてきた電子メールを前記送信先のサーバ装置へ送信されるように中継する中継手段と、
を備えることを特徴とする情報処理装置。 A plurality of server devices functioning as mail servers and a relay device that relays communication between the server devices are information processing devices used as the relay device in a communication system configured to be communicable,
When the server device requests relaying of the e-mail, the communication to the relay device by the requesting server device and the communication to the relay device by the server device to which the e-mail is transmitted are performed at an overlapping timing. Adjusting means for adjusting to
Relay means for relaying an e-mail transmitted from the requesting server apparatus to be transmitted to the destination server apparatus at a timing adjusted by the adjusting means;
An information processing apparatus comprising:
前記中継装置に対して定期的に通信を行う定期通信手段と、
他のサーバ装置へ電子メールを送信する場合に、前記中継装置に対して電子メールの中継を要求するメール送信手段
としてコンピュータを機能させ、
前記メール送信手段は、前記中継装置に対して電子メールの中継を要求した場合に、前記中継装置により調整されたタイミングであって、前記サーバ装置による前記中継装置に対する通信と電子メールの送信先のサーバ装置による前記中継装置に対する通信とが重複する前記タイミングで、前記中継装置に対して電子メールを送信することを特徴とするプログラム。 A plurality of server devices functioning as mail servers and a relay device that relays communication between the server devices are programs for causing a computer to function as the server device in a communication system configured to be communicable,
Periodic communication means for periodically communicating with the relay device;
When sending an e-mail to another server device, the computer functions as a mail sending means for requesting the relay device to relay the e-mail ,
The mail transmission means is a timing adjusted by the relay device when the relay device requests relay of the electronic mail, and the server device communicates with the relay device and the destination of the electronic mail. in the timing of communication and overlap with respect to the relay device by the server apparatus, the program characterized that you send e-mail to the relay device.
前記サーバ装置から電子メールの中継を要求された場合に、要求元のサーバ装置による当該中継装置に対する通信と電子メールの送信先のサーバ装置による当該中継装置に対する通信とが重複したタイミングで行われるように調整する調整手段と、
前記調整手段により調整されたタイミングで、前記要求元のサーバ装置から送信されてきた電子メールを前記送信先のサーバ装置へ送信されるように中継する中継手段
としてコンピュータを機能させることを特徴とするプログラム。 A plurality of server devices functioning as mail servers and a relay device that relays communication between the server devices are programs for causing a computer to function as the relay device in a communication system configured to be communicable,
When the server device requests relaying of the e-mail, the communication to the relay device by the requesting server device and the communication to the relay device by the server device to which the e-mail is transmitted are performed at an overlapping timing. Adjusting means for adjusting to
The computer is caused to function as a relay unit that relays an e-mail transmitted from the request source server device to be transmitted to the destination server device at a timing adjusted by the adjustment unit. program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007258783A JP4844527B2 (en) | 2007-10-02 | 2007-10-02 | Communication system, information processing apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007258783A JP4844527B2 (en) | 2007-10-02 | 2007-10-02 | Communication system, information processing apparatus, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009089238A JP2009089238A (en) | 2009-04-23 |
JP4844527B2 true JP4844527B2 (en) | 2011-12-28 |
Family
ID=40661993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007258783A Expired - Fee Related JP4844527B2 (en) | 2007-10-02 | 2007-10-02 | Communication system, information processing apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4844527B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005073051A (en) * | 2003-08-26 | 2005-03-17 | Sharp Corp | Repeater and its relay program |
JP3962071B2 (en) * | 2005-09-15 | 2007-08-22 | 株式会社エヌ・ティ・ティ・ドコモ | Server and mail transmission / reception device |
-
2007
- 2007-10-02 JP JP2007258783A patent/JP4844527B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009089238A (en) | 2009-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8060611B2 (en) | Content providing system for enabling a user to change destination of contents | |
WO2015015994A1 (en) | Image-forming apparatus, image-forming apparatus remote system, and method for remotely displaying operation screen of image-forming apparatus | |
JP2011029820A (en) | Information processing apparatus, control method of the information processing apparatus, and control program for the information processing apparatus | |
US20090033985A1 (en) | Mobile device, printer server and private network system, and methods to receive fax data thereby | |
JP2014195215A (en) | Radio communication equipment | |
JP2008097470A (en) | Management system and relay server | |
JP2004046298A (en) | Image processor | |
JP2008028472A (en) | Fax gateway apparatus | |
JP2016099843A (en) | Communication system, communication method, device with gateway function, and program | |
JP2005057549A (en) | Mfp system, server, remote operating method, and program | |
JP5120405B2 (en) | E-mail communication apparatus and computer program | |
JP6361424B2 (en) | Facsimile device, program, and communication server | |
JP4844527B2 (en) | Communication system, information processing apparatus, and program | |
JP2008257484A (en) | Mail monitoring method and communication device with mail monitoring function | |
JP2011029821A (en) | Information processing apparatus, control method of the information processing apparatus, and control program for the information processing apparatus | |
JP5070139B2 (en) | Communication relay device, communication system, communication method, and program | |
JP2008205617A (en) | Communicating method and image communication device | |
JP4561387B2 (en) | E-mail communication device | |
JP2012151788A (en) | Communication terminal device and image forming device | |
KR101906429B1 (en) | Method and Apparatus of issuing an Email account | |
JP5321030B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP2004234292A (en) | Communication system | |
JP5272625B2 (en) | Incoming data notification system, network device, and incoming data notification method | |
US9294632B2 (en) | Mobile terminal and computer-readable recording medium for a mobile terminal using near field wireless communication to transmit a scan command to a scanning device | |
JP4262589B2 (en) | Facsimile apparatus, communication system, transmission method, and transmission program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100202 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110609 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110621 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110809 |
|
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: 20110913 |
|
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: 20110926 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141021 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4844527 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |