JP2004064103A - Electronic mail transfer method, electronic mail transfer program, and electronic mail transfer server - Google Patents
Electronic mail transfer method, electronic mail transfer program, and electronic mail transfer server Download PDFInfo
- Publication number
- JP2004064103A JP2004064103A JP2002215383A JP2002215383A JP2004064103A JP 2004064103 A JP2004064103 A JP 2004064103A JP 2002215383 A JP2002215383 A JP 2002215383A JP 2002215383 A JP2002215383 A JP 2002215383A JP 2004064103 A JP2004064103 A JP 2004064103A
- Authority
- JP
- Japan
- Prior art keywords
- server
- transfer
- recipient
- destination domain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、電子メールを転送する電子メール転送方法及び電子メール転送プログラム並びに電子メール転送サーバに関するものである。
【0002】
【従来の技術】
周知の通り、異機種電話機(携帯電話機,PHS )間、異なる電話会社の電話機間、これらの電話機(ここでいう電話機とはインターネットに接続でき、電子メールの送受信機能を備えた家庭用電話機、携帯電話機及びPHS を含む。)とパーソナルコンピュータ(以下、単に「PC」ともいう。)間での電子メール利用者が増大し、これに伴い、これらの電話機やPCに対してさまざまな情報配信サービスを行う企業が多数参入している。
【0003】
電子メールの送受信には一般にSMTP(Simple Mail Transfer Protocol )が用いられており、電子メールアドレスを所有する電子メールクライアントが、電話機やPC(以下、総称して単に「端末」ともいう。)にインストールされているメーラにより電子メールを作成し、該電子メールを送信すれば、一旦、前記電子メールアドレスの管轄メールサーバへ送信されて該メールサーバのスプール領域に格納される。管轄メールサーバでは、スプール領域に集められた電子メールを一通ずつ取り出して受取人の電子メールアドレス(受取人メールアドレス)に含まれる「@」の右側にある宛て先ドメイン情報により、該ドメイン情報が自分自身を指していれば、当該電子メールを「@」の左側にあるユーザ情報が指定するメールボックスへ配信し、ドメイン情報が自分自身を指していなければ、DNS サーバに対して宛て先の所在を問い合わせ、取得できたグローバルIPアドレスに基づき前記電子メールを転送し、前記ドメイン情報のグローバルIPアドレスを取得できない場合には、ユーザに対して送信された電子メールは送れない旨の通知を行う。
【0004】
グローバルIPアドレスを取得できた宛て先ドメインの電子メールは、管轄メールサーバが送信側メールサーバとなってグローバルIPアドレスを指定して25番ポートから受信側メールサーバの25番ポートへ接続を試み、接続に失敗した場合には転送しようとした前記電子メールをスプール領域へ戻し、接続に成功して送信側メールサーバと受信側メールサーバとの間でコネクションをはることができた場合には、通信手法RFC821番の手順に基づいて電子メールを送信する。即ち、送信側メールサーバのSMTP(送信側SMTP)と受信側メールサーバのSMTP(受信側SMTP)との間で送信側メールサーバは受信側メールサーバに対して送信の開始を知らせる「HELO」コマンドを送信し、「HELO」コマンドを受信した受信側メールサーバはリクエストされたコマンドの正常終了を知らせる応答コード「250 」を送信し、送信側メールサーバは応答コード「250 」を受信した後に電子メールの差出人メールアドレスを通知するコマンド「MAIL FROM: <差出人メールアドレス> 」を送信し、受信側メールサーバから応答コード「250 」を受信した後に電子メールの受取人メールアドレスを通知するコマンド「RCPT TO: <受取人メールアドレス> 」を送信する。「RCPT TO: <受取人メールアドレス> 」コマンドを受信した受信側メールサーバは、「受取人メールアドレス」に含まれる「@」の右側にあるドメイン情報を取り出し、該ドメイン情報が自分自身を指している場合において「@」の左側にあるユーザ情報が受け取り拒否リストに登録されている場合、又は、ドメイン情報が自分自身を指していない場合においてDNS サーバへの宛て先所在の問い合わせの結果、前記ドメイン情報のグローバルIPアドレスを取得できなかった場合には、送信側メールサーバに対してエラーコードを送信し、配信及び転送が可能な場合には前記応答コード「250 」を送信する。応答コード「250 」を受信した送信側メールサーバは本文データ(本文情報)の送信開始を通知する「DATA」コマンドを送信し、受信側メールサーバからの本文データの入力を開始する応答コード「354 Start mail input: end with <CRLF> .<CRLF> 」を受信した後に電子メールの本文データとその終了を知らせる「 <CRLF> .<CRLF> 」とを送信し、受信側メールサーバから応答コード「250 」を受信した後に送信終了を通知する「QUIT」コマンドを送信する。受信側メールサーバが「QUIT」コマンドに対してコネクションのクローズを知らせる応答コード「221 」を送信側メールサーバに送信することにより、送信側メールサーバと受信側メールサーバとの間にはられているコネクションが解かれる。
【0005】
そして、ドメイン情報が自分自身を指していない電子メールを受信した受信側メールサーバは自分自身が中継サーバ(送信側メールサーバ)となって、該中継サーバと、該電子メールの宛て先ドメインのメールサーバ、或いは次の中継サーバである受信側メールサーバとの間での転送チャンネル(コマンド、応答、メールテキストを交換するための送信側SMTPと受信側SMTPとの間の通信経路)によって電子メールを転送するようになっている。
【0006】
【発明が解決しようとする課題】
電子メールの送受信が可能な電話機の普及により、各個人のプライベートメールの増加は勿論のこと、端末に向けて送信される各種お知らせや広告等の同報メールが増加の一途をたどっており、当該電子メールは、送信側メールサーバの25番ポートから受信側メールサーバの25番ポートにコネクションをはって接続した上で前記通信手法に基づき送信側メールサーバのSMTPと受信側メールサーバのSMTPとの間で送受信されるので、これらの電子メールを頻繁に受け取る受信側メールサーバにおいては、稼働負荷が著しく増大し、これにより、該受信側メールサーバまでの経路帯域が圧迫されて接続を確立することができないという現象が起こっている。
【0007】
即ち、受信側メールサーバにおいては、電子メールの受信数に比例して受信処理そのものに負荷が掛かり、前記同報メールのような途切れることなく電子メールを送信してくる送信側メールサーバの接続要求に対応できない状態が発生し、また、接続開始時の前記通信手法の手続きにおいて別の送信側メールサーバによる接続要求等が割り込めば、その間における電子メールの送信が留保されるために、これによる電子メールの遅延や配信・転送不可が発生している。
【0008】
また、送信側メールサーバにおいては、該送信側メールサーバが中継サーバとなって受信した電子メールを受信側メールサーバへ転送する処理の外、該送信側メールサーバが管轄する電子メールクライアントからの電子メール送信依頼に応答し、更には、他の送信側メールサーバからの転送メールを受信側メールサーバとして受け取って電子メールクライアントのメールボックスへ配信する処理を行っているが、電子メールクライアントからの電子メール送信依頼が頻繁に発生すれば、受信側メールサーバとの間で接続開始後の保持そのものに失敗して無応答状態になり、この無応答による電子メールの送信不可に対しては、電子メールアドレスが存在しないこと等による電子メールクライアントへの通知処理とは異なり、基本的には4時間毎に5日間に渡って接続に成功するまで送信処理が実行されるので、同報メールのような大量の電子メールにおいて受信側メールサーバとの間で接続できない状態が発生した場合には、大量のメールデータが成功するまで5日間の間、送信処理が繰り返されることが、インターネット網において渋滞を引き起こす原因になっている。また、結果として転送できなったかった電子メールは前記同報メールにおいては送信者へ集中して通知されることになり、管轄メールサーバのスプール領域の容量を越え、高負荷になって処理できない状態が発生している。
【0009】
さらに、ネットワーク全体では、インターネット網における渋滞により、メールサーバに接続できない現象が頻発して電子メールの特性である迅速に送り届け、確実に受け取るという特徴が生かせないという状態が発生している。
【0010】
そこで、本発明者は、受信側メールサーバが高負荷状態であっても該受信側メールサーバに負担を掛けることなく接続することができると共に、接続を保持することができ、更には、大量の電子メールを送信する際にも接続処理を減らしてネットワーク負荷を軽減することができる電子メール転送手段を提供することを技術的課題として、その具現化をはかるべく研究・実験を重ねた結果、インターネット層に位置するIP(Internet Protocol )によってネットワーク上の受信側メールサーバが特定され、トランスポート層に位置するTCP (Transmission Control Protocol )によって送信側メールサーバの25番ポートから受信側メールサーバの25番ポートに対してコネクションをはるための問い合わせを行って送信側メールサーバの25番ポートと受信側メールサーバの25番ポートとの間でコネクションが確立した後、トランスポート層の上位層であるアプリケーション層へ処理を渡す際にTCP ヘッダーのポート番号により通信プロトコルを判別して25番ポートを使用するSMTPへデータを渡しているため、受信側メールサーバの25番ポートが高負荷により接続不可能な状態になっていれば、コネクションを確立することができず、コネクションを確立できても受信側メールサーバのSMTPが高負荷状態で無応答の状態になるという現状分析に基づき、電子メールを転送する際に、送信側メールサーバのリモートポートから電子メールの宛て先ドメインの受信側メールサーバに対して直接コネクションをはるための問い合わせを行い、中継サーバの転送チャンネルを介さないで送信側メールサーバのリモートポートと受信側メールサーバのリモートポートとの間で直接コネクションを確立した後に、受信側メールサーバにおけるSMTPへデータを渡すようにすれば、送信側メールサーバの25番ポートと受信側メールサーバの25番ポート間ではコネクションをはらないから、受信側メールサーバの25番ポートが高負荷な状態であっても容易に受信側メールサーバに接続することができ、また、受信側メールサーバのリモートポートから25番ポートのSMTPへデータを渡すことにより、結果として受信側メールサーバは25番ポートが窓口となるが、送信側メールサーバは25番ポートではないから、受信側メールサーバのSMTPは送信側メールサーバのSMTPから影響を受けないので、受信側メールサーバに対して負担を掛けることなく接続を保持することができるという刮目すべき知見と、転送する電子メールを同一の宛て先ドメイン毎に纏めた後に同様の方法により該宛て先ドメインの受信側メールサーバに直接接続し、コネクションを確立した状態で各電子メールが該宛て先ドメインの受信側メールサーバにおいて配信可能であるか否かを判断して続けて受信側メールサーバが受け取る電子メールのみを送信するようにすれば、大量の電子メールを送信する場合にも接続処理を減らすことができるから、ネットワーク負荷を軽減することができるという刮目すべき知見とを得、前記技術的課題を達成したものである。
【0011】
【課題を解決するための手段】
前記技術的課題は、次の通りの本発明によって解決できる。
【0012】
即ち、本発明に係る電子メール転送方法は、転送サーバが、送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信するものである。
【0013】
また、本発明に係る電子メール転送方法は、転送サーバが、同じ本文情報を持つ送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信するものである。
【0014】
また、本発明に係る電子メール転送方法は、転送サーバが、インターネットを介して受信した送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信し、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信するものである。
【0015】
また、本発明に係る電子メール転送方法は、転送サーバが、インターネットを介して受信した同じ本文情報となっている送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続けてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信し、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信するものである。
【0016】
また、本発明に係る電子メール転送方法は、転送サーバが、同じ本文情報となっている送信待機中の複数の電子メールの該本文情報からなる一つの本文ファイルと当該各電子メールの受取人メールアドレスを同じ宛て先ドメイン毎に纏めてなる一つのヘッダーファイルとを持つ一通の転送用電子メールを作成して当該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接接続して前記受取人メールアドレスのメールボックスに前記本文情報を配信可能であるか否かを判断して配信可能な受取人メールアドレスに対してのみ転送用電子メールの前記本文情報を直接送信するものである。
【0017】
また、本発明は、同じ本文情報となっている送信待機中の複数の電子メールにおける前記いずれかの電子メール転送方法において、送信待機中の複数の電子メールが各本文情報の共通する文章位置のみ異なる文言となっている同報メールであって、該共通する文章位置の該文言を同じ代用文字に置き換えて同じ本文情報となっているものである。
【0018】
また、本発明に係る電子メール転送プログラムは、転送サーバに、送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバへ直接送信させるステップとを含んでなるものである。
【0019】
また、本発明に係る電子メール転送プログラムは、転送サーバに、同じ本文情報を持つ送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバへ直接送信させるステップとを含んでなるものである。
【0020】
また、本発明に係る電子メール転送プログラムは、転送サーバに、インターネットを介して受信した送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバへ直接送信させるステップと、転送サーバに、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信させるステップとを含んでなるものである。
【0021】
また、本発明に係る電子メール転送プログラムは、転送サーバに、インターネットを介して受信して同じ本文情報となっている送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信させるステップと、転送サーバに、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信させるステップとを含んでなるものである。
【0022】
また、本発明は、前記電子メール転送プログラムにおいて、送信待機中の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた際に、二つ以上の宛て先ドメイン名が存在する場合には、当該電子メール転送プログラム自身が該宛て先ドメイン名の数より一つ少ない数だけ複写されて当該電子メール転送プログラム自身による転送サーバによって接続されるメールサーバの宛て先ドメインを除いた残りの異なる宛て先ドメインのメールサーバは複写されたコピー電子メール転送プログラムによる転送サーバによって接続するようになっているものである。
【0023】
また、本発明に係る電子メール転送プログラムは、転送サーバに、同じ本文情報となっている送信待機中の複数の電子メールの該本文情報からなる一つの本文ファイルと当該各電子メールの受取人メールアドレスを同じ宛て先ドメイン毎に纏めてなる一つのヘッダーファイルとを持つ一通の転送用電子メールを作成させるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、前記受取人メールアドレスのメールボックスに前記本文情報を配信可能であるか否かを判断させるステップと、転送サーバに、配信可能な受取人メールアドレスに対してのみ転送用電子メールの前記本文情報を直接送信させるステップとを含んでなるものである。
【0024】
また、本発明は、同じ本文情報となっている送信待機中の複数の電子メールにおける前記いずれかの電子メール転送プログラムにおいて、送信待機中の複数の電子メールが各本文情報の共通する文章位置のみ異なる文言となっている同報メールであって、該共通する文章位置の該文言を同じ代用文字に置き換えて同じ本文情報となっているものである。
【0025】
また、本発明に係る電子メール転送プログラムは、転送サーバが送信待機中の複数の電子メールを同一差出人毎に分類するステップと、転送サーバが同一差出人毎に分類された複数の電子メールを同じ本文情報の同一本文毎に分類するステップと、転送サーバが同一本文毎に分類された前記電子メールにおける受取人メールアドレスを該各電子メールのヘッダーファイルから取り出して同一の宛て先ドメイン毎に纏めた一つのヘッダーファイルと前記同じ本文情報の本文ファイルとからなる一つの転送用電子メールを作成するステップと、転送サーバが該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接接続して前記各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断するステップと、転送サーバがメールボックスの存在する受取人メールアドレスに対してのみ転送用電子メールの前記本文情報を該宛て先ドメインのメールサーバに直接送信するステップと、転送サーバがメールボックスの存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信するステップとを含んでなるものである。
【0026】
また、本発明は、転送用電子メールを作成する前記電子メール転送プログラムにおいて、転送用電子メールを作成した後、該転送用電子メールのヘッダーファイルの受取人メールアドレスに二つ以上の宛て先ドメイン名が存在する場合には、当該電子メール転送プログラム自身が該宛て先ドメイン名の数より一つ少ない数だけ複写されて当該電子メール転送プログラム自身による転送サーバによって接続されるメールサーバの宛て先ドメインを除いた残りの異なる宛て先ドメインのメールサーバは複写されたコピー電子メール転送プログラムによる転送サーバによって接続されるようになっているものである。
【0027】
さらに、本発明に係る電子メール転送サーバは、前記いずれかの電子メール転送プログラムを記憶させた記憶手段を設け、該電子メール転送プログラムにより稼働するものである。
【0028】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づき説明する。
【0029】
実施の形態1.
【0030】
図1は本発明の実施の形態における電話機を含むコンピュータネットワークのプロック図、図2は図1に図示するメールサーバのブロック図、図3は図2に図示する補助記憶部のブロック構成図、図4は図1に図示するメールサーバが送・受信側SMTPとして稼働する際の構成ブロック図、図5は図2に図示する主記憶部のブロック構成図、図6〜図21は電子メール転送プログラムを説明するフローチャート図であり、これらの図において、1はインターネット網、2は電子メールを受信するSMTP受信サーバ2b (図4参照)と、該SMTP受信サーバ2b により受信した電子メールを図6〜図21に示す電子メール転送プログラムに基づいて転送する転送サーバ2a とが稼働しているメールサーバであり、該メールサーバ2はインターネット網1に接続されている。3は電子メールで情報を発信している第一の同報メール業者(以下、単に「第一業者」ともいう。)が所有する第一PCであり、当該第一業者の電子メールアドレスを管轄する ISPサーバ4に接続されており、 ISPサーバ4にはその外、該 ISPサーバ4をプロバイダーとして複数のクライアントPC(図1には代表して符号5として図示する。)が接続されている。また、6はグローバルIPアドレスを取得して自社の取扱商品に関する情報を発信している第二の同報メール業者(以下、単に「第二業者」ともいう。)が所有する第二PCである。7はゲートウェイ8を介してインターネット網1に接続された第一の受信側メールサーバであり、該第一の受信側メールサーバ7には複数のクライアントPC(図1には代表して符号9a ,9b として図示する。)が接続されている。また、10は電話会社が所有する第二の受信側メールサーバであり、該第二の受信側メールサーバ10には当該電話会社をプロバイダとして複数のクライアントPC(図1には代表して符号11a として図示する。)と当該電話会社が管轄する電話回線網12が接続されており、該電話回線網12にはインターネットに接続できて電子メールの送受信機能を備えた複数の携帯電話機(電話機)(図1には代表して符号13a として図示する。)が接続されている。
【0031】
前記メールサーバ2は、図2に示すように、制御部,演算部及びレジスタから構成されるいわゆるCPU14aと主記憶部14b とを含んでなる制御判定装置14と、該制御判定装置14に接続され、前記SMTP受信サーバ2b として稼働する、前記通信手法RFC821番の手順に基づくSMTP受信サーバプログラム(受信側SMTP)と前記転送サーバ2a として稼働する図6〜図21に示す電子メール転送プログラムとを記憶している補助記憶装置15と、前記制御判定装置14に接続されてインターネット網1からの接続可否をOSレベルで制御する入力判定部16と、インターネット網1へのデータ出力の可否をOSレベルで制御する出力判定部17とを含んで構成されている。これにより、メールサーバ2は電子メールを受信する場合には受信側SMTPによりSMTP受信サーバ2b となり、電子メールを転送する場合には前記電子メール転送プログラムにより転送サーバ2a となる。従って、メールサーバ2には電子メールの受信を受け持つSMTP受信サーバ2b と、電子メールの転送を受け持つ転送サーバ2a とがそれぞれのプログラムによって存在している。
【0032】
また、前記補助記憶装置15には、図3に示すように、前記SMTP受信サーバプログラムを記憶させたSMTPプログラム記憶部18と、SMTP受信サーバ2b が受信した電子メールを一時格納するスプール領域19と、前記電子メール転送プログラムを記憶させた転送プログラム記憶部20(記憶手段)と、該転送プログラム記憶部20の電子メール転送プログラムを複写して格納する領域として使用されるコピープログラム記憶部21と、スプール領域19の電子メールを複写して格納する領域として使用される作業領域22とが設けられている。
【0033】
次に、第一PC3を所有する第一業者が第一受信側メールサーバ7を電子メールの宛て先ドメインとする各クライアントPC9a ,9b …及び第二受信側メールサーバ10を電子メールの宛て先ドメインとする各クライアントPC11a …,各携帯電話機13a …等に対して同報メールを発信し、第二PC6を所有する第二業者が同じく各クライアントPC9a ,9b …,各クライアントPC11a …,各携帯電話機13a …等に対して同報メールを発信する場合について説明する。
【0034】
第一業者が自分の電子メールアドレス(例えば、「daiichi @isp.ne.jp 」)を差出人メールアドレスとし、各受取人メールアドレスを前記各クライアントPC9a ,9b …に設定された各電子メールアドレス(例えば、「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)、前記各クライアントPC11a …及び各携帯電話機13a …に設定された各電子メールアドレス(例えば、「bbb @b.ne.jp 」,「asd @b.ne.jp 」,「wqa @b.ne.jp 」)、その外、図1に図示しない端末に設定された各電子メールアドレス(例えば、「ddd @c.com 」,「xcv @c.com 」,「opl @c.com 」)とする同報メールを送信するために、第一PC3にインストールされているメーラを立ち上げ、電子メールの本文を入力して同報メールを作成する。また、第二業者が同じく自分の電子メールアドレス(例えば、「daini @company.com 」)を差出人メールアドレスとし、受取人メールアドレスを例えばダイレクトメールの名簿より選んで同様にして同報メールを作成する。
【0035】
そして、前記各メーラのSMTPサーバ入力欄に送信先としてメールサーバ2におけるSMTP受信サーバ2b のドメイン名を設定し、当該各メーラの送信側SMTPとメールサーバ2の受信側SMTPとの間でコネクショクを確立すれば、SMTP受信サーバプログラムによりSMTP受信サーバ(受信側メールサーバ)2b が稼働して前記通信手法RFC821番の手順に基づいて前記同報メールがメールサーバ2に送信されて補助記憶装置15のスプール領域19に受信順に格納される。
【0036】
次に、電子メール転送方法について説明する。
【0037】
先ず、図6に示すように、CPU14aの制御により、補助記憶装置15のスプール領域19に格納されている送信待機中の電子メールデータ23, …を作業領域22にコピー(複写)し(ステップs1)、次いで、作業領域22にコピーした送信待機中の全てのコピー電子メールデータ24,…について差出人(例えば、「daiichi @isp.ne.jp 」,「daini @company.com 」)毎に分類する仕分けは終わっているか否かを判断し(ステップs2)、未分類の電子メールデータ24があれば、CPU14aの制御により、作業領域22から該未分類の一通分電子メールデータ24を主記憶部14b の第一メモリ25に取り出し、当該電子メールのヘッダーに記載された差出人メールアドレスに対応した差出人領域26が作業領域22になければ、該差出人メールアドレスに対応させて差出人領域26を作成して当該電子メールデータ24を前記第一メモリ25から該差出人領域26内に移して格納し、既に、該差出人メールアドレスに対応した差出人領域26が作業領域22にあれば、当該電子メールデータ24を第一メモリ25から該差出人領域26内に移して格納し、ステップs2にジャンプする(ステップs3)。なお、ステップs1において、スプール領域19の電子メールデータ23, …が作業領域22にコピーされることにより、コピー処理されたスプール領域19の電子メールデータ23,…には次回に再度複写されないように処理済フラグが付与される。
【0038】
前記ステップs2において、作業領域22に未分類の電子メールデータ24がなければ、図7に示すように、作業領域22内の差出人毎に分類して仕分けされた全ての電子メールデータ24,…について同じ本文データ(本文情報:本文テキスト)を持つ電子メール毎に分類する仕分けは終わったか否かを判断し(ステップs4)、未分類の電子メールデータ24があれば、CPU14aの制御により、未だ同一本文毎の分類が終わっていない差出人領域26内の未分類の一通分電子メールデータ24を主記憶部14b の前記第一メモリ25に取り出し、既に、該電子メールデータ24の本文データに対応した同一文領域27が当該差出人領域26内にあれば、当該電子メールデータ24を第一メモリ25から該同一文領域27内に移して格納し、対応した同一文領域27が当該差出人領域26内になければ、当該電子メールデータ24の本文データに対応した同一文領域27を当該差出人領域26内に作成して当該電子メールデータ24を前記第一メモリ25から該同一文領域27内に移して格納し、ステップs4にジャンプする(ステップs5)。
【0039】
前記ステップs4において、各差出人領域26に未分類の電子メールデータ24がなければ、図8に示すように、全ての同一文領域27について各電子メールの受取人メールアドレスを書き出したか否かを判断し(ステップs6)、未だ終了していなければ、一つの同一文領域27における全ての電子メールについて受取人メールアドレスの書き出しは終了したか否かを判断し(ステップs7)、未だ終了していなければ、CPU14aの制御により、当該一つの同一文領域27内の未処理の電子メールデータ24を主記憶部14b の前記第一メモリ25に取り出して該電子メールデータ24における受取人メールアドレス(例えば、「aaa @a.com 」)のデータを当該一つの同一文領域27に対応させて割り当てられた主記憶部14b の第二メモリ28に記憶させてステップ7にジャンプする(ステップs8)。これにより、例えば、差出人メールアドレス「daiichi @isp.ne.jp 」に対応した差出人領域26内の前記同一文領域27に格納されている各電子メールの受取人メールアドレス:「bbb @b.ne.jp 」、「ccc @a.com 」、「ddd @c.com 」,、asd @b.ne.jp 」、「xcv @c.com 」、「ert @a.com 」、「zes @a.com 」、「wqa @b.ne.jp 」、「fgt @a.com 」及び「opl @c.com 」が「aaa @a.com 」に続いて順次前記第二メモリ28に記憶される。
【0040】
前記ステップs7において、前記一つの同一文領域27について受取人メールアドレスの書き出しが終了すれば、図9に示すように、CPU14aの制御により、主記憶部14b の第二メモリ28に記憶されている受取人メールアドレスを該第二メモリ28内にて同一の宛て先ドメイン名毎に並び替える(ステップs9)。これにより、例えば、「aaa @a.com 」、「ccc @a.com 」、「fgt @a.com 」、「ert @a.com 」、「zes @a.com 」、「bbb @b.ne.jp 」、「asd @b.ne.jp 」、「wqa @b.ne.jp 」、「ddd @c.com 」、「xcv @c.com 」そして「opl @c.com 」の順に並び替えられる。次いで、当該第二メモリ28に対応した同一文領域27に格納されている送信待機中の各コピー電子メールの本文は同じ内容の本文情報であるから、一通分の電子メールデータ24の本文ファイル24a のみを残して他の全ての電子メールにおける同一文の本文ファイル24a を全て削除し(ステップs10)、前記残した本文ファイル24a のファイル名(受信された電子メールがスプール領域に記憶されることにより自動的に付与されるファイル名であり、メールのヘッダーファイルにメールのヘッダーファイル名、例えば「Qbxxxxxaald 」が付与され、本文ファイルに本文データのファイル名「dbxxxxxaald 」が付与されている。なお、先頭2文字目以降の「bxxxxxaald」は共通の文字列となる。)をCPU14aに読み込む(ステップs11)。
【0041】
続いて、図10に示すように、CPU14aの制御により、該CPU14aにて本文データのファイル名(例えば、「dbxxxxxaald 」)から本文ファイルであることを示す先頭の「d」一文字を削除し(ステップs12)、一通分の本文ファイル24a が残った前記同一文領域27内の各電子メールのヘッダーファイル24b について、前記先頭の「d」を削除した新たなファイル名「bxxxxxaald」とメールのヘッダーファイル名の2文字目から合致するファイル名「Qbxxxxxaald 」のヘッダーファイルを残して他の全てのメールのヘッダーファイル24b を削除する(ステップs13)。これにより、前記同一文領域27内には、ファイル名「Qbxxxxxaald 」の一つのヘッダーファイル24b とファイル名「dbxxxxxaald 」の一つの本文ファイル24a のみが残ることとなる。
【0042】
続いて、図11に示すように、CPU14aの制御により、残った電子メールのヘッダーファイル24b の中に記載されている受取人メールアドレスを全て削除し(ステップs14)、処理中の同一文領域27に割り当てられている第二メモリ28に記憶された並び替え済の受取人メールアドレスのリストを前記ステップs14において受取人メールアドレスを全て削除して空になったヘッダーファイル24b の中に挿入、記載して保存し(ステップs15)、ステップs6にジャンプする。
【0043】
前記ステップs6において、全ての同一文領域27について各電子メールの受取人メールアドレスの書き出したが終了することにより、作業領域22内には、同一宛て先ドメイン毎に纏めた状態で受取人メールアドレスを記載した一通分のヘッダーファイル24b と該ヘッダーファイル24b と対になった一通分の本文ファイル24a とからなる転送用電子メールデータ29(図12参照)が各差出人(「daiichi @isp.ne.jp 」,「daini @company.com 」)毎に作成される。そして、これに続くステップs16では、図12に示すように、前記転送用電子メールデータ29が作業領域22に存在するか否かを判断し、存在しなければ、電子メール転送プログラムが終了する。
【0044】
前記ステップs16において、未処理の転送用電子メールデータ29が存在すれば、CPU14aの制御により、一通分の未処理の転送用電子メールデータ29を作業領域22から取り出して第一メモリ25に記憶させ(ステップs17)、当該電子メールデータ29の本文ファイル24a に対応した第二メモリ28にヘッダーファイル24b の同一宛て先ドメイン毎に纏めた受取人メールアドレスを書き出して該ヘッダーファイル24b における宛て先ドメイン名の異なるドメイン数とドメイン名が変わる先頭位置を当該第二メモリ28に記憶された受取人メールアドレスにより調べて主記憶部14b に設けられた、当該第二メモリ28に対応する第三メモリ30に当該ドメイン名の数と当該先頭位置とを記憶させる(ステップs18)。当該ステップs18により、例によれば、第二メモリ28には、「aaa @a.com 」、「ccc @a.com 」、「fgt @a.com 」、「ert @a.com 」、「zes @a.com 」、「bbb @b.ne.jp 」、「asd @b.ne.jp 」、「wqa @b.ne.jp 」、「ddd @c.com 」、「xcv @c.com 」、「opl @c.com 」の順に記憶されるので、宛て先ドメインの異なるドメイン名は「a.com 」、「b.ne.jp 」及び「c.com 」であり、異なるドメイン名の数は3、ドメイン名が変わる先頭位置はドメイン名「a.com 」が1行目、ドメイン名「b.ne.jp 」が6行目、ドメイン名「c.com 」が9行目となる。
【0045】
続いて、第三メモリ30に記憶されているドメイン名の数は一個か否かを判断し(ステップs19)、ドメイン名の数が一個でなければ、CPU14aの制御により、転送プログラム記憶部20に記憶されている当該稼働中の電子メール転送プログラムを前記ドメイン名の数より1つ少ない数だけコピープログラム記憶部21に複写する(ステップs20)。そして、以後は稼働中の電子メール転送プログラム自身が第三メモリ30に記憶された最初の先頭位置にある宛て先ドメインに対して処理を続行し、コピープログラム記憶部21に複写されたコピー電子メール転送プログラムが二番目以降の先頭位置にある宛て先ドメインに対してそれぞれ処理を同時に実行する。
【0046】
即ち、転送プログラム記憶部20に記憶された稼働中の電子メール転送プログラムでは、例えば、第三メモリ30に記憶された1行目のドメイン名「a.com 」を宛て先とする受取人メールアドレス「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」及び「zes @a.com 」について転送処理を実行し、コピープログラム記憶部21に複写された一つ目のコピー電子メール転送プログラムは、第三メモリ30に記憶された2行目のドメイン名「b.ne.jp 」を宛て先とする受取人メールアドレス「bbb @b.ne.jp 」,「asd @b.ne.jp 」及び「wqa @b.ne.jp 」について転送処理を実行し、コピープログラム記憶部21に複写された二つ目のコピー電子メール転送プログラムは、第三メモリ30に記憶された3行目のドメイン名「c.com 」を宛て先とする受取人メールアドレス「ddd @c.com 」,「xcv @c.com 」及び「opl @c.com 」について転送処理を実行する。
【0047】
コピープログラム記憶部21に電子メール転送プログラム自身が複写された場合も該電子メール転送プログラム自身と各コピー電子メール転送プログラムとはそれぞれ独立して動作するので、前記ステップs19の判断により電子メール転送プログラムが複写されない場合における該電子メール転送プログラム自身の動作と同じであるから、以後の説明においては、一つの電子メール転送プログラムの処理手順について説明する。
【0048】
先ず、図13に示すように、第三メモリ30における当該電子メール転送プログラムに対応した先頭位置の受取人メールアドレス(例えば、「aaa @a.com 」)をヘッダーファイル24b から取り出して該受取人メールアドレスの宛て先ドメイン(「a.com 」)により、インターネット網1を通してネット上最も近いDNS サーバに名前解決を依頼してIPアドレスを調べ、このIPアドレスを利用するメールサーバを調査する(ステップs21)。次いで、宛て先ドメインのメールサーバが特定できたか否かを判断し(ステップs22)、特定できなければ、メールサーバを特定できなかった宛て先ドメイン(「a.com 」)の受取人メールアドレス(「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)には転送することがでないので、CPU14aの制御により、差出人メールアドレス(「daiichi @isp.ne.jp 」)に対して当該受取人メールアドレスと「送信できない」旨を記載した電子メールを一通作成して送信し(ステップs23)、続いて、第二メモリ28に記憶されている処理ができなかった宛て先ドメイン(「a.com 」)の受取人メールアドレス(「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)とヘッダーファイル24b 内の当該宛て先ドメインの受取人メールアドレス(「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)とを削除し(ステップs24)、当該動作している電子メール転送プログラムが複写によって生成されたコピー電子メール転送プログラムであるか否かを判断し(ステップs25)、コピー電子メール転送プログラムであれば、当該コピー電子メール転送プログラムを停止してコピープログラム記憶部21から消去して(ステップs26)処理を終了する。
【0049】
前記ステップs22において、メールサーバが特定できれば、図14に示すように、転送サーバ(送信側メールサーバ)2a のリモートポート(例えば、23番ポート)から中継サーバの転送チャンネルを介さないで宛て先ドメインの受信側メールサーバ(第一受信側メールサーバ7)に対して直接コネクションをはるためにリモート接続し(例えば、「telnet <宛て先ドメインのIPアドレス> TCP:25 」)(ステップs27)、接続できなかった場合には(ステップs28)、所定回数接続を試みたか否かを判断し(ステップs29)、所定回数実施しても接続できなかった場合には、CPU14aの制御により、当該宛て先ドメインのメールサーバ(第一受信側メールサーバ7)宛の受取人メールアドレス(「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)からなるヘッダーファイルと前記同一文の本文ファイルとを作成して前記スプール領域19へ戻すと共に、第二メモリ28に記憶されている当該宛て先ドメインの受取人メールアドレスとヘッダーファイル24b 内の当該宛て先ドメインの受取人メールアドレスとを重複防止のため処理済として削除し(ステップs30)、続いて、前記ステップs25,s26と同様に、当該動作している電子メール転送プログラムが複写によって生成されたコピー電子メール転送プログラムであるか否かを判断し(ステップs31)、コピー電子メール転送プログラムであれば、当該コピー電子メール転送プログラムを停止してコピープログラム記憶部21から消去して(ステップs32)処理を終了する。また、前記ステップs29において所定回数実施していない場合にはステップs27へジャンプする。
【0050】
前記ステップs28において、転送サーバ2a のリモートポート(23番ポート)と第一受信側メールサーバ7(受信側メールサーバ)のリモートポート(23番ポート)との間で直接コネクションが確立して接続できた場合には、リモート接続の際に引数として25番ポートを指定しているので、第一受信側メールサーバ7ではSMTPへデータが渡されて25番ポートが窓口となり転送サーバ2a のリモートポート(23番ポート)と第一受信側メールサーバ7の25番ポートとの間で送受信が開始され、図15に示すように、転送サーバ2a から第一受信側メールサーバ7に対して送信側ドメインを引数として「HELO」コマンドを送信し(ステップs33)、第一受信側メールサーバ7から応答コード「250 」のOK情報を受信して(ステップs34)、転送サーバ2a から第一受信側メールサーバ7に対して「MAILFROM 」コマンドに引数として差出人メールアドレス(「daiichi @isp.ne.jp 」)を付加して送信し(ステップs35)、図16に示すように、第一受信側メールサーバ7から応答コード「250 」のOK情報を受信した後(ステップs36)、前記第二メモリ28に当該第一受信側メールサーバ7を宛て先ドメインとする、取り出す受取人メールアドレスがあるか否かを判断し(ステップs37)、未処理の受取人メールアドレスがあれば、第二メモリ28に記憶されている受取人メールアドレスリストの当該第一受信側メールサーバ7を宛て先ドメインするメールアドレスを先頭から順次一つずつ取り出し、該取り出した受取人メールアドレス(「aaa @a.com 」)を引数として「RCPT TO 」コマンド(「RCPT TO: aaa@a.com 」)を第一受信側メールサーバ7に対して送信する(ステップs38)。
【0051】
続いて、図17に示すように、第一受信側メールサーバ7からの応答コードが「RCPT TO 」コマンドで引数として受け取った受取人メールアドレス(「aaa @a.com 」)が存在し、メールボックスへ配信することができるとする「250 」のOK情報か否かを判断し(ステップs39,s40)、配信できるOK情報であれば、ステップs37へジャンプし、配信できないとするエラー情報であれば、CPU14aの制御により、図18に示すように、当該受取人メールアドレス(「aaa @a.com 」)は送信不能であることを差出人へ通知する準備として当該受取人メールアドレスを本文情報とする一つの送信不能メール31を作成して主記憶部14b の第四メモリ32へ保存、記憶させる。なお、既に、当該送信不能メール31が該第四メモリ32に記憶されていれば、送信不能の受取人メールアドレス(「aaa @a.com 」)を追記する。そして、第二メモリ28内の受取人メールアドレスリストから当該送信不能の受取人メールアドレス(「aaa @a.com 」)を削除すると共に、現在送信処理中の転送用電子メール29のヘッダーファイル24b から当該送信不能の受取人メールアドレス(「aaa @a.com 」)を削除して(ステップs41)ステップs37ヘジャンプする。
【0052】
前記ステップs37において、取り出す受取人メールアドレスがなければ、即ち、前記第一受信側メールサーバ7を宛て先ドメインする受取人メールアドレス全てについて転送可能か否かの判断が終了すれば、続いて、図19に示すように、転送サーバ2a から第一受信側メールサーバ7へ「DATA」コマンドを送信する(ステップs42)。「DATA」コマンドを受信した第一受信側メールサーバ7はメールの本文データ入力を開始する応答コード「354 Start mail input: end with <CRLF> .<CRLF> 」を送信してメール本文の入力待ちの状態になり、転送サーバ2a では当該応答コードを受信した後、一つに纏めた本文ファイル24a から本文データを取り出してメールの本文を送信し、本文の送信が終われば、「・(ピリオド)」コマンドを送信する(ステップs43)。第一受信側メールサーバ7では「・」コマンドを受信することにより、前記本文の電子メールが配信可能な受取人メールアドレスのメールボックスへ配信され、転送サーバ2a は第一受信側メールサーバ7からの配信終了の通知を受信した後(ステップs44)、送信終了を通知する「QUIT」コマンドを送信し(ステップs45)、第二メモリ28に記憶されている処理が終了した宛て先ドメイン(「a.com 」)の受取人メールアドレス(「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)とヘッダーファイル24b 内の当該宛て先ドメインの受取人メールアドレス(「aaa @a.com 」,「ccc @a.com 」,「fgt @a.com 」,「ert @a.com 」,「zes @a.com 」)とを削除し(ステップs46)、当該動作している電子メール転送プログラムが複写によって生成されたコピー電子メール転送プログラムであるか否かを判断し(ステップs47)、コピー電子メール転送プログラムであれば、当該コピー電子メール転送プログラムを停止してコピープログラム記憶部21から消去して(ステップs48)処理を終了する。
【0053】
前記ステップs47において、電子メール転送プログラム自身であれば、図21に示すように、送信不能メール31が存在するか否かを判断し(ステップs49)、送信不能メール31が第四メモリ32に記憶されていれば、作成しておいた該送信不能メール31を差出人(第一業者)のメールアドレス(「daiichi @isp.ne.jp 」)へ送信し(ステップs50)、前記ステップs49において送信不能メール31が存在しない場合、前記ステップs25及びs31においてコピー電子メール転送プログラムでない場合と同様に作業領域22に転送用電子メールデータ29が存在するか否かを判断するためにステップs16へジャンプする。
【0054】
なお、前記ステップs50において、差出人メールアドレスが特定できない場合は所望の期間保存するようになっている。
【0055】
本実施の形態に係る電子メール転送方法では、転送サーバ2a が、スプール領域19に格納されている送信待機中の複数の電子メール(電子メールデータ)23を作業領域22へ複写し、該複写された送信待機中の複数のコピー電子メール(コピー電子メールデータ)24における受取人メールアドレスを該コピー電子メール24のヘッダーファイルから取り出して主記憶部14b の第二メモリ28に記憶させ、該第二メモリ28において同一の宛て先ドメイン毎に纏めた後に該転送サーバ2a のリモートポートからコマンド「telnet <宛て先ドメインのIPアドレス> TCP:25 」により、中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接リモード接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続けてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信するようにしたので、転送サーバ2a のリモートポート(23番ポート)と前記宛て先ドメインのメールサーバのリモートポート(23番ポート)との間で直接コネクションが確立するから、転送サーバ2a の25番ポートと該メールサーバの25番ポート間ではコネクションをはらないため、該メールサーバのSMTPが高負荷な状態となっていても容易に該メールサーバに接続することができ、また、コネクションが確立した後に宛て先ドメインのメールサーバのSMTPへデータが渡され、転送サーバ2a は25番ポートではないから、該メールサーバのSMTPは転送サーバ2a のSMTPから影響を受けず、該メールサーバに対して負担を掛けることなく接続を保持することができ、さらに、同一の宛て先ドメイン毎に纏めた後にメールサーバが受け取る電子メールのみを送信するようにしたため、大量の電子メールを送信する場合にも接続処理を減らすことができ、ネットワーク負荷を軽減することができる。
【0056】
また、作業領域22に格納されているコピーの送信待機中電子メールデータ24を同じ本文データを持つ電子メール毎に分類して該各電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めて一つの本文ファイル24a と複数の受取人メールアドレスが存在する一つのヘッダーファイル24b とからなる転送用電子メール29を作成しているので、同一文からなる大量の同報メールを一個或いは数個の電子メールに纏めることができるから、さらに、接続処理を減らすことができ、ネットワーク負荷を軽減することができる。
【0057】
また、インターネットを介して受信した送信待機中の複数の電子メール24を先ず差出人毎に分類しているので、メールボックスが存在しない受取人メールアドレスを本文情報とする送信不能メール31を作成すれば、該送信不能メール31は差出人メールアドレス毎に作成され、送信できない受取人メールアドレス宛の電子メールが多数存在しても該差出人メールアドレスに対して一つの送信不能メール31を送信することで済ますことができるから、大量の送信不能電子メールを送信する場合において、接続処理を減らすことができ、ネットワーク負荷を軽減することができる。
【0058】
また、一つの本文ファイル24a と各電子メール24の受取人メールアドレスを同じ宛て先ドメイン毎に纏めてなる一つのヘッダーファイル24b とを持つ一通の転送用電子メール29を作成して当該宛て先ドメインのメールサーバにおける受取人メールアドレスのメールボックスに前記本文ファイル24a の本文情報が配信可能であるか否かを判断して配信可能な受取人メールアドレスに対してのみ転送用電子メール29の前記本文情報を直接送信しているので、電子メールは前記メールボックスに確実に配信される。
【0059】
また、本実施の形態に係る電子メール転送プログラムでは、インターネット網1を介してメールサーバ2の受信側SMTPにより受信してスプール領域19に格納されている送信待機中の複数の電子メール23を転送サーバ2a の作業領域22へ複写するステップ(ステップs1)と、作業領域22へ複写された送信待機中の複数の電子メール24を同一差出人毎に分類して作業領域22の各差出人領域26へ格納するステップ(ステップs2)と、同一差出人毎に分類された電子メール24を同じ本文情報の同一本文毎に分類して各差出人領域26の同一文領域27へ格納するステップ(ステップs5)と、同一本文毎に分類された電子メール24における受取人メールアドレスを該各電子メール24のヘッダーファイル24b から取り出して当該同一文領域27に対応した主記憶部14b の第二メモリ28に記憶させて該第二メモリ28において受取人メールアドレスを同一宛て先ドメイン毎に並び替えるステップ(ステップs8,s9)と、前記第二メモリ28にて並び替えられて同一の宛て先ドメイン毎に纏められた受取人メールアドレスからなる一つのヘッダーファイル24b と前記同じ本文情報の本文ファイル24a とからなる一つの転送用電子メール29を作成するステップ(ステップs10〜s15)と、転送用電子メール29のヘッダーファイル24b の受取人メールアドレスに二つ以上の宛て先ドメイン名が存在する場合には、転送プログラム記憶部20に記憶されている稼働中の電子メール転送プログラム自身を該宛て先ドメイン名の数より一つ少ない数だけコピープログラム記憶部21へ複写するステップ(ステップs19,s20)と、電子メール転送プログラム自身による転送サーバ2a が一つの宛て先ドメインのメールサーバに対し、前記複写されたコピー電子メール転送プログラムによる転送サーバ2a が当該電子メール転送プログラム自身による転送サーバ2a によって接続される該メールサーバの宛て先ドメインを除いた残りの異なる宛て先ドメインのメールサーバに対し、各転送サーバ2a のリモートポート(23番ポート)から中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接リモート接続して前記各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否か、メールボックスは存在しても配信できるものであるか否か、即ち、送信不能であるか否かを判断するステップ(ステップs27,s28,s33〜s40)と、続いて送信可能である受取人メールアドレスに対してのみ転送用電子メール29の前記本文情報を該宛て先ドメインのメールサーバに直接送信するステップ(ステップs42〜s44)と、メールボックスの存在しない等により送信不能な受取人メールアドレスについては該受取人メールアドレスを本文情報とする差出人メールアドレス毎に作成した一つの電子メール(送信不能メール)31を該差出人メールアドレスに送信するステップ(ステップs50)とを含んでなり、当該電子メール転送プログラムによる転送サーバ2a が稼働するので、転送する電子メールを同一の宛て先ドメイン毎に纏めた後に該宛て先ドメインの受信側メールサーバに直接接続し、コネクションを確立した状態で各電子メールが該宛て先ドメインの受信側メールサーバにおいて配信可能であるか否かを判断して続けて受信側メールサーバが受け取る電子メールのみを送信するから、大量の電子メールを送信する場合にも接続処理を減らすことができ、ネットワーク負荷を軽減することができる。また、送信不能な電子メールは受取人メールアドレスを本文情報とする一つの電子メールを作成して該差出人メールアドレスに送信するから、転送できなかった電子メールの受取人メールアドレスの数だけ差出人メールアドレスに届く事態を避けることができ、電子経路帯域の負荷率を軽減することができる。
【0060】
また、中継サーバの転送チャンネルを介さないで送信側メールサーバのリモートポートと受信側メールサーバのリモートポートとの間で直接コネクションを確立した後に、受信側メールサーバにおけるSMTPへデータを渡すようにしており、送信側メールサーバの25番ポートと受信側メールサーバの25番ポート間ではコネクションをはっていないから、受信側メールサーバの25番ポートが高負荷な状態であっても容易に受信側メールサーバに接続することができ、受信側メールサーバのリモートポートから25番ポートのSMTPへデータを渡すことにより、結果として受信側メールサーバは25番ポートが窓口となり、送信側メールサーバは25番ポートではないから、受信側メールサーバのSMTPは送信側メールサーバのSMTPから影響を受けることはなく、受信側メールサーバに対して負担を掛けることなく接続を保持することができる。
【0061】
また、転送サーバ2a のリモートポート(23番ポート)から中継サーバの転送チャンネルを介さないで宛て先ドメインのメールサーバに直接リモート接続しているから、該宛て先ドメインのメールサーバにおけるSMTPに過重な負荷が掛かっている場合でも、該宛て先ドメインのメールサーバおいては、接続そのものの監視を行う部分、電子メールの送受信処理を行う部分、電子メールを配信できないことを転送サーバ2a に通知する部分において、それぞれ実行されるプログラムが異なるので、実質的に負荷分散されるために電子メールの送受信が滞ることがない。
【0062】
また、同一宛て先ドメイン別に纏めた電子メールが、本文情報の違いにより、さらに複数の通数分存在する場合には、宛て先ドメインのメールサーバとの接続を切らずに残りの通数の電子メールを処理することができるので、再度接続したときのネッワークのトラフィック状態や宛て先ドメインのメールサーバの負荷状態によっては、接続に時間を要したり、接続することができない場合があることを避けることができる。
【0063】
さらに、本実施の形態に係る電子メール転送サーバ2a には、前記電子メール転送プログラムを記憶させた転送プログラム記憶部20と、該電子メール転送プログラムを実行する制御判定装置14とが設けられており、該転送サーバ2a は、前記電子メール転送方法により電子メールを転送し、前記電子メール転送プログラムによって稼働するので、受信側メールサーバのSMTPが高負荷な状態となっていても容易に該メールサーバに接続することができ、該メールサーバに対して負担を掛けることなく接続を保持することができ、ネットワーク負荷を軽減することができる。
【0064】
また、本実施の形態では、メールサーバ2が、他の送信側メールサーバからの電子メール及び管轄内の送信者から送られてくる電子メールを受信してスプール領域19へ格納する受信側SMTPとして稼働するSMTP受信サーバ2b と、送信待機中の電子メールを転送する転送サーバ2a とが独立して稼働し、転送サーバ2a に対する受信側のメールサーバは、既存の受信側SMTPによって通信されるので、受信側のメールサーバにおいては、転送サーバ2a との送受信のための新たなメールサーバを搭載する必要がないので、現状のネットワークへ容易に構築することができる。
【0065】
実施の形態2.
【0066】
本実施の形態は、前記実施の形態1における作業領域22に格納されている送信待機中の電子メール24が各本文情報の共通する文章位置のみ異なる文言となっている同報メールであって、該同報メールを転送する電子メール転送方法であり、図1〜図21を参照して説明する。
【0067】
本実施の形態に係る電子メール転送方法では、図6〜図21に示す電子メール転送プログラムにおいて、同じ本文データを持つ電子メール毎に分類する仕分けは終わったか否かを判断した後(ステップs4)、同じ本文データを持つ電子メール24はそれぞれ同一本文情報毎に纏められて差出人領域26には未分類の電子メール24はなく、差出人領域26に残っているのは本文情報の異なる本文データからなる電子メール24である場合には、当該各電子メールデータ24を再度、主記憶部14b の第一メモリ25に順次取り出して当該各電子メール24の本文データが本文情報の共通する文章位置のみ異なる文言となっているか否かを判断し、共通する文章位置のみ異なる文言となっている電子メール24を当該異なる文言の共通する文章位置毎に分類して同様に各同一文領域27に纏めて格納した後、該各同一文領域27に格納された電子メールデータ24を第一メモリ25に順次取り出して該電子メールデータ24の本文データにおける共通する文章位置の文言を同じ代用文字(例えば、「 ! 」)に置き換えて同じ本文情報とした後、当該各同一文領域27に格納し、全ての同一文領域27について各電子メールの受取人メールアドレスを書き出したか否かを判断するステップs6にジャンプするようになっている。
【0068】
本実施の形態では、送信待機中の複数の電子メール24が各本文情報の共通する文章位置のみ異なる文言となっている同報メールである場合には、該共通する文章位置の該文言を同じ代用文字に置き換えて同じ本文情報となっている送信待機中の複数の電子メール24としたので、同報メールにおける本文中の共通する文章位置に例えば顧客別に「○○様」等の名前が挿入されている場合にも、当該「○○様」等の名前の位置に該名前に替えて「 ! 」等の代用文字を置き換えることができるから、結果として同じ本文情報となっている電子メールとなり、一通の転送用電子メール29として纏めることができる。
【0069】
なお、代用文字に置き換えて同じ本文情報となっている電子メールを宛て先ドメインのメールサーバに転送した場合には、転送サーバ2a より宛て先ドメインのメールサーバに対して、代用文字に置き換えられた元の文言データリストを別途送信して当該メールサーバにて電子メールの本文情報を元の文言に置き換えるよう促すようにしてもよい。また、代用文字は文字列であってもよいが、文章中に置換されるので、解読不能な特殊記号(「 ! 」)の外、変数であってもよい。
【0070】
実施の形態3.
【0071】
本実施の形態は前記実施の形態1における第二業者が所有する第二PC6に図6〜図21に示す電子メール転送プログラムをインストールして該電子メール転送プログラムを起動させて第二PC6を転送サーバ2a として稼働させる電子メール転送方法であり、本実施の形態では、実施の形態1における電子メール転送プログラムの差出人毎に分類するステップs2及びステップs3の処理が省略されるが、前記実施の形態1と同様に動作するので、同様の作用・効果を奏することができる。
【0072】
【発明の効果】
本発明によれば、受信側メールサーバが高負荷状態であっても該受信側メールサーバに負担を掛けることなく接続することができると共に、接続を保持することができ、更には、大量の電子メールを送信する際にも接続処理を減らしてネットワーク負荷を軽減することができる電子メール転送方法及び電子メール転送プログラム並びに該電子メール転送プログラムにより稼働する電子メール転送サーバを提供することができる。
【0073】
従って、本発明の産業上利用性は非常に高いといえる。
【図面の簡単な説明】
【図1】本発明の実施の形態における電話機を含むコンピュータネットワークのプロック図である。
【図2】図1に図示するメールサーバのブロック図である。
【図3】図2に図示する補助記憶部のブロック構成図である。
【図4】図1に図示するメールサーバが送・受信側SMTPとして稼働する際の構成ブロック図である。
【図5】図2に図示する主記憶部のブロック構成図である。
【図6】電子メール転送プログラムを説明するフローチャート図である。
【図7】電子メール転送プログラムを説明するフローチャート図である。
【図8】電子メール転送プログラムを説明するフローチャート図である。
【図9】電子メール転送プログラムを説明するフローチャート図である。
【図10】電子メール転送プログラムを説明するフローチャート図である。
【図11】電子メール転送プログラムを説明するフローチャート図である。
【図12】電子メール転送プログラムを説明するフローチャート図である。
【図13】電子メール転送プログラムを説明するフローチャート図である。
【図14】電子メール転送プログラムを説明するフローチャート図である。
【図15】電子メール転送プログラムを説明するフローチャート図である。
【図16】電子メール転送プログラムを説明するフローチャート図である。
【図17】電子メール転送プログラムを説明するフローチャート図である。
【図18】電子メール転送プログラムを説明するフローチャート図である。
【図19】電子メール転送プログラムを説明するフローチャート図である。
【図20】電子メール転送プログラムを説明するフローチャート図である。
【図21】電子メール転送プログラムを説明するフローチャート図である。
【符号の説明】
1 インターネット網
2 メールサーバ
2a 転送サーバ
3 第一PC
4 ISPサーバ
6 第二PC
7 第一の受信側メールサーバ
8 ゲートウェイ
10 第二の受信側メールサーバ
12 電話回線網
14 制御判定装置
14a CPU
14b 主記憶部
15 補助記憶装置
18 SMTPプログラム記憶部
19 スプール領域
20 転送プログラム記憶部
21 コピープログラム記憶部
22 作業領域
23 電子メールデータ(電子メール)
24 コピー電子メールデータ(コピー電子メール)
24a 本文ファイル
24b ヘッダーファイル
25 第一メモリ
26 差出人領域
27 同一文領域
28 第二メモリ
29 転送用電子メールデータ(転送用電子メール)
30 第三メモリ
31 送信不能メール
32 第四メモリ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic mail transfer method, an electronic mail transfer program, and an electronic mail transfer server for transferring an electronic mail.
[0002]
[Prior art]
As is well known, between different types of telephones (mobile telephones, PHS 、), between telephones of different telephone companies, and these telephones (home telephones and mobile telephones having an e-mail transmission / reception function that can be connected to the Internet with these telephones). The number of e-mail users between a telephone and a PHS @) and a personal computer (hereinafter, also simply referred to as "PC") has increased, and various information distribution services have been provided to these telephones and PCs. A large number of companies have been participating.
[0003]
Generally, SMTP (Simple Mail Transfer Protocol) is used for sending and receiving e-mail, and an e-mail client having an e-mail address is installed on a telephone or a PC (hereinafter, also simply referred to as "terminal"). When an e-mail is created by the mailer and the e-mail is transmitted, the e-mail is temporarily transmitted to a mail server under the jurisdiction of the e-mail address and stored in a spool area of the mail server. In the jurisdiction mail server, the e-mails collected in the spool area are taken out one by one, and the domain information is obtained by the destination domain information on the right side of "@" included in the e-mail address (recipient e-mail address) of the recipient. If it points to itself, the e-mail is delivered to the mailbox specified by the user information on the left side of "@". If the domain information does not point to itself, the address of the destination is sent to the DNS @ server. And sends the e-mail based on the obtained global IP address. If the global IP address of the domain information cannot be obtained, the user is notified that the transmitted e-mail cannot be sent.
[0004]
For the e-mail of the destination domain for which the global IP address was obtained, the mail server under the jurisdiction becomes the sending mail server, specifies the global IP address, and tries to connect from
[0005]
Then, the receiving mail server receiving the e-mail whose domain information does not point to itself becomes a relay server (sending mail server), and the relay server and the mail of the destination domain of the e-mail. The e-mail is transmitted by a transfer channel (a communication path between the sending SMTP and the receiving SMTP for exchanging commands, responses, and mail texts) between the server and the receiving mail server which is the next relay server. It is designed to be transferred.
[0006]
[Problems to be solved by the invention]
With the spread of telephones that can send and receive e-mail, not only individual private mail has increased, but also broadcast mails such as various announcements and advertisements sent to terminals have been increasing. The e-mail is connected to the
[0007]
That is, in the receiving mail server, a load is applied to the receiving process itself in proportion to the number of received e-mails, and the connection request of the transmitting mail server which transmits the e-mail without interruption like the broadcast mail is required. If a connection request or the like by another sending-side mail server is interrupted in the procedure of the communication method at the start of connection, the transmission of the e-mail during that time is suspended, E-mail is delayed or delivery / forwarding is not possible.
[0008]
In addition, in the sending mail server, the sending mail server acts as a relay server to transfer the received e-mail to the receiving mail server. In response to the mail transmission request, the process of receiving the forwarded mail from another sending mail server as the receiving mail server and delivering it to the mailbox of the e-mail client is performed. If an e-mail transmission request occurs frequently, the e-mail will not be retained after the connection with the receiving e-mail server is started, and the e-mail will be in a no-response state. Unlike notification processing to the e-mail client due to the absence of an address etc., basically 4 hours The transmission process is executed until the connection succeeds for 5 days. Therefore, if a large number of e-mails such as broadcast mails cannot be connected to the receiving mail server, a large amount of Repetition of the transmission process for five days until the mail data succeeds causes traffic congestion in the Internet network. Further, as a result, the e-mail that could not be transferred is notified to the sender in the broadcast mail in a concentrated manner, exceeding the capacity of the spool area of the jurisdiction mail server, causing a high load and being unable to be processed. Is occurring.
[0009]
Further, in the entire network, a phenomenon that a mail server cannot be connected frequently occurs due to traffic congestion in the Internet network, so that a characteristic of electronic mail, that is, quick delivery and reliable reception cannot be utilized.
[0010]
Therefore, the present inventor can connect without burdening the receiving mail server even when the receiving mail server is in a high load state, can maintain the connection, and furthermore, can handle a large amount of data. As a technical issue, to provide an e-mail transfer means that can reduce the network load by reducing the connection process when sending e-mail, as a result of repeated research and experiments to realize this, the Internet The receiving mail server on the network is specified by the IP (Internet Protocol) located in the layer, and the TCP (Transmission Control Protocol) located in the transport layer is used to change the
[0011]
[Means for Solving the Problems]
The technical problem can be solved by the present invention as described below.
[0012]
That is, in the e-mail transfer method according to the present invention, the transfer server collects the recipient e-mail addresses of the plurality of e-mails waiting to be transmitted for each of the same destination domains, and then transmits the e-mail from the remote port of the transfer server to the relay server. By directly connecting to the mail server of the destination domain without passing through the transfer channel, it is determined whether or not the mailbox of each of the grouped recipient mail addresses exists in the mail server of the destination domain. The electronic mail is directly transmitted to the mail server of the destination domain only to the recipient mail address where the mailbox exists.
[0013]
Further, in the electronic mail transfer method according to the present invention, after the transfer server collects the recipient mail addresses of the plurality of waiting e-mails having the same body information for each of the same destination domains, the remote The port directly connects to the mail server of the destination domain without passing through the transfer channel of the relay server, and determines whether the mailbox of each of the grouped recipient mail addresses exists in the mail server of the destination domain. After the determination, the electronic mail is directly transmitted to the mail server of the destination domain only to the recipient mail address where the mailbox exists.
[0014]
Further, in the electronic mail transfer method according to the present invention, the transfer server collects the recipient mail addresses of the plurality of e-mails waiting to be transmitted via the Internet for each of the same destination domains, and Whether the mailbox of each of the grouped recipient mail addresses is directly connected from the remote port to the mail server of the destination domain without passing through the transfer channel of the relay server and exists in the mail server of the destination domain. Then, an e-mail is sent directly to the mail server of the destination domain only for the recipient e-mail address where the mailbox exists, and for the recipient e-mail address where the mailbox does not exist, the recipient e-mail address One e-mail with the body text as the body information for each sender e-mail address It is intended to be sent to the e-mail address.
[0015]
Further, in the electronic mail transfer method according to the present invention, the transfer server may set the recipient mail addresses of a plurality of e-mails waiting to be transmitted that have the same body information received via the Internet for each of the same destination domains. After the collection, the mail server of each destination mail address is directly connected from the remote port of the transfer server to the mail server of the destination domain without passing through the transfer channel of the relay server, and the mail of the destination mail address of the destination is mailed in the destination domain. The e-mail is sent directly to the mail server of the destination domain only for the e-mail address where the mailbox exists, and then the e-mail is received without the mailbox. As for the address, one e-mail with the recipient e-mail address as the body information is sent to the sender e-mail address. It was created for each less is intended to be sent to the sender's e-mail address.
[0016]
Further, in the electronic mail transfer method according to the present invention, the transfer server may include a single body file including the body information of a plurality of e-mails waiting for transmission having the same body information, and a recipient mail of each of the emails. Create one transfer e-mail with one header file that collects addresses for the same destination domain, and send the e-mail of the destination domain from the remote port of the transfer server without passing through the transfer channel of the relay server Determining whether or not the body information can be delivered to the mailbox of the recipient mail address by directly connecting to the server, and determining whether or not the body information of the transfer e-mail is transmitted only to the deliverable recipient mail address; Is sent directly.
[0017]
Further, according to the present invention, in any one of the above-described electronic mail transfer methods for a plurality of e-mails waiting to be transmitted having the same body information, the plurality of e-mails awaiting transmission are limited to a sentence position common to each body information. This is a broadcast mail having different texts, and the text at the common text position is replaced with the same substitute character to have the same text information.
[0018]
Also, the electronic mail transfer program according to the present invention comprises the steps of: causing the transfer server to group recipient mail addresses of a plurality of e-mails waiting for transmission for each same destination domain; Connecting directly from the remote port to the mail server of the destination domain without going through the transfer channel of the relay server; and providing the transfer server with the address of each of the recipient mail addresses collected by the connected mail server of the destination domain. Determining whether a mailbox exists; and causing the transfer server to directly transmit an e-mail only to a recipient mail address where the mailbox exists, to a mail server of the destination domain. It becomes.
[0019]
In addition, the electronic mail transfer program according to the present invention includes the following steps: causing the transfer server to combine recipient mail addresses of a plurality of waiting e-mails having the same body information for each of the same destination domains; Connecting directly from the remote port of the transfer server to the mail server of the destination domain without passing through the transfer channel of the relay server; and connecting the transfer server to the mail server of the destination domain connected to the transfer server. Determining whether a mailbox of the recipient mail address exists; and causing the transfer server to directly send an e-mail only to the recipient mail address having the mailbox to the mail server of the destination domain. And a step.
[0020]
The electronic mail transfer program according to the present invention further comprises: causing the transfer server to group recipient mail addresses of a plurality of e-mails waiting for transmission received via the Internet for each same destination domain; Connecting directly from the remote port of the transfer server to the mail server of the destination domain without going through the transfer channel of the relay server; and connecting the transfer server to the mail server of the destination domain connected to the transfer server. Deciding whether or not a mailbox of each recipient mail address exists; and transmitting the e-mail directly to the mail server of the destination domain only to the recipient mail address having the mailbox by the transfer server. And the transfer server does not have a mailbox It is those which comprise the step of transmitting by creating one e-mail to the payee mail address and text information for each sender email address to the sender mail address for e-mail addresses.
[0021]
In addition, the electronic mail transfer program according to the present invention provides a transfer server with the same recipient information for a plurality of waiting e-mails that are received via the Internet and have the same body information for each destination domain. And the step of causing the transfer server to directly connect to the mail server of the destination domain from the remote port of the transfer server without passing through the transfer channel of the relay server; and the step of connecting the destination domain to the transfer server Making the mail server determine whether or not there is a mailbox for each of the grouped recipient e-mail addresses; and transmitting the e-mail to the transfer server only to the recipient e-mail address where the mailbox exists. Sending directly to the mail server of the destination domain, and The recipient mail address box is not present are those which comprise the step of transmitting by creating one e-mail to the payee mail address and text information for each sender email address to the sender mail address.
[0022]
Further, according to the present invention, in the electronic mail transfer program, when the recipient mail addresses of the electronic mail waiting to be transmitted are grouped for each same destination domain, when two or more destination domain names exist. Means that the e-mail transfer program itself is copied by one less than the number of the destination domain names, and the remaining different domains except the destination domain of the mail server connected by the transfer server by the e-mail transfer program itself are The mail server in the destination domain is connected by a transfer server based on a copied copy electronic mail transfer program.
[0023]
In addition, the electronic mail transfer program according to the present invention may provide a transfer server with a single body file including the body information of a plurality of e-mails waiting for transmission having the same body information, and a recipient mail of each of the electronic mails. Creating a single transfer e-mail having a single header file with the addresses grouped for the same destination domain; and allowing the transfer server to bypass the transfer port of the relay server from the remote port of the transfer server. Connecting directly to the mail server of the destination domain; causing the transfer server to determine whether the body information can be delivered to the mailbox of the recipient mail address; For directly sending the body information of the forwarding e-mail only to the intended recipient e-mail address. Those comprising and.
[0024]
Also, in the present invention, in any one of the above-described e-mail transfer programs for a plurality of e-mails waiting to be transmitted having the same body information, the plurality of e-mails waiting to be transmitted include only a text position common to each body information. This is a broadcast mail having different texts, and the text at the common text position is replaced with the same substitute character to have the same text information.
[0025]
Further, the electronic mail transfer program according to the present invention includes a step of the transfer server classifying the plurality of e-mails waiting for transmission for each same sender, and the step of the transfer server classifying the plurality of e-mails classified for each same sender into the same text. A step of classifying the information for each same body, and a step of the transfer server taking out a recipient mail address of the e-mail classified for each body from the header file of each of the e-mails and compiling the same for each same destination domain; Creating one transfer e-mail consisting of one header file and the body file of the same body information, and the transfer server is configured to transfer the destination domain from the remote port of the transfer server without passing through the transfer channel of the relay server. Directly connect to the mail server, and the mailbox of each recipient e-mail address will be Determining whether or not the mail information exists in the mail server of the destination domain, and the transfer server directly sends the body information of the transfer e-mail to the mail server of the destination domain only to the recipient mail address where the mailbox exists. Transmitting, and for the recipient mail address where the mailbox does not exist, the transfer server creating one e-mail for each sender mail address with the recipient mail address as the body information and transmitting to the sender mail address And
[0026]
Further, in the present invention, in the electronic mail transfer program for generating an electronic mail for transfer, after the electronic mail for transfer is created, two or more destination domains are added to a recipient mail address of a header file of the electronic mail for transfer. If the name exists, the e-mail transfer program itself is copied by one less than the number of the destination domain names, and the destination domain of the mail server connected by the transfer server by the e-mail transfer program itself. The mail servers of the different destination domains except for the above are connected by the transfer server by the copy electronic mail transfer program.
[0027]
Further, an electronic mail transfer server according to the present invention is provided with a storage unit for storing any one of the electronic mail transfer programs, and is operated by the electronic mail transfer program.
[0028]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0029]
Embodiment 1 FIG.
[0030]
FIG. 1 is a block diagram of a computer network including a telephone according to an embodiment of the present invention, FIG. 2 is a block diagram of a mail server shown in FIG. 1, and FIG. 3 is a block diagram of an auxiliary storage unit shown in FIG. 4 is a block diagram showing a configuration when the mail server shown in FIG. 1 operates as a sending / receiving SMTP, FIG. 5 is a block diagram showing a main storage unit shown in FIG. 2, and FIGS. In these figures, 1 is an Internet network, 2 is an
[0031]
As shown in FIG. 2, the
[0032]
As shown in FIG. 3, the
[0033]
Next, the first trader who owns the first PC 3 sets each of the client PCs 9a #, 9b #,... Having the first
[0034]
The first trader uses his / her own e-mail address (for example, “daiichi {isp.ne.jp}”) as the sender's e-mail address, and sets each recipient's e-mail address to each e-mail address set in each of the
[0035]
Then, the domain name of the
[0036]
Next, an e-mail transfer method will be described.
[0037]
First, as shown in FIG. 6, under the control of the
[0038]
If there is no
[0039]
In step s4, if there is no
[0040]
In step s7, when the writing of the recipient e-mail address is completed for the one
[0041]
Subsequently, as shown in FIG. 10, under the control of the
[0042]
Subsequently, as shown in FIG. 11, under the control of the
[0043]
In step s6, the writing of the recipient e-mail address of each e-mail for all the
[0044]
In step s16, if there is unprocessed
[0045]
Subsequently, it is determined whether or not the number of domain names stored in the
[0046]
That is, in the active e-mail transfer program stored in the transfer
[0047]
Even when the electronic mail transfer program itself is copied to the copy program storage unit 21, the electronic mail transfer program itself and each copy electronic mail transfer program operate independently, so that the electronic mail transfer program is determined by the determination in step s19. Is the same as the operation of the electronic mail transfer program itself in the case where is not copied, so that the processing procedure of one electronic mail transfer program will be described in the following description.
[0048]
First, as shown in FIG. 13, the recipient mail address (for example, "aaa@a.com$") at the head position corresponding to the electronic mail transfer program in the
[0049]
In step s22, if the mail server can be specified, as shown in FIG. 14, the destination domain is connected from the remote port (for example, port 23) of the transfer server (transmission side mail server) 2a without passing through the transfer channel of the relay server. Remote connection to establish a direct connection to the receiving side mail server (first receiving side mail server 7) (for example, "telnet @ <IP address of destination domain> {TCP: 25}") (step s27), If the connection has not been made (step s28), it is determined whether or not the connection has been tried a predetermined number of times (step s29). If the connection has not been made after the predetermined number of times, the destination is controlled by the
[0050]
In the step s28, a direct connection can be established between the remote port (23rd port) of the
[0051]
Subsequently, as shown in FIG. 17, there is a recipient mail address (“aaa@a.com$”) whose response code is received as an argument in the “RCPT {TO}” command from the first reception
[0052]
In step s37, if there is no recipient e-mail address to be taken out, that is, if it is determined whether or not transfer is possible for all recipient e-mail addresses having the first
[0053]
In step s47, if it is the electronic mail transfer program itself, as shown in FIG. 21, it is determined whether there is an unsendable mail 31 (step s49), and the
[0054]
In step s50, if the sender's e-mail address cannot be specified, it is stored for a desired period.
[0055]
In the e-mail transfer method according to the present embodiment,
[0056]
The
[0057]
In addition, since the plurality of
[0058]
In addition, one
[0059]
Further, in the e-mail transfer program according to the present embodiment, a plurality of
[0060]
Further, after directly establishing a connection between the remote port of the sending mail server and the remote port of the receiving mail server without passing through the transfer channel of the relay server, the data is transferred to SMTP in the receiving mail server. Since there is no connection between
[0061]
In addition, since the remote port (23rd port) of the
[0062]
Also, if there are a plurality of e-mails grouped by the same destination domain due to the difference in the body information, the remaining number of e-mails will be sent without disconnecting the mail server of the destination domain. Mail can be processed, so depending on the network traffic status when connecting again and the load status of the mail server in the destination domain, it is necessary to take time to connect or avoid the case where it can not be connected be able to.
[0063]
Further, the
[0064]
Further, in the present embodiment, the
[0065]
[0066]
The present embodiment is a broadcast mail in which the
[0067]
In the e-mail transfer method according to the present embodiment, after it is determined in the e-mail transfer programs shown in FIGS. 6 to 21 that sorting for each e-mail having the same body data has been completed (step s4). The
[0068]
In the present embodiment, when the plurality of
[0069]
When the electronic mail having the same body information as the substitute character is transferred to the mail server of the destination domain, the
[0070]
Embodiment 3 FIG.
[0071]
In the present embodiment, the e-mail transfer program shown in FIGS. 6 to 21 is installed in the second PC 6 owned by the second trader in the first embodiment, the e-mail transfer program is started, and the second PC 6 is transferred. This is an e-mail transfer method that operates as the
[0072]
【The invention's effect】
According to the present invention, even if the receiving mail server is in a high load state, it is possible to connect without burdening the receiving mail server, to maintain the connection, and furthermore, to cope with a large amount of electronic mail. It is possible to provide an e-mail transfer method and an e-mail transfer program capable of reducing a network load by reducing connection processing even when transmitting an e-mail, and an e-mail transfer server operated by the e-mail transfer program.
[0073]
Therefore, it can be said that the industrial applicability of the present invention is very high.
[Brief description of the drawings]
FIG. 1 is a block diagram of a computer network including a telephone according to an embodiment of the present invention.
FIG. 2 is a block diagram of the mail server shown in FIG. 1;
FIG. 3 is a block diagram of an auxiliary storage unit shown in FIG. 2;
FIG. 4 is a configuration block diagram when the mail server shown in FIG. 1 operates as a sending / receiving SMTP.
FIG. 5 is a block diagram of a main storage unit shown in FIG. 2;
FIG. 6 is a flowchart illustrating an electronic mail transfer program.
FIG. 7 is a flowchart illustrating an e-mail transfer program.
FIG. 8 is a flowchart illustrating an e-mail transfer program.
FIG. 9 is a flowchart illustrating an electronic mail transfer program.
FIG. 10 is a flowchart illustrating an electronic mail transfer program.
FIG. 11 is a flowchart illustrating an e-mail transfer program.
FIG. 12 is a flowchart illustrating an e-mail transfer program.
FIG. 13 is a flowchart illustrating an electronic mail transfer program.
FIG. 14 is a flowchart illustrating an electronic mail transfer program.
FIG. 15 is a flowchart illustrating an electronic mail transfer program.
FIG. 16 is a flowchart illustrating an electronic mail transfer program.
FIG. 17 is a flowchart illustrating an electronic mail transfer program.
FIG. 18 is a flowchart illustrating an electronic mail transfer program.
FIG. 19 is a flowchart illustrating an electronic mail transfer program.
FIG. 20 is a flowchart illustrating an e-mail transfer program.
FIG. 21 is a flowchart illustrating an electronic mail transfer program.
[Explanation of symbols]
1 Internet network
2 Mail server
2a @ Transfer server
3 First PC
4 ISP server
6 @ 2nd PC
7. First recipient mail server
8 Gateway
10 @ Second recipient mail server
12 Telephone network
14 control judgment device
14a @ CPU
14b Main storage unit
15 Auxiliary storage device
18 SMTP program storage
19 Spool area
20 Transfer program storage
21 Copy program storage
22 Work area
23 @ E-mail data (E-mail)
24 @ copy e-mail data (copy e-mail)
24a Body file
24b @ header file
25 First memory
26 Sender area
27 Same sentence area
28 second memory
29 E-mail data for transfer (e-mail for transfer)
30 Third memory
31 @ Unsendable mail
32 @ 4th memory
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002215383A JP3855104B2 (en) | 2002-07-24 | 2002-07-24 | E-mail transfer method, e-mail transfer program, and e-mail transfer server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002215383A JP3855104B2 (en) | 2002-07-24 | 2002-07-24 | E-mail transfer method, e-mail transfer program, and e-mail transfer server |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004064103A true JP2004064103A (en) | 2004-02-26 |
JP3855104B2 JP3855104B2 (en) | 2006-12-06 |
Family
ID=31937429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002215383A Expired - Lifetime JP3855104B2 (en) | 2002-07-24 | 2002-07-24 | E-mail transfer method, e-mail transfer program, and e-mail transfer server |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3855104B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007257587A (en) * | 2006-03-27 | 2007-10-04 | Fujitsu Ltd | Address information management system, management server and address book update method |
JP2016072809A (en) * | 2014-09-30 | 2016-05-09 | 株式会社Hde | Program and mail server |
-
2002
- 2002-07-24 JP JP2002215383A patent/JP3855104B2/en not_active Expired - Lifetime
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007257587A (en) * | 2006-03-27 | 2007-10-04 | Fujitsu Ltd | Address information management system, management server and address book update method |
JP2016072809A (en) * | 2014-09-30 | 2016-05-09 | 株式会社Hde | Program and mail server |
Also Published As
Publication number | Publication date |
---|---|
JP3855104B2 (en) | 2006-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6134582A (en) | System and method for managing electronic mail messages using a client-based database | |
US9742883B2 (en) | Method for recoverable message exchange independent of network protocols | |
US7653185B2 (en) | Universal document transport | |
JP3927834B2 (en) | Service providing system, method, program, and storage medium | |
US20030028647A1 (en) | E-mail protocol optimized for a mobile environment and gateway using same | |
US20030229717A1 (en) | Automated management and control of contact aliases | |
JP2007535011A (en) | Message exchange system | |
CA2496283C (en) | Method and apparatus for pushing e-mail to wireless communication devices | |
US20060086798A1 (en) | Deferred email message system and service | |
WO2004001612A1 (en) | Electronic mail delivery system, mail server, and mail client | |
JP3973352B2 (en) | E-mail mediation apparatus and e-mail delivery method | |
JP2012054623A (en) | Mail transfer system, mail gateway and data store server | |
JP2009169866A (en) | Electronic mail client and its control method, and computer program | |
JP2004064103A (en) | Electronic mail transfer method, electronic mail transfer program, and electronic mail transfer server | |
JP3876633B2 (en) | Email server | |
KR20040074118A (en) | An Internet Mail Method and System based on Sender Mailbox | |
JP4276105B2 (en) | E-mail system | |
JP2009188805A (en) | Electronic mail system | |
JP4892163B2 (en) | Electronic post office box system | |
JP2007219721A (en) | Electronic mail terminal, presence server, electronic mail system, electronic mail distribution method and program | |
EP1713220B1 (en) | Method and apparatus for pushing e-mail to wireless communication devices | |
JP3872044B2 (en) | Mail receiving system, router device, mail receiving method, and program for reducing load | |
WO2005117372A1 (en) | A method, protocol format and system for mobile email communication | |
JP4616859B2 (en) | Method and apparatus for pushing electronic mail to a wireless communication device | |
LEGGIO et al. | An analysis of instant messaging and e-mail access protocol behavior in wireless environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050525 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20050920 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20050920 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060207 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060214 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060613 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060726 |
|
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: 20060822 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060828 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 3855104 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100922 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110922 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120922 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130922 Year of fee payment: 7 |
|
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 |
|
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 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |