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 PDF

Info

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
mail
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
Application number
JP2002215383A
Other languages
Japanese (ja)
Other versions
JP3855104B2 (en
Inventor
Takashi Matsubara
松原 高司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DAIICHI BUSSAN KK
Original Assignee
DAIICHI BUSSAN KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DAIICHI BUSSAN KK filed Critical DAIICHI BUSSAN KK
Priority to JP2002215383A priority Critical patent/JP3855104B2/en
Publication of JP2004064103A publication Critical patent/JP2004064103A/en
Application granted granted Critical
Publication of JP3855104B2 publication Critical patent/JP3855104B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic mail transfer method whereby an electronic mail transfer server can be connected to a receiver side mail server without imposing a load onto the receiver side mail server even when the receiver side mail server is heavy loaded, can maintain the connection, and further decrease the connection processing amount even in the case of transmitting many electronic mail items so as to relive the load of a network. <P>SOLUTION: In the electronic mail transfer method, after collecting recipient mail addresses in a plurality of electronic mail items 24 whose transmission is awaited by each of the same destination domains, the transfer server 2a is directly connected to a mail server of a destination domain not through a transfer channel of a relay server from a remote port of the transmission server 2a, discriminates whether or not the mail box of each of the collected recipient mail addresses exists in the mail server of the destination domain, and directly transmits the electronic mail items only to the recipient mail addresses wherein the mail box exists in the mail server of the destination domain. <P>COPYRIGHT: (C)2004,JPO

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 port 25 to port 25 of the receiving mail server. If the connection fails, return the e-mail to be transferred to the spool area, and if the connection is successful and the connection between the sending mail server and the receiving mail server can be established, The e-mail is transmitted based on the procedure of the communication method RFC821. That is, between the SMTP of the sending mail server (sending SMTP) and the SMTP of the receiving mail server (receiving SMTP), the sending mail server sends a "HELO" command to notify the receiving mail server of the start of transmission. And the receiving mail server that has received the "HELO" command sends a response code "250 @" to notify the normal end of the requested command, and the sending mail server receives an e-mail after receiving the response code "250 @". Command "MAIL @ FROM: {<sender mail address>}" to notify the sender's e-mail address, and the command "RCPT @ TO" to notify the recipient e-mail address after receiving the response code "250 @" from the receiving mail server. : <Recipient email address> ” To. Upon receiving the “RCPT @ TO: {<recipient mail address>}” command, the receiving mail server extracts the domain information on the right side of “@” included in the “recipient mail address”, and the domain information points to itself. If the user information on the left side of "@" is registered in the reception refusal list, or if the domain information does not point to itself, as a result of the inquiry about the destination address to the DNS @ server, If the global IP address of the domain information could not be obtained, an error code is transmitted to the transmitting mail server. If distribution and transfer are possible, the response code "250 @" is transmitted. Upon receiving the response code "250 @", the transmitting mail server transmits a "DATA" command notifying the start of the transmission of the text data (text information), and the response code "354" for starting the input of the text data from the receiving mail server. After receiving "Start \ mail \ input: \ end \ with \ <CRLF> \. <CRLF> \", the main body data of the e-mail and "@ <CRLF> @. <CRLF> @" indicating the end of the e-mail are transmitted, and the response code " After receiving "$ 250", a "QUIT" command for notifying the end of transmission is transmitted. The receiving mail server transmits a response code "221 #" notifying the closing of the connection to the "QUIT" command to the transmitting mail server, so that the receiving mail server is located between the transmitting mail server and the receiving mail server. The connection is broken.
[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 port 25 of the sending mail server from the port 25 of the receiving mail server, and then connected to the SMTP of the sending mail server and the SMTP of the receiving mail server based on the communication method. The e-mail is frequently transmitted and received, so that the operation load on the receiving mail server that frequently receives these e-mails is significantly increased, whereby the path bandwidth to the receiving mail server is suppressed and a connection is established. There is a phenomenon that you cannot do it.
[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 port 25 of the transmitting mail server to the port 25 of the receiving mail server. Connection to port After a connection is established between port 25 of the sending mail server and port 25 of the receiving mail server, processing is passed to the application layer, which is an upper layer of the transport layer. In this case, since the communication protocol is determined based on the port number of the TCP @ header and the data is passed to the SMTP using the 25th port, the 25th port of the receiving mail server cannot be connected due to a high load. If the e-mail is forwarded based on the analysis of the current situation that the connection cannot be established, and even if the connection can be established, the SMTP of the receiving mail server becomes unresponsive under heavy load, Direct connection from the remote port of the mail server to the receiving mail server of the e-mail destination domain To establish a direct connection between the remote port of the sending mail server and the remote port of the receiving mail server without going through the transfer channel of the relay server, If the data is passed to port 25, the connection is not established between port 25 of the sending mail server and port 25 of the receiving mail server. Can easily connect to the receiving mail server, and by passing the data from the remote port of the receiving mail server to the SMTP of port 25, the receiving mail server becomes the contact point of port 25 as a result. However, since the sending mail server is not port 25, the SMTP of the receiving mail server Is not affected by the SMTP of the sending mail server, so it is possible to maintain the connection without putting a burden on the receiving mail server, and that the forwarded e-mail is sent to the same destination domain. After summarizing each data, it is connected directly to the receiving mail server of the destination domain by the same method, and whether or not each electronic mail can be delivered by the receiving mail server of the destination domain while the connection is established. If only the e-mail received by the receiving mail server is sent after the judgment, the connection processing can be reduced even when a large amount of e-mail is sent, so that the network load can be reduced. The above-mentioned technical problem has been achieved by obtaining remarkable knowledge.
[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 SMTP receiving server 2b # (see FIG. 4) for receiving e-mails, and FIG. 6 to FIG. And a transfer server 2a # for transferring based on the e-mail transfer program shown in FIG. It is connected to the Internet network 1. Reference numeral 3 denotes a first PC owned by a first broadcast mail provider (hereinafter, also simply referred to as a "first trader") that transmits information by e-mail, and has a jurisdiction over an e-mail address of the first trader. The ISP server 4 is connected to a plurality of client PCs (represented by reference numeral 5 in FIG. 1) using the ISP server 4 as a provider. Reference numeral 6 denotes a second PC owned by a second broadcast mail provider (hereinafter, also simply referred to as a "second trader") that acquires a global IP address and transmits information on the products handled by the company. . Reference numeral 7 denotes a first receiving-side mail server connected to the Internet 1 via a gateway 8, and the first receiving-side mail server 7 has a plurality of client PCs (in FIG. 9b} is connected. Reference numeral 10 denotes a second receiving mail server owned by the telephone company. The second receiving mail server 10 has a plurality of client PCs (represented by reference numeral 11a in FIG. 1) with the telephone company as a provider. And a telephone network 12 under the jurisdiction of the telephone company. A plurality of mobile telephones (telephones) (telephones) (telephones) which can connect to the Internet and have an e-mail transmission / reception function are connected to the telephone network 12. 1 is representatively shown as 13a #).
[0031]
As shown in FIG. 2, the mail server 2 includes a control determination device 14 including a so-called CPU 14a including a control unit, an operation unit, and a register and a main storage unit 14b #, and is connected to the control determination device 14. And an e-mail transfer program shown in FIGS. 6 to 21 which operates as the SMTP reception server 2b # and operates as the transfer server 2a # based on the procedure of the communication method RFC No. 821. An auxiliary storage device 15 connected thereto, an input determination unit 16 connected to the control determination device 14 for controlling whether or not connection from the Internet 1 can be performed at the OS level, and determining whether or not data output to the Internet 1 is possible at the OS level. And an output determination unit 17 to be controlled. Thereby, the mail server 2 becomes the SMTP receiving server 2b # by the receiving side SMTP when receiving the electronic mail, and becomes the transfer server 2a # by the above-mentioned electronic mail transfer program when transferring the electronic mail. Therefore, the mail server 2 has an SMTP receiving server 2b # for receiving e-mails and a transfer server 2a # for transferring e-mails by respective programs.
[0032]
As shown in FIG. 3, the auxiliary storage device 15 has an SMTP program storage unit 18 storing the SMTP reception server program, and a spool area 19 for temporarily storing the e-mail received by the SMTP reception server 2b #. A transfer program storage unit 20 (storage means) storing the e-mail transfer program, a copy program storage unit 21 used as an area for copying and storing the e-mail transfer program in the transfer program storage unit 20; A work area 22 is provided as an area for copying and storing the e-mail in the spool area 19.
[0033]
Next, the first trader who owns the first PC 3 sets each of the client PCs 9a #, 9b #,... Having the first receiving mail server 7 as the destination domain of the e-mail and the second receiving mail server 10 as the destination domain of the e-mail. , A mobile phone 13a,..., Etc., and a second trader who owns the second PC 6 has the same client PCs 9a, 9b,..., Each client PC 11a,. A case where a broadcast mail is transmitted to...
[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 client PCs 9a, 9b. For example, “aaa@a.com”, “ccc @ a.com”, “fgt @ a.com”, “ert @ a.com”, “zes @ a.com”), the client PCs 11a. Each e-mail address (for example, "bbb @ b.ne.jp @", "asd @ b.ne.jp @", "wqa @ b.ne.jp @") set in the mobile phone 13a,. 1, each e-mail address (for example, “ddd {c.com}”, “xcv In order to send a broadcast e-mail with "{c.com}" and "opl @ c.com @"), start the mailer installed on the first PC 3 and enter the text of the e-mail to send the e-mail. create. Also, the second trader creates a broadcast mail in the same manner by selecting his / her own e-mail address (for example, “daini@company.com”) as the sender's mail address and selecting the recipient's mail address from, for example, a list of direct mail. I do.
[0035]
Then, the domain name of the SMTP receiving server 2b # in the mail server 2 is set as a destination in the SMTP server input field of each mailer, and a connection is established between the sending SMTP of each mailer and the receiving SMTP of the mail server 2. If it is established, the SMTP receiving server (receiving side mail server) 2b # is operated by the SMTP receiving server program, and the broadcast mail is transmitted to the mail server 2 based on the procedure of the communication method RFC821, and the secondary storage device 15 They are stored in the spool area 19 in the order of reception.
[0036]
Next, an e-mail transfer method will be described.
[0037]
First, as shown in FIG. 6, under the control of the CPU 14a, the electronic mail data 23,... Waiting for transmission stored in the spool area 19 of the auxiliary storage device 15 are copied (copied) to the work area 22 (step s1). ), And then sorts all the copied e-mail data 24,... Waiting for transmission, copied to the work area 22 for each sender (for example, "daiichi @ isp.ne.jp @", "daiini@company.com}). It is determined whether or not the sorting has been completed (step s2). If there is unclassified e-mail data 24, under the control of the CPU 14a, the one uncategorized e-mail data 24 from the work area 22 is stored in the main storage unit 14b. Of the sender's e-mail address written in the header of the e-mail. If the sender area 26 is not in the work area 22, the sender area 26 is created in correspondence with the sender mail address, and the e-mail data 24 is moved from the first memory 25 into the sender area 26 and stored therein. If the sender area 26 corresponding to the sender mail address is already in the work area 22, the e-mail data 24 is moved from the first memory 25 into the sender area 26 and stored, and the process jumps to step s2 (step s3). ). In step s1, the electronic mail data 23,... Of the spool area 19 is copied to the work area 22 so that the electronic mail data 23,. A processed flag is given.
[0038]
If there is no unclassified e-mail data 24 in the work area 22 in the step s2, as shown in FIG. 7, all the e-mail data 24 classified and classified for each sender in the work area 22 are displayed. It is determined whether the sorting for each e-mail having the same body data (body information: body text) has been completed (step s4). If there is unclassified e-mail data 24, it is still the same under the control of the CPU 14a. One uncategorized e-mail data 24 in the sender area 26 in which the classification for each text has not been completed is taken out to the first memory 25 of the main storage unit 14b #, and the same e-mail data corresponding to the text data of the e-mail data 24 has already been obtained. If the sentence area 27 is in the sender area 26, the e-mail data 24 is moved from the first memory 25 to the same sentence area 27. If the corresponding sentence area 27 is not in the sender area 26, the same sentence area 27 corresponding to the body data of the e-mail data 24 is created in the sender area 26 and the e-mail data 24 is stored. The program moves from the first memory 25 to the same sentence area 27 and stores it, and jumps to step s4 (step s5).
[0039]
In step s4, if there is no unclassified e-mail data 24 in each sender area 26, it is determined whether or not the recipient e-mail address of each e-mail has been written for all the same sentence areas 27 as shown in FIG. If it has not been completed yet (step s6), it is determined whether or not the writing of the recipient e-mail address has been completed for all the e-mails in one and the same sentence area 27 (step s7). For example, under the control of the CPU 14a, the unprocessed electronic mail data 24 in the one same sentence area 27 is taken out to the first memory 25 of the main storage unit 14b #, and the recipient mail address (for example, Main memory assigned with data of “aaa {a.com}” corresponding to the one same sentence area 27. Is stored in the second memory 28 of 14b jumps to step 7 (step s8). Thereby, for example, the recipient mail address of each e-mail stored in the same sentence area 27 in the sender area 26 corresponding to the sender mail address “daiichi {isp.ne.jp}”: “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 @ ", and" opl@c.com ". com @ "is sequentially stored in the second memory 28 following" aaa {a.com} ".
[0040]
In step s7, when the writing of the recipient e-mail address is completed for the one same sentence area 27, the address is stored in the second memory 28 of the main storage unit 14b # under the control of the CPU 14a, as shown in FIG. The recipient mail addresses are rearranged in the second memory 28 for each same destination domain name (step s9). Thereby, for example, "aaa @ a.com @", "ccc@a.com$", "fgt@a.com$", "ert@a.com$", "zes@a.com$", "bbb@b.com." ne.jp @ "," asd @ b.ne.jp @ "," wqa @ b.ne.jp @ "," ddd @ c.com @ "," xcv @ c.com @ ", and" opl @ c.com @ "in that order. Sorted. Next, since the body of each copy-ready e-mail waiting for transmission stored in the same sentence area 27 corresponding to the second memory 28 is the same body information, the body file 24a of one piece of e-mail data 24 is provided. Only the text file 24a # of the same sentence in all other e-mails is deleted (step s10), and the file name of the remaining text file 24a # (the received e-mail is stored in the spool area. The file name is automatically given, and the header file of the mail is given a header file name of the mail, for example, "Qbxxxxxxald @", and the body file is given the file name of the body data "dbxxxxxxald @". "Bxxxxxxaald" after the second character is a common character string. That.) To load the CPU14a (step s11).
[0041]
Subsequently, as shown in FIG. 10, under the control of the CPU 14a, the CPU 14a deletes one leading "d" character indicating a text file from the file name of the text data (for example, "dbxxxxxxald @") (step S12). s12) With respect to the header file 24b # of each e-mail in the same sentence area 27 in which one body file 24a # remains, a new file name "bxxxxxxaald" in which the leading "d" is deleted and the header file name of the e-mail The header file 24b # of all the other mails is deleted except the header file of the matching file name "Qbxxxxxxald @" from the second character (step s13). As a result, in the same sentence area 27, only one header file 24b # having the file name "Qbxxxxxxald #" and one body file 24a # having the file name "dbxxxxxxalald #" remain.
[0042]
Subsequently, as shown in FIG. 11, under the control of the CPU 14a, all the recipient mail addresses described in the header file 24b # of the remaining e-mail are deleted (step s14), and the same sentence area 27 being processed is deleted. The list of the sorted recipient mail addresses stored in the second memory 28 assigned to the header file 24b # is inserted and described in the empty header file 24b # where all the recipient mail addresses have been deleted in step s14. And save (step s15), and jump to step s6.
[0043]
In step s6, the writing of the recipient e-mail address of each e-mail for all the same sentence areas 27 is completed, so that the recipient e-mail addresses are grouped for the same destination domain in the work area 22. Is transmitted to each sender (“daiichi@isp.ne.”), Which is composed of one header file 24b # in which the header file 24b # is described and one body file 24a # paired with the header file 24b #. jp @ "," daini {company.com} "). Then, in step s16 following this, as shown in FIG. 12, it is determined whether or not the transfer e-mail data 29 exists in the work area 22, and if not, the e-mail transfer program ends.
[0044]
In step s16, if there is unprocessed transfer e-mail data 29, one set of unprocessed transfer e-mail data 29 is taken out of the work area 22 and stored in the first memory 25 under the control of the CPU 14a. (Step s17), the recipient mail addresses summarized for each same destination domain of the header file 24b # are written out to the second memory 28 corresponding to the body file 24a # of the electronic mail data 29, and the destination domain name in the header file 24b # is written. The number of different domains and the head position at which the domain name changes are checked by the recipient mail address stored in the second memory 28, and the third memory 30 corresponding to the second memory 28 provided in the main storage unit 14b # is provided. The number of the domain name and the head position are stored (step s 8). According to the step s18, according to the example, in the second memory 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 @ "and" opl @ c.com @ "are stored in this order, so the different destination domain names are" a.com @ "," b.ne.jp @ "and" c.com @ ", and the different domain names The first position where the domain name changes is the first line of the domain name "a.com @", the sixth line of the domain name "b.ne.jp $", and the ninth line of the domain name "c.com $". What .
[0045]
Subsequently, it is determined whether or not the number of domain names stored in the third memory 30 is one (step s19). If the number of domain names is not one, the transfer program storage unit 20 is controlled by the CPU 14a. The stored active e-mail transfer program is copied to the copy program storage unit 21 by one less than the number of the domain names (step s20). Thereafter, the running e-mail transfer program itself continues to process the destination domain at the first head position stored in the third memory 30, and the copied e-mail copied to the copy program storage unit 21. The transfer program simultaneously executes processing for each of the destination domains at the second and subsequent top positions.
[0046]
That is, in the active e-mail transfer program stored in the transfer program storage unit 20, for example, a recipient mail address addressed to the domain name “a.com @” in the first line stored in the third memory 30 Transfer processing is executed for “aaa@a.comco”, “ccc @ a.com”, “fgt @ a.com”, “ert @ a.com”, and “zes @ a.com”, and a copy program storage unit. The first copy electronic mail transfer program copied to the recipient 21 is a recipient mail address “bbb @ b” addressed to the domain name “b.ne.jp @” in the second line stored in the third memory 30. .Ne.jp}, "asd {b.ne.jp}", and "wqa {b.ne.jp}", and executes the copy program. The second copy electronic mail transfer program copied to the section 21 is a recipient mail address “dddd@c.d” addressed to the domain name “c.com @” on the third line stored in the third memory 30. com @ "," xcv @ c.com @ ", and" opl @ c.com @ ".
[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 third memory 30 is extracted from the header file 24b #, and According to the destination domain (“a.com @”) of the mail address, a request for name resolution is made to the DNS @ server closest to the net via the Internet network 1 to check the IP address, and the mail server using this IP address is checked (step). s21). Next, it is determined whether the mail server of the destination domain has been specified (step s22). If the mail server cannot be specified, the recipient mail address (“a.com @”) of the destination domain (“a.com @”) whose mail server could not be specified is determined. "Aaa @ a.com @", "ccc@a.com$", "fgt@a.com$", "ert@a.com$", "zes@a.com$"), so that the CPU 14a With this control, one e-mail describing the recipient e-mail address and "cannot be sent" is created and transmitted to the sender e-mail address ("daiichi {isp.ne.jp}") (step s23). Thus, the recipient mail of the destination domain (“a.com @”) that could not be processed stored in the second memory 28 Dress ("aaa @ a.com @", "ccc @ a.com @", "fgt @ a.com @", "ert @ a.com @", "zes @ a.com @") and the corresponding address in the header file 24b # Recipient email addresses of the destination domain (“aaa @ a.com @”, “ccc@a.com”, “fgt@a.com”, “ert@a.com”, “zes@a.com”) It is deleted (step s24), and it is determined whether or not the operating e-mail transfer program is a copy e-mail transfer program generated by copying (step s25). The copy e-mail transfer program is stopped and erased from the copy program storage unit 21 (step s26). To terminate the management.
[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 CPU 14a. Recipient mail address (“a”) addressed to the mail server (first receiving side mail server 7) of the domain. a @ a.com, ccc @ a.com, “fgt @ a.com”, “ert @ a.comz”, “zes @ a.com”) and the text file of the same sentence Is returned to the spool area 19, and the recipient mail address of the destination domain stored in the second memory 28 and the recipient mail address of the destination domain in the header file 24b # are prevented from being duplicated. (Step s30), and similarly to steps s25 and s26, whether the operating e-mail transfer program is a copy e-mail transfer program generated by copying is determined. Judgment (step s31), if the copy electronic mail transfer program, the copy electronic mail Stop feeding program was deleted from the copy program storage unit 21 is terminated (step s32) process. If the predetermined number of times has not been performed in step s29, the process jumps to step s27.
[0050]
In the step s28, a direct connection can be established between the remote port (23rd port) of the transfer server 2a # and the remote port (23rd port) of the first receiving mail server 7 (receiving mail server). In this case, since the port 25 is specified as an argument at the time of remote connection, the data is passed to the SMTP at the first receiving side mail server 7 and the port 25 becomes the window and the remote port of the transfer server 2a @ Transmission / reception starts between port 23) and port 25 of the first receiving mail server 7, and as shown in FIG. 15, the transfer server 2a # transmits the sending domain to the first receiving mail server 7. A "HELO" command is transmitted as an argument (step s33), and the OK information of the response code "250 @" is sent from the first receiving side mail server 7. (Step s34), the transfer server 2a # transmits the message to the first receiving side mail server 7 with the sender's mail address ("daiichi@isp.ne.jp}" added as an argument to the "MAILFROM #" command. (Step s35) As shown in FIG. 16, after receiving the OK information of the response code “250 °” from the first receiving side mail server 7 (Step s36), the first receiving side mail server is stored in the second memory 28. It is determined whether or not there is a recipient e-mail address to be taken out with the destination domain set to 7 (step s37). If there is an unprocessed recipient e-mail address, the recipient e-mail address stored in the second memory 28 E-mail addresses for the destination domain of the first receiving mail server 7 in the list are sequentially extracted one by one from the top. Then, using the extracted recipient mail address (“aaa@a.com}) as an argument, transmits a“ RCPT @ TO} command (“RCPT @ TO: {aaa@a.com}”) to the first receiving side mail server 7. (Step s38).
[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 side mail server 7, and It is determined whether it is OK information of “250 °” that can be delivered to the box (steps s39 and s40). If the OK information can be delivered, the process jumps to step s37, and if it is error information that it cannot be delivered. For example, under the control of the CPU 14a, as shown in FIG. 18, in preparation for notifying the sender that the recipient mail address (“aaa {a. One of the unsendable mails 31 to be transmitted is created and stored in the fourth memory 32 of the main storage unit 14b #. If the unsendable mail 31 has already been stored in the fourth memory 32, an unsendable recipient email address (“aaa@a.com}) is added. Then, the unreceivable recipient e-mail address (“aaa {a.com}”) is deleted from the recipient e-mail address list in the second memory 28, and the header file 24b of the transfer e-mail 29 currently being transmitted is processed. Deletes the unreceivable recipient mail address ("aaa@a.com$") from (step s41) and jumps to step s37.
[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 recipient mail server 7 as the destination domain, As shown in FIG. 19, a "DATA" command is transmitted from the transfer server 2a # to the first receiving side mail server 7 (step s42). Upon receiving the “DATA” command, the first receiving mail server 7 transmits a response code “354 {Start} mail input: {end with} <CRLF>. <CRLF>} to start inputting the text of the mail, and waits for input of the text of the mail. After receiving the response code, the transfer server 2a # takes out the body data from the combined body file 24a # and sends the body of the mail. When the body text transmission is completed, ". (Period) Is transmitted (step s43). When the first receiving mail server 7 receives the “•” command, the e-mail of the text is delivered to the mailbox of the recipient mail address that can be delivered, and the transfer server 2a # is sent from the first receiving mail server 7 After receiving the distribution end notification (step s44), a "QUIT" command for notifying the transmission end is transmitted (step s45), and the destination domain ("a .Com @)) ("aaa @ a.com @", "ccc@a.com$", "fgt@a.com$", "ert@a.com$", "zes@a.com$") And the recipient mail address (“aaa@a.com”, “ccc@a.co”) of the destination domain in the header file 24b #. , "Fgt@a.com$", "ert@a.com$", "zes@a.com$") (step s46), and the operating e-mail transfer program is generated by copying. It is determined whether or not the program is a copy electronic mail transfer program (step s47). If it is a copy electronic mail transfer program, the copy electronic mail transfer program is stopped and deleted from the copy program storage unit 21 (step s48). The process ends.
[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 unsendable mail 31 is stored in the fourth memory 32. If so, the created unsendable mail 31 is sent to the sender's (first trader's) email address ("daiichi@isp.ne.jp}") (step s50). If the mail 31 does not exist, the process jumps to step s16 in order to determine whether or not the transfer e-mail data 29 exists in the work area 22 as in the case of the copy electronic mail transfer program in steps s25 and s31.
[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, transfer server 2a # copies a plurality of e-mails (e-mail data) 23 waiting for transmission stored in spool area 19 to work area 22, and the copied data is transferred to work area 22. The recipient e-mail addresses of the plurality of copy e-mails (copy e-mail data) 24 waiting for transmission are extracted from the header file of the copy e-mail 24 and stored in the second memory 28 of the main storage unit 14b #. After the same destination domain is combined in the memory 28, the destination "destination" is not transmitted via the transfer channel of the relay server by the command "telnet {<IP address of destination domain> {TCP: 25}" from the remote port of the transfer server 2a #. Directly connect to the mail server of the domain in remote mode, and E-mail is sent directly to the mail server of the destination domain only by determining whether the mailbox of the mail address exists in the mail server of the destination domain. Since a direct connection is established between the remote port (the 23rd port) of the transfer server 2a # and the remote port (the 23rd port) of the mail server of the destination domain, the 25th transfer server 2a # Since a connection is not established between the port and the 25th port of the mail server, it is possible to easily connect to the mail server even when the SMTP load of the mail server is high, and the connection is established. Later, the data is passed to the SMTP of the mail server of the destination domain, and the transfer server 2a @ Since it is not the 25th port, the SMTP of the mail server is not affected by the SMTP of the transfer server 2a #, the connection can be maintained without burdening the mail server, and the same destination domain is used. Since only the e-mails received by the mail server are transmitted after being compiled for each case, the connection processing can be reduced even when transmitting a large amount of e-mails, and the network load can be reduced.
[0056]
The e-mail data 24 waiting for transmission of the copy stored in the work area 22 is classified for each e-mail having the same body data, and the recipient e-mail addresses in each e-mail are grouped for the same destination domain. Since the transfer e-mail 29 is composed of one body file 24a # and one header file 24b # having a plurality of recipient e-mail addresses, one or several large amounts of broadcast e-mails having the same sentence are created. , The connection processing can be further reduced, and the network load can be reduced.
[0057]
In addition, since the plurality of e-mails 24 waiting to be transmitted via the Internet are first classified for each sender, a non-sendable e-mail 31 having a recipient e-mail address having no mailbox as the body information can be created. The unsendable mail 31 is created for each sender's e-mail address. Even if there are many e-mails to the unsendable recipient's e-mail address, one unsendable mail 31 can be sent to the sender's e-mail address. Therefore, when a large amount of unsendable e-mail is transmitted, the number of connection processes can be reduced, and the network load can be reduced.
[0058]
In addition, one transfer e-mail 29 having one body file 24a # and one header file 24b # which collects the recipient e-mail addresses of the e-mails 24 for the same destination domain is created, and the destination domain is created. It is determined whether or not the body information of the body file 24a # can be delivered to the mailbox of the receiver mail address in the mail server of the mail server, and the body of the transfer e-mail 29 only for the receiver mail address that can be delivered. Because the information is sent directly, the email is reliably delivered to the mailbox.
[0059]
Further, in the e-mail transfer program according to the present embodiment, a plurality of e-mails 23 which are received by the receiving side SMTP of the mail server 2 via the Internet network 1 and stored in the spool area 19 and which are waiting for transmission are transferred. A step of copying to the work area 22 of the server 2a # (step s1); and a plurality of e-mails 24 waiting for transmission copied to the work area 22 are classified by the same sender and stored in each sender area 26 of the work area 22. (Step s2) and the step of storing the e-mails 24 classified for each identical sender for each identical body of the same body information in the same sentence area 27 of each sender area 26 (step s5). Recipient mail addresses of the e-mails 24 classified for each body text are obtained from the header file 24b # of each e-mail 24. (Steps s8 and s9) to output the information and store it in the second memory 28 of the main storage unit 14b # corresponding to the same sentence area 27, and rearrange the recipient mail addresses in the second memory 28 for each same destination domain. One transfer file including a header file 24b # composed of recipient mail addresses sorted in the second memory 28 and grouped for the same destination domain, and a text file 24a # composed of the same text information. In the step of creating the mail 29 (steps s10 to s15), if there are two or more destination domain names in the recipient mail address of the header file 24b # of the transfer e-mail 29, the transfer program storage unit 20 The stored e-mail transfer program itself is deducted from the number of the destination domain names by one. A step (steps s19, s20) of copying a small number to the copy program storage unit 21, and the transfer server 2a # by the electronic mail transfer program itself transfers the copied electronic mail transfer program to the mail server of one destination domain. Transfer server 2a # to the remote port (23) of each transfer server 2a # with respect to the mail server of the other different destination domain except the destination domain of the mail server connected by the transfer server 2a # by the electronic mail transfer program itself. Port) without directly passing through the transfer channel of the relay server to the mail server of the destination domain directly to determine whether the mailbox of each recipient mail address exists in the mail server of the destination domain, Mailbox exists (Steps s27, s28, s33 to s40) to determine whether or not distribution is possible, and only for recipient e-mail addresses that can be transmitted subsequently Directly transmitting the body information of the transfer e-mail 29 to the mail server of the destination domain (steps s42 to s44); and for the recipient e-mail address that cannot be transmitted due to the absence of a mailbox, etc. Transmitting one e-mail (unsendable e-mail) 31 created for each sender e-mail address having the address as the body information to the sender e-mail address (step s50). Since 2a @ operates, e-mails to be forwarded are grouped for the same destination domain Directly connects to the receiving mail server of the destination domain, and in a state where the connection is established, it is determined whether or not each electronic mail can be delivered by the receiving mail server of the destination domain. Since only the e-mail received by the mail server is transmitted, the connection processing can be reduced even when transmitting a large amount of e-mail, and the network load can be reduced. In addition, since the e-mail that cannot be sent is created as one e-mail with the recipient e-mail address as the body information and sent to the sender e-mail address, the number of sender e-mails equal to the number of e-mails that could not be forwarded was sent. It is possible to avoid the situation where the address reaches the address, and reduce the load factor of the electronic path band.
[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 port 25 of the sending mail server and port 25 of the receiving mail server, it is easy for the receiving side even if port 25 of the receiving mail server is under a heavy load. By connecting to the mail server and passing the data from the remote port of the receiving mail server to the SMTP of port 25, the receiving mail server becomes port 25 as a result, and the sending mail server becomes port 25. Because it is not a port, the SMTP of the receiving mail server is Not be affected from P, it is possible to hold the connection without placing a burden on the reception side mail server.
[0061]
In addition, since the remote port (23rd port) of the transfer server 2a # is directly remotely connected to the mail server of the destination domain without passing through the transfer channel of the relay server, the SMTP in the mail server of the destination domain is overloaded. Even when the load is applied, the mail server of the destination domain monitors the connection itself, performs the transmission / reception processing of the e-mail, and notifies the transfer server 2a # that the e-mail cannot be delivered. In this case, since the programs to be executed are different from each other, the load is substantially distributed, so that transmission / reception of the e-mail is not interrupted.
[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 e-mail transfer server 2a # according to the present embodiment is provided with a transfer program storage unit 20 storing the e-mail transfer program and a control determining device 14 for executing the e-mail transfer program. The transfer server 2a transfers an e-mail according to the e-mail transfer method and operates according to the e-mail transfer program. Therefore, even if the SMTP of the receiving mail server is in a high load state, the transfer server 2a # can easily transmit the e-mail. Can be connected, the connection can be maintained without imposing a load on the mail server, and the network load can be reduced.
[0064]
Further, in the present embodiment, the mail server 2 serves as a receiving-side SMTP that receives an e-mail from another sending-side mail server and an e-mail sent from a sender within its jurisdiction and stores the e-mail in the spool area 19. The active SMTP receiving server 2b # and the transfer server 2a # for transferring the e-mail waiting for transmission operate independently, and the mail server on the receiving side for the transfer server 2a # is communicated by the existing receiving-side SMTP. The mail server on the receiving side does not need to mount a new mail server for transmission / reception to / from the transfer server 2a #, so that it can be easily constructed on the current network.
[0065]
Embodiment 2 FIG.
[0066]
The present embodiment is a broadcast mail in which the e-mail 24 waiting for transmission stored in the work area 22 according to the first embodiment has a text that differs only in a common text position of each body information. This is an electronic mail transfer method for transferring the broadcast mail, and will be described with reference to FIGS.
[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 e-mails 24 having the same text data are grouped for each of the same text information, and there is no unclassified e-mail 24 in the sender area 26, and what remains in the sender area 26 is text data having different text information. In the case of the e-mail 24, the respective e-mail data 24 is sequentially taken out again to the first memory 25 of the main storage unit 14b #, and the text data of the e-mail 24 differs only in the text position where the text information is common. It is determined whether or not the e-mail 24 has a different text only in the common text position. After classifying by chapter position and storing the same in the same sentence area 27 in a similar manner, the e-mail data 24 stored in each of the same sentence areas 27 is sequentially taken out to the first memory 25 and the e-mail data 24 The text at the common text position in the body data is replaced with the same substitute character (for example, ! )) And store the same text information in the same sentence area 27, and jump to step s6 to determine whether or not the recipient mail address of each e-mail has been written for all the same sentence areas 27. It has become.
[0068]
In the present embodiment, when the plurality of e-mails 24 waiting to be transmitted are broadcast mails in which only the common sentence position of each text information is different, the sentence at the common sentence position is the same. Since a plurality of e-mails 24 waiting to be sent with the same body information replaced with substitute characters, a name such as "XX" for each customer is inserted at a common sentence position in the body of the broadcast e-mail. Even if it is done, replace the name with the name such as " ! , Etc., can be replaced, the result is an e-mail with the same body information, which can be combined as a single transfer e-mail 29.
[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 transfer server 2a # replaces the mail with the substitute character for the mail server of the destination domain. The original text data list may be separately transmitted to prompt the mail server to replace the text information of the e-mail with the original text. In addition, the substitute character may be a character string, but is replaced in the text, so that a special symbol (" ! )), May be a variable.
[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 server 2a #. In the present embodiment, the processing of steps s2 and s3 for classifying each sender of the e-mail transfer program in the first embodiment is omitted. 1 operates in the same manner as the first embodiment, so that the same operation and effect can be obtained.
[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)

転送サーバが、送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信することを特徴とする電子メール転送方法。After the transfer server collects the recipient mail addresses of the plurality of e-mails waiting to be transmitted for the same destination domain, the mail of the destination domain is transmitted from the remote port of the transfer server without passing through the transfer channel of the relay server. Directly connect to the server, determine whether the mailbox of each of the grouped recipient mail addresses exists in the mail server of the destination domain, and then check the recipient mail address where the mailbox exists. An e-mail transfer method, wherein the e-mail is directly transmitted to a mail server of the destination domain. 転送サーバが、同じ本文情報を持つ送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信することを特徴とする電子メール転送方法。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 transfer server transmits the e-mail to the remote port of the transfer server without passing through the transfer channel of the relay server. Directly connect to the mail server of the destination domain, determine whether the mailbox of each of the grouped recipient mail addresses exists on the mail server of the destination domain, and then determine the recipient whose mailbox exists. An electronic mail transfer method, wherein an electronic mail is directly transmitted to a mail server of the destination domain only to a mail address. 転送サーバが、インターネットを介して受信した送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信し、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信することを特徴とする電子メール転送方法。After the transfer server collects the recipient mail addresses of the plurality of e-mails waiting to be transmitted received via the Internet for each of the same destination domains, the transfer server does not pass from the remote port of the transfer server via the transfer channel of the relay server. Directly connect to the mail server of the destination domain, determine whether or not the mailbox of each of the grouped recipient mail addresses exists in the mail server of the destination domain, and then receive the mail in which the mailbox exists. Sends an e-mail directly to the mail server of the destination domain only to the person's mail address, and sends a single e-mail with the recipient's mail address as the body information for the recipient's mail address where there is no mailbox. The address is created for each address and sent to the sender's email address. E-mail transfer method. 転送サーバが、インターネットを介して受信した同じ本文情報となっている送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた後に該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続して該纏められた各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断して続いてメールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信し、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信することを特徴とする電子メール転送方法。The transfer server collects, for each of the same destination domains, recipient e-mail addresses of a plurality of e-mails waiting to be transmitted and having the same body information received via the Internet, from the remote port of the transfer server to the relay server. And directly connecting to the mail server of the destination domain without passing through the transfer channel of the destination domain to determine whether or not the mailbox of each of the grouped recipient mail addresses 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 mail address where the mailbox exists, and for the recipient mail address where the mailbox does not exist, the recipient mail address is used as the body information. One e-mail to be created for each sender e-mail address E-mail transfer method and transmitting. 転送サーバが、同じ本文情報となっている送信待機中の複数の電子メールの該本文情報からなる一つの本文ファイルと当該各電子メールの受取人メールアドレスを同じ宛て先ドメイン毎に纏めてなる一つのヘッダーファイルとを持つ一通の転送用電子メールを作成して当該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接接続して前記受取人メールアドレスのメールボックスに前記本文情報を配信可能であるか否かを判断して配信可能な受取人メールアドレスに対してのみ転送用電子メールの前記本文情報を直接送信することを特徴とする電子メール転送方法。The transfer server collects, for each of the same destination domains, one text file including the text information of a plurality of e-mails waiting to be transmitted and having the same text information, and a recipient mail address of each of the e-mails. A single transfer e-mail having one header file and directly connecting 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 setting the recipient e-mail address E-mail forwarding wherein the body information of the transfer e-mail is directly transmitted only to a recipient mail address that can be delivered by determining whether or not the body information can be delivered to a mailbox. Method. 送信待機中の複数の電子メールが、各本文情報の共通する文章位置のみ異なる文言となっている同報メールであって、該共通する文章位置の該文言を同じ代用文字に置き換えて同じ本文情報となっている送信待機中の複数の電子メールである請求項4又は請求項5記載の電子メール転送方法。A plurality of e-mails waiting to be transmitted are broadcast mails in which only the common text position of each text information is different from each other, and the text at the common text position is replaced with the same substitute character to obtain the same text information. The electronic mail transfer method according to claim 4 or 5, wherein the plurality of electronic mails are waiting for transmission. 転送サーバに、送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバへ直接送信させるステップとを含んでなることを特徴とする電子メール転送プログラム。Causing the transfer server to group recipient e-mail addresses of the plurality of e-mails waiting to be transmitted for each same destination domain; and allowing the transfer server to bypass the transfer channel of the relay server from the remote port of the transfer server. Connecting directly to the mail server of the destination domain; and causing the transfer server to determine whether or not the connected mail server of the destination domain has a mailbox for each of the grouped recipient mail addresses. And a step of causing the transfer server to directly send an e-mail only to a recipient mail address where a mailbox exists, to a mail server of the destination domain. 転送サーバに、同じ本文情報を持つ送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバへ直接送信させるステップとを含んでなることを特徴とする電子メール転送プログラム。Causing the transfer server to group recipient mail addresses of a plurality of waiting e-mails having the same body information for each of the same destination domains; and causing the transfer server to transfer the relay server from the remote port of the transfer server. Connecting directly to the mail server of the destination domain without passing through a channel; and determining whether the transfer server has a mailbox of each of the grouped recipient mail addresses in the connected mail server of the destination domain. And causing the transfer server to directly send an e-mail only to the recipient mail address where the mailbox exists, to the mail server of the destination domain. Mail transfer program. 転送サーバに、インターネットを介して受信した送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバへ直接送信させるステップと、転送サーバに、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信させるステップとを含んでなることを特徴とする電子メール転送プログラム。Causing the transfer server to group recipient mail addresses of a plurality of e-mails waiting to be transmitted received via the Internet for each of the same destination domains; and Connecting directly to a mail server of the destination domain without passing through a transfer channel, and determining whether the transfer server has a mailbox of each of the combined recipient mail addresses in the connected mail server of the destination domain. Determining whether or not the transfer server directly transmits an e-mail to the mail server of the destination domain only to the recipient mail address where the mailbox exists; and Recipient email addresses that are not The create a single e-mail to text information for each sender email address e-mail transfer program characterized by comprising a step of transmitting to the sender mail address. 転送サーバに、インターネットを介して受信して同じ本文情報となっている送信待機中の複数の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めさせるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで該宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、接続した該宛て先ドメインのメールサーバに前記纏められた各受取人メールアドレスのメールボックスが存在するか否かを判断させるステップと、転送サーバに、メールボックスが存在する受取人メールアドレスに対してのみ電子メールを該宛て先ドメインのメールサーバに直接送信させるステップと、転送サーバに、メールボックスが存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信させるステップとを含んでなることを特徴とする電子メール転送プログラム。Causing the transfer server to combine recipient e-mail addresses of a plurality of e-mails waiting to be transmitted, which have the same body information received via the Internet, for each of the same destination domains; and Connecting directly from the remote port of the server to the mail server of the destination domain without passing through the transfer channel of the relay server; Determining whether a mailbox of the address exists; and causing the transfer server to directly send an e-mail only to the recipient mail address where the mailbox exists, to the mail server of the destination domain. If the forwarding server has a recipient email address that does not have a mailbox, E-mail transfer program, characterized in that to create a single e-mail to the payee mail address and text information for each sender email address comprising a step of transmitting to the sender mail address. 請求項7乃至請求項10に記載の電子メール転送プログラムであって、送信待機中の電子メールにおける受取人メールアドレスを同一の宛て先ドメイン毎に纏めた際に、二つ以上の宛て先ドメイン名が存在する場合には、当該電子メール転送プログラム自身が該宛て先ドメイン名の数より一つ少ない数だけ複写されて当該電子メール転送プログラム自身による転送サーバによって接続されるメールサーバの宛て先ドメインを除いた残りの異なる宛て先ドメインのメールサーバは複写されたコピー電子メール転送プログラムによる転送サーバによって接続することを特徴する電子メール転送プログラム。11. The e-mail transfer program according to claim 7, wherein, when the e-mail addresses of the e-mails waiting for transmission are grouped for the same destination domain, two or more destination domain names are set. 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 is changed. An e-mail transfer program, characterized in that the mail servers of the remaining different destination domains except the connection are connected by a transfer server by means of a copied copy e-mail transfer program. 転送サーバに、同じ本文情報となっている送信待機中の複数の電子メールの該本文情報からなる一つの本文ファイルと当該各電子メールの受取人メールアドレスを同じ宛て先ドメイン毎に纏めてなる一つのヘッダーファイルとを持つ一通の転送用電子メールを作成させるステップと、転送サーバに、該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接接続させるステップと、転送サーバに、前記受取人メールアドレスのメールボックスに前記本文情報を配信可能であるか否かを判断させるステップと、転送サーバに、配信可能な受取人メールアドレスに対してのみ転送用電子メールの前記本文情報を直接送信させるステップとを含んでなることを特徴とする電子メール転送プログラム。In the transfer server, one text file composed of the text information of a plurality of e-mails waiting to be transmitted and having the same text information and a recipient mail address of each of the e-mails are collected for each same destination domain. Generating a single transfer e-mail having two header files, and 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 causing the transfer server to determine whether the body information can be delivered to the mailbox of the recipient mail address. Directly transmitting the body information of the mail. Program. 送信待機中の複数の電子メールが、各本文情報の共通する文章位置のみ異なる文言となっている同報メールであって、該共通する文章位置の該文言を同じ代用文字に置き換えて同じ本文情報となっている送信待機中の複数の電子メールである請求項10又は請求項12記載の電子メール転送プログラム。A plurality of e-mails waiting to be transmitted are broadcast mails in which only the common text position of each text information is different from each other, and the text at the common text position is replaced with the same substitute character to obtain the same text information. 13. The electronic mail transfer program according to claim 10, wherein the plurality of electronic mails are waiting for transmission. 転送サーバが送信待機中の複数の電子メールを同一差出人毎に分類するステップと、転送サーバが同一差出人毎に分類された複数の電子メールを同じ本文情報の同一本文毎に分類するステップと、転送サーバが同一本文毎に分類された前記電子メールにおける受取人メールアドレスを該各電子メールのヘッダーファイルから取り出して同一の宛て先ドメイン毎に纏めた一つのヘッダーファイルと前記同じ本文情報の本文ファイルとからなる一つの転送用電子メールを作成するステップと、転送サーバが該転送サーバのリモートポートから中継サーバの転送チャンネルを介さないで前記宛て先ドメインのメールサーバに直接接続して前記各受取人メールアドレスのメールボックスが該宛て先ドメインのメールサーバに存在するか否かを判断するステップと、転送サーバがメールボックスの存在する受取人メールアドレスに対してのみ転送用電子メールの前記本文情報を該宛て先ドメインのメールサーバに直接送信するステップと、転送サーバがメールボックスの存在しない受取人メールアドレスについては該受取人メールアドレスを本文情報とする一つの電子メールを差出人メールアドレス毎に作成して該差出人メールアドレスに送信するステップとを含んでなることを特徴とする電子メール転送プログラム。A step of the transfer server classifying a plurality of e-mails waiting for transmission for each same sender; a step of the transfer server classifying a plurality of e-mails classified for each same sender for each same body of the same body information; The server extracts a recipient mail address in the e-mail classified by the same body from the header file of each of the e-mails and collects the same for each of the same destination domains, and a body file of the same body information. Creating a single transfer e-mail, the transfer server connecting directly 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, Determine whether the mailbox of the address exists on the mail server of the destination domain Step: the transfer server directly transmitting 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, and the transfer server does not have the mailbox Creating an e-mail with the recipient e-mail address as the body information for each sender e-mail address and transmitting the e-mail to the sender e-mail address. program. 請求項12又は請求項14に記載の電子メール転送プログラムであって、転送用電子メールを作成した後、該転送用電子メールのヘッダーファイルの受取人メールアドレスに二つ以上の宛て先ドメイン名が存在する場合には、当該電子メール転送プログラム自身が該宛て先ドメイン名の数より一つ少ない数だけ複写されて当該電子メール転送プログラム自身による転送サーバによって接続されるメールサーバの宛て先ドメインを除いた残りの異なる宛て先ドメインのメールサーバは複写されたコピー電子メール転送プログラムによる転送サーバによって接続される電子メール転送プログラム。The e-mail transfer program according to claim 12 or claim 14, wherein after creating the e-mail for transfer, two or more destination domain names are included in the recipient e-mail address of the header file of the e-mail for transfer. If there is, 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 is excluded. The remaining mail servers of different destination domains are connected by the transfer server by the copied copy e-mail transfer program. 請求項7乃至請求項15に記載の電子メール転送プログラムを記憶させた記憶手段を設けてなり、該電子メール転送プログラムにより稼働することを特徴とする電子メール転送サーバ。16. An e-mail transfer server, comprising storage means for storing the e-mail transfer program according to claim 7, wherein the e-mail transfer server is operated by the e-mail transfer program.
JP2002215383A 2002-07-24 2002-07-24 E-mail transfer method, e-mail transfer program, and e-mail transfer server Expired - Lifetime JP3855104B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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