JP2002051071A - Electronic mail automatic transfer system - Google Patents

Electronic mail automatic transfer system

Info

Publication number
JP2002051071A
JP2002051071A JP2000235631A JP2000235631A JP2002051071A JP 2002051071 A JP2002051071 A JP 2002051071A JP 2000235631 A JP2000235631 A JP 2000235631A JP 2000235631 A JP2000235631 A JP 2000235631A JP 2002051071 A JP2002051071 A JP 2002051071A
Authority
JP
Japan
Prior art keywords
mail
transfer
confirmation
transfer destination
server
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.)
Pending
Application number
JP2000235631A
Other languages
Japanese (ja)
Inventor
Taiji Kasai
泰治 笠井
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2000235631A priority Critical patent/JP2002051071A/en
Publication of JP2002051071A publication Critical patent/JP2002051071A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an electronic mail automatic transfer system that can confirm whether or not setting of a mail transfer destination is correct, decrease number of unnecessary error notice mails, and prevent the same mail from being repetitively transmitted between servers. SOLUTION: A confirmation mail sent from a confirmation mail transmission means 10a is transferred to a transfer destination set by an in-company mail server 10 in the case of setting the transfer destination. When a confirmation mail transfer confirmation means 10b discriminates that the confirmation mail is normally transferred, the setting of the transfer destination is discriminated correct. Whereas, when the confirmation mail transfer confirmation means 10b discriminates that the confirmation mail is not normally transferred, a transfer destination setting release means 10c releases the setting of the transfer destination. Furthermore, when the in-company mail server 10 automatically transfers a mail and a transfer error confirmation means 10d discriminates that the transfer to the transfer destination is in error, the transfer destination setting release means 10c releases the setting of the transfer destination.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ある特定のメー
ルアドレスに送られてきた電子メールを他のメールアド
レスに自動的に転送する電子メール自動転送システムに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic mail automatic transfer system for automatically transferring an electronic mail sent to a specific mail address to another mail address.

【0002】[0002]

【従来の技術】従来の社内電子メールシステムにおいて
は、セキュリティを確保するために外部からのアクセス
に防壁が設けられていることが多い。一方、携帯情報端
末やノート型パーソナルコンピュータの普及に伴い、外
出先で社内メールサーバにアクセスしたいという要求が
高まっている。
2. Description of the Related Art In a conventional in-house e-mail system, a barrier is often provided for external access in order to ensure security. On the other hand, with the spread of portable information terminals and notebook personal computers, there is an increasing demand to access an in-house mail server on the go.

【0003】また、電子メールの送受信が可能な携帯電
話の普及に伴い、社内外の自分宛ての電子メールの到着
を携帯電話で知ったり、電子メールを携帯電話で見たり
するという行動も一般化してきている。
[0003] With the spread of mobile phones capable of sending and receiving e-mails, the behavior of knowing the arrival of e-mail addressed to oneself inside and outside the company using a mobile phone, and viewing e-mail on a mobile phone has also become common. Have been doing.

【0004】そこで、従来より、社内外のメールサーバ
上に転送先アドレス等を含む転送設定ファイルを作成し
て、ある特定のメールアドレスに送られてきた電子メー
ルを転送先アドレスに自動的に転送する電子メール自動
転送システムがある。この電子メール自動転送システム
は、転送設定が不要になったとき、上記転送設定ファイ
ルを削除する。
Therefore, conventionally, a transfer setting file including a transfer destination address and the like is created on a mail server inside and outside the company, and an e-mail sent to a specific mail address is automatically transferred to the transfer destination address. There is an automatic e-mail transfer system. The electronic mail automatic transfer system deletes the transfer setting file when the transfer setting becomes unnecessary.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記電
子メール自動転送システムでは、転送先の設定が正しい
かどうかは、実際にメールが転送されない限り確認する
ことができないという問題がある。
However, the electronic mail automatic transfer system has a problem that the correct setting of the transfer destination cannot be confirmed unless the mail is actually transferred.

【0006】また、転送先が正しく設定されていても、
転送先のメールサーバのメールボックスの容量を越える
メールで溢れさせてしまった場合、オリジナル(送信元)
のメール送信者にエラー通知メールが送信されてしまう
という問題がある。また、携帯電話のメール受信システ
ムにおいても、一定時間以上圏外または電源断状態が続
くなどの障害によりオリジナルのメール送信者にエラー
通知メールが送信されてしまうという問題がある。
[0006] Even if the transfer destination is set correctly,
If the mail overflows with the capacity of the mailbox of the destination mail server, the original (sender)
There is a problem that an error notification e-mail is sent to the e-mail sender. Also, in the mail receiving system of the mobile phone, there is a problem that an error notification mail is transmitted to the original mail sender due to a failure such as being out of service area or being in a power-off state for a certain period of time.

【0007】さらに、転送先のメールサーバに転送元の
メールサーバに対してメール自動転送の設定がなされて
いた場合、メールはサーバ間を繰り返し往復してしまう
ことになる。
Further, if the automatic mail transfer setting is made to the mail server of the transfer destination in the mail server of the transfer destination, the mail will reciprocate repeatedly between the servers.

【0008】そこで、この発明の目的は、メール転送設
定が正しいかどうかを確認できると共に、不要なエラー
通知メールを削減でき、同一メールがサーバ間を繰り返
し往復することを防止できる電子メール自動転送システ
ムを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic electronic mail transfer system capable of confirming whether a mail transfer setting is correct, reducing unnecessary error notification mails, and preventing the same mail from repeatedly reciprocating between servers. Is to provide.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、この発明の電子メール自動転送システムは、メール
サーバに到着した電子メールを設定した転送先に自動転
送する電子メール自動転送システムにおいて、上記転送
先の設定時、設定した転送先に転送されるように確認用
メールを転送元であるメールサーバに送信する確認用メ
ール送信手段と、上記確認用メール送信手段により送信
された上記確認用メールが上記転送元のメールサーバに
より正常に転送されたかどうかを確認する確認用メール
転送確認手段と、上記確認用メール転送確認手段が上記
確認用メールが正常に転送されていないと判断すると、
上記転送元のメールサーバの上記転送先の設定を解除す
る転送先設定解除手段とを備えることを特徴としてい
る。
To achieve the above object, an automatic electronic mail transfer system according to the present invention is directed to an automatic electronic mail transfer system for automatically transferring electronic mail arriving at a mail server to a set transfer destination. When setting the transfer destination, a confirmation mail transmitting means for transmitting a confirmation mail to the mail server which is the transfer source so that the confirmation mail is transferred to the set transfer destination, and the confirmation mail transmitted by the confirmation mail transmission means If the confirmation mail transfer confirmation means for confirming whether or not the confirmation mail has been normally transferred by the transfer source mail server and the confirmation mail transfer confirmation means determines that the confirmation mail has not been normally transferred,
A transfer destination setting canceling means for canceling the setting of the transfer destination of the mail server of the transfer source is provided.

【0010】上記構成の電子メール自動転送システムに
よれば、転送先の設定時、転送先を設定したメールアド
レスに上記確認用メール送信手段により確認用メールを
転送元のメールサーバに送信する。そうすると、上記転
送元のメールサーバは、設定した転送先にその確認用メ
ールを転送し、上記確認用メールを受け取った転送先の
メールサーバは、確認用メールに対して到着を通知する
到着メールを上記転送元のメールサーバに対して送信す
る。この転送先のメールサーバから返信された到着メー
ルに基づいて、上記確認用メール転送確認手段が確認用
メールが転送元のメールサーバにより正常に転送された
かどうかを確認して、正常でなければ、上記転送先設定
解除手段により誤った転送先の設定を解除する。したが
って、確認用メールにより転送先の設定が正しいかどう
かを確認でき、誤った転送先の設定を解除できる。な
お、上記確認用メール送信手段,確認用メール転送確認
手段および転送先設定解除手段の機能を、転送元のメー
ルサーバに組み込んでもよいし、転送元のメールサーバ
に接続される他の端末装置に備えてもよい。
According to the electronic mail automatic transfer system having the above configuration, when the transfer destination is set, the confirmation mail is transmitted to the transfer source mail server by the confirmation mail transmission means to the mail address where the transfer destination is set. Then, the transfer source mail server forwards the confirmation mail to the set transfer destination, and the transfer destination mail server receiving the confirmation mail transmits the arrival mail notifying of the arrival to the confirmation mail. The message is sent to the above-mentioned transfer source mail server. Based on the arriving mail returned from the transfer destination mail server, the confirmation mail transfer confirmation means checks whether the confirmation mail has been normally transferred by the transfer source mail server. The wrong destination setting is released by the destination setting releasing means. Therefore, it is possible to confirm whether or not the setting of the transfer destination is correct by the confirmation mail, and cancel the setting of the incorrect transfer destination. Note that the functions of the above-described confirmation mail transmission unit, confirmation mail transfer confirmation unit, and transfer destination setting release unit may be incorporated in the transfer source mail server, or may be added to another terminal device connected to the transfer source mail server. May be provided.

【0011】また、一実施形態の電子メール自動転送シ
ステムは、上記転送元のメールサーバがメールを自動転
送したときに、上記設定した転送先への転送がエラーか
どうかを確認する転送エラー確認手段を備え、上記転送
先設定解除手段は、上記転送エラー確認手段が上記転送
先ヘの転送がエラーであると判断すると、上記転送元の
メールサーバの上記転送先の設定を解除することを特徴
としている。
In one embodiment, the electronic mail automatic transfer system further comprises a transfer error checking means for checking whether the transfer to the set transfer destination has an error when the transfer source mail server automatically transfers the mail. Wherein the transfer destination setting canceling means cancels the setting of the transfer destination of the transfer source mail server when the transfer error confirming means determines that the transfer to the transfer destination is an error. I have.

【0012】上記実施形態の電子メール自動転送システ
ムによれば、上記転送元のメールサーバがメールを自動
転送したとき、上記転送エラー確認手段が転送先のメー
ルサーバからのエラー通知メールにより転送先ヘの転送
がエラーであると判断すると、上記転送先設定解除手段
により転送元のメールサーバの転送先の設定を解除す
る。したがって、不要なエラー通知メールを削減でき
る。
According to the electronic mail automatic transfer system of the embodiment, when the transfer source mail server automatically transfers the mail, the transfer error confirming means transmits the mail to the transfer destination by an error notification mail from the transfer destination mail server. When it is determined that the transfer is an error, the transfer destination setting release means releases the transfer destination setting of the transfer source mail server. Therefore, unnecessary error notification mails can be reduced.

【0013】また、この発明の電子メール自動転送シス
テムは、メールサーバに到着した電子メールを設定した
転送先に自動転送する電子メール自動転送システムにお
いて、上記メールサーバのメールサービスを受ける端末
装置は、上記転送先の設定時、設定した転送先に転送さ
れるように転送元であるメールサーバに確認用メールを
送信する確認用メール送信手段と、上記確認用メール送
信手段により送信された上記確認用メールが上記転送元
のメールサーバにより正常に転送されたかどうかを確認
する確認用メール転送確認手段と、上記確認用メール転
送確認手段が上記確認用メールが正常に転送されていな
いと判断すると、上記転送元のメールサーバの上記転送
先の設定を解除する転送先設定解除手段とを備えること
を特徴としている。
[0013] Also, the electronic mail automatic transfer system according to the present invention is an electronic mail automatic transfer system for automatically transferring an electronic mail arriving at a mail server to a set transfer destination. When the transfer destination is set, a confirmation mail transmitting unit that transmits a confirmation mail to the mail server that is the transfer source so that the confirmation mail is transmitted to the set transfer destination; and the confirmation mail transmitted by the confirmation mail transmission unit. If the confirmation mail transfer confirming means for confirming whether the mail has been normally transferred by the transfer source mail server and the confirmation mail transfer confirmation means determines that the confirmation mail is not transferred normally, Transfer destination setting canceling means for canceling the setting of the transfer destination of the transfer source mail server.

【0014】上記構成の電子メール自動転送システムに
よれば、上記転送元のメールサーバのメールサービスを
受ける端末装置の確認用メール送信手段は、転送先の設
定時、転送先を設定したメールアドレスに確認用メール
を上記転送元のメールサーバに対して送信する。そうす
ると、上記転送元のメールサーバは、設定した転送先に
その確認用メールを転送し、上記確認用メールを受け取
った転送先のメールサーバは、確認用メールに対して到
着を通知する到着メールを転送元のメールサーバに送信
する。この転送先のメールサーバから返信された到着メ
ールに基づいて、上記端末装置の確認用メール転送確認
手段により確認用メールが転送元のメールサーバにより
正常に転送されたかどうかを確認して、正常でなけれ
ば、上記端末装置の転送先設定解除手段により転送元の
メールサーバの誤った転送先の設定を解除する。したが
って、転送先の設定が正しいかどうかを確認でき、誤っ
た転送先の設定を解除できる。
According to the electronic mail automatic transfer system having the above configuration, the confirmation mail transmitting means of the terminal device receiving the mail service of the mail server of the transfer source sets the mail address to which the transfer destination is set when the transfer destination is set. The confirmation mail is transmitted to the transfer source mail server. Then, the transfer source mail server forwards the confirmation mail to the set transfer destination, and the transfer destination mail server receiving the confirmation mail transmits the arrival mail notifying of the arrival to the confirmation mail. Send to the forwarding mail server. Based on the arrival mail returned from the transfer destination mail server, the confirmation mail transfer confirmation means of the terminal device confirms whether the confirmation mail has been normally transferred by the transfer source mail server. If not, the wrong transfer destination setting of the transfer source mail server is released by the transfer destination setting release means of the terminal device. Therefore, it is possible to confirm whether the setting of the transfer destination is correct, and to cancel the setting of the wrong transfer destination.

【0015】また、一実施形態の電子メール自動転送シ
ステムは、上記端末装置は、上記転送元のメールサーバ
がメールを自動転送したときに上記設定した転送先ヘの
転送がエラーであるかどうかを確認する転送エラー確認
手段を備え、上記転送先設定解除手段は、上記転送エラ
ー確認手段が上記転送先ヘの転送がエラーであると判断
すると、上記転送元のメールサーバの転送先の設定を解
除することを特徴としている。
In one embodiment of the present invention, in the electronic mail automatic transfer system, the terminal device determines whether the transfer to the set transfer destination is an error when the transfer source mail server automatically transfers the mail. The transfer destination setting canceling means cancels the transfer destination setting of the transfer source mail server when the transfer error checking means determines that the transfer to the transfer destination is an error. It is characterized by doing.

【0016】上記実施形態の電子メール自動転送システ
ムによれば、上記転送元のメールサーバがメールを自動
転送したとき、上記端末装置の転送エラー確認手段が転
送先のメールサーバからのエラー通知メールにより転送
先ヘの転送がエラーであると判断すると、上記転送先設
定解除手段により転送元のメールサーバの転送先の設定
を解除する。したがって、不要なエラー通知メールを削
減できる。
According to the electronic mail automatic transfer system of the embodiment, when the mail server of the transfer source automatically transfers the mail, the transfer error confirmation means of the terminal device receives the error notification mail from the mail server of the transfer destination. When it is determined that the transfer to the transfer destination is an error, the transfer destination setting release means releases the transfer destination setting of the transfer source mail server. Therefore, unnecessary error notification mails can be reduced.

【0017】また、一実施形態の電子メール自動転送シ
ステムは、上記確認用メール転送確認手段は、RFC(R
equest for Comments)1521にて規定されている“R
eturn−Receipt−To”フィールドおよび
RFC822にて規定されているMessage−ID
に基づいて、上記確認用メールが正常に転送されたかど
うかを確認することを特徴としている。
Further, in the electronic mail automatic transfer system according to one embodiment, the confirmation mail transfer confirming means may include an RFC (R)
equest for Comments) 1521 "R
etrn-Receive-To "field and Message-ID defined in RFC822
, And confirms whether or not the confirmation mail has been normally transferred.

【0018】上記実施形態の電子メール自動転送システ
ムによれば、上記確認用メール転送確認手段は、MIM
E(Multipurpose Internet Mail Extentions)のRFC
1521にて規定されている“Return−Rece
ipt−To”フィールドおよびRFC822にて規定
されているMessage−IDに基づいて、上記確認
用メールが上記転送元のメールサーバにより転送先に正
常に転送されたかどうかを確認するので、転送元のメー
ルサーバの転送動作を容易にかつ確実に確認できる。
According to the electronic mail automatic transfer system of the embodiment, the mail transfer confirmation means for confirmation is a MIM
RFC of E (Multipurpose Internet Mail Extensions)
"Return-Rece" specified in 1521
Based on the “ip-To” field and the Message-ID defined in RFC822, it is confirmed whether the above-mentioned confirmation mail has been normally transferred to the transfer destination by the above-mentioned transfer source mail server. The transfer operation of the server can be easily and reliably confirmed.

【0019】また、一実施形態の電子メール自動転送シ
ステムは、上記確認用メール送信手段は、定期的に上記
確認用メールを転送先に送信し、上記転送エラー確認手
段は、上記確認用メールに対して上記転送先のメールサ
ーバからエラー通知メールが発信されたときにそのエラ
ー通知メールを解読して、上記転送先への転送がエラー
かどうかを確認することを特徴としている。
In one embodiment of the present invention, in the automatic e-mail transfer system, the confirmation e-mail transmitting means periodically transmits the confirmation e-mail to a transfer destination, and the transfer error confirmation means transmits the confirmation e-mail to the confirmation e-mail. On the other hand, when an error notification mail is sent from the transfer destination mail server, the error notification mail is decrypted to check whether the transfer to the transfer destination is an error.

【0020】上記実施形態の電子メール自動転送システ
ムによれば、上記確認用メール送信手段により定期的に
転送先に送信された確認用メールは、上記転送元のメー
ルサーバにより設定した転送先に転送され、上記転送先
のメールサーバの容量オーバーや通信不具合等により転
送先のメールサーバ等からエラー通知メールが発信され
る場合がある。そのエラー通知メールを上記転送エラー
確認手段により解読して、上記転送先への転送がエラー
かどうかを確認する。したがって、上記確認用メールが
上記転送元のメールサーバにより転送先に正常に転送さ
れるかどうかを定期的に確認できる。
According to the automatic e-mail transfer system of the embodiment, the confirmation e-mail periodically transmitted to the transfer destination by the confirmation e-mail transmission means is transferred to the transfer destination set by the transfer source mail server. Then, an error notification mail may be transmitted from the transfer destination mail server or the like due to an overcapacity of the transfer destination mail server or a communication failure. The error notification mail is decrypted by the transfer error confirming means to confirm whether the transfer to the transfer destination is an error. Therefore, it is possible to periodically check whether the confirmation mail is normally transferred to the transfer destination by the transfer source mail server.

【0021】また、一実施形態の電子メール自動転送シ
ステムは、上記転送先のメールサーバに転送先として上
記転送元のメールサーバが設定されていることにより、
同一メールが繰り返し上記転送元のメールサーバおよび
上記転送先のメールサーバの間を往復することを検知す
る同一メール検知手段を備え、上記転送先設定解除手段
は、上記同一メール検知手段が同一メールが繰り返し上
記転送元のメールサーバおよび上記転送先のメールサー
バの間を往復することを検知すると、上記転送元のメー
ルサーバの上記転送先の設定を解除することを特徴とし
ている。
Further, in the electronic mail automatic transfer system according to one embodiment, the transfer source mail server is set as the transfer destination in the transfer destination mail server.
The same mail detecting means for detecting that the same mail repeatedly goes back and forth between the mail server of the transfer source and the mail server of the transfer destination is provided. When the reciprocating movement between the transfer source mail server and the transfer destination mail server is detected, the setting of the transfer destination of the transfer source mail server is released.

【0022】上記実施形態の電子メール自動転送システ
ムによれば、上記転送先のメールサーバに転送先として
上記転送元のメールサーバが設定されていると、同一メ
ールが繰り返しサーバ間を往復してしまうので、その同
一メールのサーバ間往復を同一メール検知手段により検
知し、上記転送先設定解除手段により転送元のメールサ
ーバの上記転送先の設定を解除する。したがって、同一
メールがサーバ間を無限に往復するのを防止できると共
に、同一メールがメールサーバに無限に蓄積されるのを
防止できる。
According to the electronic mail automatic transfer system of the embodiment, if the transfer source mail server is set as the transfer destination in the transfer destination mail server, the same mail repeatedly reciprocates between the servers. Therefore, the reciprocation of the same mail between the servers is detected by the same mail detecting means, and the transfer destination setting of the transfer source mail server is released by the transfer destination setting releasing means. Therefore, it is possible to prevent the same mail from reciprocating between the servers indefinitely, and to prevent the same mail from being stored in the mail server indefinitely.

【0023】また、一実施形態の電子メール自動転送シ
ステムは、上記同一メール検知手段は、同一メールの判
定にRFC822にて規定されているMessage−
IDを用いることを特徴としている。
In the electronic mail automatic transfer system according to one embodiment, the same mail detecting means determines whether or not the same mail is the same as the Message-Message defined in RFC822.
It is characterized by using an ID.

【0024】上記実施形態の電子メール自動転送システ
ムによれば、上記同一メール検知手段は、MIMEのR
FC822にて規定されているMessage−IDで
あって、同一メール以外のメール毎に内容が異なるMe
ssage−IDを用いて同一メールを判定するので、
同一メールを容易にかつ確実に検知できる。
According to the electronic mail automatic transfer system of the above embodiment, the same mail detecting means is the MIME R
This is a Message-ID defined by FC822 and differs in content for each mail other than the same mail.
Since the same mail is determined using the sage-ID,
The same mail can be easily and reliably detected.

【0025】また、一実施形態の電子メール自動転送シ
ステムは、上記同一メール検知手段は、Message
−IDをヘッダに記述していないメールの場合、そのメ
ールのヘッダおよび本文を前回受信したメールのヘッダ
および本文と比較することにより同一メールの判定を行
うことを特徴としている。
In one embodiment of the invention, the same e-mail detecting means is a message.
-In the case of a mail in which the ID is not described in the header, the same mail is determined by comparing the header and the body of the mail with the header and the body of the previously received mail.

【0026】上記実施形態の電子メール自動転送システ
ムによれば、メールのヘッダおよび本文を前回受信した
メールのヘッダおよび本文と比較することによって、同
一メールであるか否かを検知できる。すなわち、2つの
メールのヘッダと本文の内容が一致すれば、同一メール
であると判別することができる。
According to the electronic mail automatic transfer system of the above embodiment, whether or not the mail is the same can be detected by comparing the header and the body of the mail with the header and the body of the previously received mail. That is, if the contents of the header and the body of the two mails match, it can be determined that the mails are the same.

【0027】[0027]

【発明の実施の形態】以下、この発明の電子メール自動
転送システムを図示の実施の形態により詳細に説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an electronic mail automatic transfer system according to the present invention will be described in detail with reference to the illustrated embodiments.

【0028】(第1実施形態)図1はこの発明の実施の
一形態の電子メール自動転送システムの構成図を示して
いる。図1において、10はUNIX(登録商標)オペ
レーティングシステムを搭載した転送元のメールサーバ
としての社内メールサーバ、11は社内メールサーバ1
0に格納され、転送先アドレスが設定された転送設定フ
ァイルである。この転送設定ファイル11は通常、UN
IXオペレーティングシステムにおいては、「forw
ard」と名前を付けられたファイルである。また、1
2は社外の転送先メールサーバ、101は公開されたネ
ットワークであり、転送先メールサーバ12はネットワ
ーク101に接続され、さらにネットワーク101と社
内メールサーバ10とは、セキュリティ用の防壁を介し
て接続されている。また、上記社内メールサーバ10
は、確認用メール送信手段10aと、確認用メール転送
確認手段10bと、転送先設定解除手段10cと、転送エ
ラー確認手段10dとを備えている。上記社内メールサ
ーバ10に配送されたメールは、転送設定ファイル11
に記述された転送先アドレスのサーバである転送先メー
ルサーバ12に再配信される。
(First Embodiment) FIG. 1 shows a configuration diagram of an electronic mail automatic transfer system according to an embodiment of the present invention. In FIG. 1, reference numeral 10 denotes an in-house mail server as a transfer-source mail server equipped with a UNIX (registered trademark) operating system, and 11 denotes an in-house mail server.
0 is a transfer setting file in which a transfer destination address is set. This transfer setting file 11 is usually
In the IX operating system, "forw
ard ". Also, 1
Reference numeral 2 denotes a transfer destination mail server outside the company, 101 denotes a public network, the transfer destination mail server 12 is connected to the network 101, and the network 101 and the internal mail server 10 are connected via a security barrier. ing. In addition, the in-house mail server 10
Comprises a confirmation mail transmission unit 10a, a confirmation mail transfer confirmation unit 10b, a transfer destination setting release unit 10c, and a transfer error confirmation unit 10d. The mail delivered to the in-house mail server 10 is transferred to the transfer setting file 11
Is re-distributed to the transfer destination mail server 12, which is the server of the transfer destination address described in.

【0029】上記構成の電子メール自動転送システム
は、社内メールサーバ10に転送先を設定したとき、社
内メールサーバ10の確認用メール送信手段10aによ
り社内メールサーバ10自身に対して確認用メールを転
送先を設定したメールアドレスに送信する。そうする
と、社内メールサーバ10は、転送先アドレスのメール
サーバである転送先メールサーバ12に対して確認用メ
ールを送信する転送処理を行う。その確認用メールを受
け取った転送先メールサーバ12は、確認用メールに対
して到着を通知する到着メールを社内メールサーバ10
に送信する。その後、社内メールサーバ10の確認用メ
ール転送確認手段10bは、転送先メールサーバ12か
ら返信された到着メールの情報を解読し、確認用メール
が正常に転送されていることを、すなわち正常に転送先
の設定がなされていることを確認する一方、確認用メー
ル転送確認手段10bが確認用メールが正常に転送され
ていないことを確認すると、すなわち転送先の設定が正
しくない場合は、社内メールサーバ10の転送先設定解
除手段10cによって、設定した転送先を解除する。
In the electronic mail automatic transfer system having the above configuration, when a transfer destination is set in the in-house mail server 10, the check mail is transmitted to the in-house mail server 10 by the check mail transmitting means 10a of the in-house mail server 10. Send to the e-mail address you set. Then, the in-house mail server 10 performs a transfer process of transmitting a confirmation mail to the transfer destination mail server 12, which is the mail server at the transfer destination address. Upon receiving the confirmation mail, the transfer destination mail server 12 sends the arrival mail notifying the arrival of the confirmation mail to the in-house mail server 10.
Send to Thereafter, the confirmation mail transfer confirmation means 10b of the in-house mail server 10 decodes the information of the arriving mail returned from the transfer destination mail server 12, and confirms that the confirmation mail has been normally transferred, that is, forwards the mail normally. While confirming that the setting has been made, the confirmation mail transfer confirming means 10b confirms that the confirmation mail has not been normally transferred. That is, if the transfer destination setting is incorrect, the internal mail server The set transfer destination is canceled by the transfer destination setting canceling means 10c.

【0030】次に、上記社内メールサーバ10の自動転
送処理中、転送エラー確認手段10dが転送先メールサ
ーバ12からのエラー通知メールにより転送先ヘの転送
がエラーであると判断すると、転送先設定解除手段10
cにより社内メールサーバ10の転送先の設定を解除す
る。
Next, during the automatic transfer process of the in-house mail server 10, when the transfer error confirming means 10d determines that the transfer to the transfer destination is an error by the error notification mail from the transfer destination mail server 12, the transfer destination setting is performed. Release means 10
The setting of the transfer destination of the in-house mail server 10 is canceled by c.

【0031】このように、上記社内メールサーバ10に
おいて、確認用メール送信手段10aおよび確認用メー
ル転送確認手段10bにより転送先の設定が正しいかど
うかを確認でき、転送先設定解除手段10cにより誤っ
た転送先の設定を解除することができると共に、不要な
エラー通知メールを削減することができる。
As described above, in the in-house mail server 10, the confirmation mail transmission means 10a and the confirmation mail transfer confirmation means 10b can confirm whether or not the transfer destination setting is correct, and the transfer destination setting release means 10c can confirm whether the transfer destination setting is correct. The setting of the transfer destination can be canceled, and unnecessary error notification mails can be reduced.

【0032】(第2実施形態)図2はこの発明の第2実
施形態の電子メール自動転送システムの構成図である。
ただし、この電子メール自動転送システムでは、第1実
施形態において社内メールサーバ10で行った転送設定
の確認処理等を端末装置としてのメール端末13で行
う。上記メール端末13は、確認用メール送信手段13
aと、確認用メール転送確認手段13bと、転送先設定解
除手段13cと、転送エラー確認手段13dとを備えてい
る。
(Second Embodiment) FIG. 2 is a configuration diagram of an electronic mail automatic transfer system according to a second embodiment of the present invention.
However, in the electronic mail automatic transfer system, the mail terminal 13 as the terminal device performs the transfer setting confirmation processing performed by the in-house mail server 10 in the first embodiment. The e-mail terminal 13 includes a confirmation e-mail transmission unit 13.
a, confirmation mail transfer confirmation means 13b, transfer destination setting release means 13c, and transfer error confirmation means 13d.

【0033】上記構成の電子メール自動転送システム
は、転送先の設定時、メール端末13の確認用メール送
信手段13aから社内メールサーバ10に確認用メール
を送信し、社内メールサーバ10から設定した転送先ア
ドレスのメールサーバである転送先メールサーバ12に
転送する。次に、転送先メールサーバ12は、確認用メ
ールに対して到着を通知する到着メールを社内メールサ
ーバ10に送信する。そして、メール端末13の確認用
メール転送確認手段13bは、社内メールサーバ10で
受信された転送先メールサーバ12からの到着メールの
情報を解読し、確認用メールが正常に転送されているこ
とを、すなわち正常に転送先が設定されていることを確
認する。一方、メール端末13の確認用メール転送確認
手段13bが転送メールが正常に転送されていないこと
を確認すると、すなわち転送先の設定が正しくない場合
は、メール端末13の転送先設定解除手段13cによっ
て、社内メールサーバ10に設定した転送先を解除す
る。
The electronic mail automatic transfer system having the above configuration transmits a confirmation mail from the confirmation mail transmitting means 13a of the mail terminal 13 to the in-house mail server 10 when the transfer destination is set, and sets the transfer from the in-house mail server 10. The transfer is made to the transfer destination mail server 12, which is the mail server at the destination address. Next, the transfer destination mail server 12 transmits an arrival mail notifying the arrival of the confirmation mail to the in-house mail server 10. Then, the confirmation mail transfer confirmation means 13b of the mail terminal 13 decodes the information of the arrival mail from the transfer destination mail server 12 received by the in-house mail server 10, and confirms that the confirmation mail is normally transferred. That is, confirm that the transfer destination is set normally. On the other hand, when the confirmation mail transfer confirmation means 13b of the mail terminal 13 confirms that the forwarded mail is not normally transferred, that is, when the transfer destination setting is incorrect, the transfer destination setting release means 13c of the mail terminal 13 uses Then, the transfer destination set in the in-house mail server 10 is released.

【0034】また、上記社内メールサーバ10の自動転
送処理中、メール端末13の転送エラー確認手段13d
が転送先メールサーバ12からのエラー通知メールによ
り転送先ヘの転送がエラーであると判断すると、転送先
設定解除手段13cにより社内メールサーバ10の転送
先の設定を解除する。
During the automatic transfer process of the in-house mail server 10, the transfer error check means 13d of the mail terminal 13
Determines that the transfer to the transfer destination is an error based on the error notification mail from the transfer destination mail server 12, the transfer destination setting release unit 13c releases the transfer destination setting of the in-house mail server 10.

【0035】このように、上記メール端末13の確認用
メール送信手段13aおよび確認用メール転送確認手段
13bによって、社内メールサーバ10に設定した転送
先が正しいかどうかを確認でき、転送先設定解除手段1
3cにより社内メールサーバ10の誤った転送先の設定
を解除することができる。また、上記転送エラー確認手
段13dにより転送先への転送エラーを検知して、転送
先設定解除手段13cにより転送先の設定を解除するこ
とによって、不要なエラー通知メールを削減することが
できる。
As described above, the confirmation mail transmission means 13a and the confirmation mail transfer confirmation means 13b of the mail terminal 13 can confirm whether or not the transfer destination set in the in-house mail server 10 is correct. 1
With 3c, the setting of the wrong transfer destination of the in-house mail server 10 can be released. Further, by detecting a transfer error to the transfer destination by the transfer error confirming means 13d and canceling the setting of the transfer destination by the transfer destination setting canceling means 13c, unnecessary error notification mail can be reduced.

【0036】(第3実施形態)図3はこの発明の第3実
施形態の電子メール自動転送システムの構成図である。
この電子メール自動転送システムは、社内メールサーバ
10を除いて第1実施形態の図1の電子メール自動転送
システムと同様の構成をしており、同一構成部は同一参
照番号を付して説明を省略する。なお、上記転送先メー
ルサーバ12に転送設定ファイル14に転送先(社内メ
ールサーバ10)が設定されている。
(Third Embodiment) FIG. 3 is a block diagram of an electronic mail automatic transfer system according to a third embodiment of the present invention.
This electronic mail automatic transfer system has the same configuration as the electronic mail automatic transfer system of FIG. 1 of the first embodiment except for the in-house mail server 10, and the same components are denoted by the same reference numerals and will be described. Omitted. The transfer destination (in-house mail server 10) is set in the transfer setting file 14 in the transfer destination mail server 12.

【0037】上記社内メールサーバ10は、確認用メー
ル送信手段10a,確認用メール転送確認手段10b,転送
先設定解除手段10cおよび転送エラー確認手段10dに
加えて、同一メール検知手段10eを備えている。
The in-house mail server 10 includes the same mail detection means 10e in addition to the confirmation mail transmission means 10a, the confirmation mail transfer confirmation means 10b, the transfer destination setting release means 10c and the transfer error confirmation means 10d. .

【0038】図3において、転送設定ファイル11,1
4にメールを保存しつつもう一方の転送先メールサーバ
にも転送するという設定がなされていた場合は、社内メ
ールサーバ10に向けて発信されたメールまたは転送先
メールサーバ12に向けて発信されたメールは、転送先
メールサーバ12と社内メールサーバ10との間を無限
に往復を繰り返すと共に、両メールサーバ10,12の
メール格納部(図示せず)には無限に同一メールが蓄積さ
れる。また、転送設定ファイル11,14にメールを保
存せずにもう一方のサーバにのみ転送するという設定が
なされていた場合は、社内メールサーバ10に向けて発
信されたメールまたは転送先メールサーバ12に向けて
発信されたメールは、転送先メールサーバ12と社内メ
ールサーバ10との間を無限に往復を繰り返す永久ルー
プメールになる。
In FIG. 3, the transfer setting files 11, 1
In the case where the setting has been made such that the mail is stored in the mail server 4 and transferred to the other mail server, the mail transmitted to the internal mail server 10 or the mail transmitted to the transfer mail server 12 is transmitted. The mail repeats infinitely between the transfer destination mail server 12 and the in-house mail server 10, and the same mail is stored indefinitely in the mail storage units (not shown) of the mail servers 10, 12. If the transfer setting files 11 and 14 do not store the mail but transfer only to the other server, the mail sent to the in-house mail server 10 or the transfer destination mail server 12 The e-mail sent to the e-mail becomes an eternal loop e-mail that repeats infinitely between the transfer destination e-mail server 12 and the in-house e-mail server 10.

【0039】そこで、この第3実施形態の電子メール自
動転送システムでは、社内メールサーバ10で永久ルー
プメールを防ぐ処理を行う。すなわち、上記転送先メー
ルサーバ12に転送先として社内メールサーバ10が設
定されている場合、同一メールが繰り返しサーバ間を往
復してしまうことを同一メール検知手段10eにより検
知し、転送先設定解除手段10cにより社内メールサー
バ10の転送先の設定を解除するので、同一メールが両
サーバ間を無限に往復するのを防止できると共に、転送
先メールサーバ12に転送するという設定がなされてい
た場合にも、両メールサーバ10,12に無限に同一メ
ールが蓄積されるのを防止できる。
Therefore, in the electronic mail automatic transfer system of the third embodiment, the in-house mail server 10 performs processing for preventing a permanent loop mail. That is, when the in-house mail server 10 is set as the transfer destination in the transfer destination mail server 12, the same mail detection unit 10e detects that the same mail repeatedly goes back and forth between the servers, and the transfer destination setting release unit Since the setting of the transfer destination of the in-house mail server 10 is canceled by 10c, it is possible to prevent the same mail from going infinitely back and forth between the two servers, and it is also possible to prevent the same mail from being transferred to the transfer destination mail server 12. Thus, it is possible to prevent the same mail from being stored in the mail servers 10 and 12 indefinitely.

【0040】(第4実施形態)図4はこの発明の第4実
施形態の電子メール自動転送システムの構成図である。
この電子メール自動転送システムは、転送先メールサー
バ12に社内メールサーバ10への転送設定がされてい
ることとメール端末13を除いて第2実施形態の図2の
電子メール自動転送システムと同様の構成をしており、
同一構成部は同一参照番号を付して説明を省略する。
(Fourth Embodiment) FIG. 4 is a block diagram of an electronic mail automatic transfer system according to a fourth embodiment of the present invention.
This automatic e-mail transfer system is the same as the automatic e-mail transfer system of FIG. 2 of the second embodiment except that the transfer destination mail server 12 is set to transfer to the in-house mail server 10 and the mail terminal 13 is set. It has a configuration,
The same components are denoted by the same reference numerals and description thereof is omitted.

【0041】上記電子メール自動転送システムでは、端
末装置としてのメール端末13は、確認用メール送信手
段13a,確認用メール転送確認手段13b,転送先設定解
除手段13cおよび転送エラー確認手段13dに加えて、
同一メール検知手段13eを備えている。
In the electronic mail automatic transfer system, the mail terminal 13 as a terminal device is provided in addition to the confirmation mail transmission means 13a, the confirmation mail transfer confirmation means 13b, the transfer destination setting release means 13c, and the transfer error confirmation means 13d. ,
The same mail detecting means 13e is provided.

【0042】図5に上記メール端末13の転送設定の確
認処理の動作を示すフローチャートであり、以下、図5
に従ってメール端末13の転送先の設定の確認処理の動
作を説明する。
FIG. 5 is a flowchart showing the operation of the transfer setting confirmation processing of the mail terminal 13 described above.
The operation of the process of confirming the setting of the transfer destination of the mail terminal 13 will be described.

【0043】まず、図5において、ステップS10で社
内メールサーバ10にTELNETポートからログイン
する。ここで、TELNETとは、TCP/IPサーバ
(メールサーバ)をメール端末から遠隔操作できる仮想端
末用プロトコルである。
First, in FIG. 5, in step S10, the user logs in to the in-house mail server 10 from the TELNET port. Here, TELNET is a TCP / IP server
(Mail server) is a virtual terminal protocol that can be remotely controlled from a mail terminal.

【0044】次に、ステップS11で転送設定ファイル
が存在するか否かを調べる。UNIXオペレーティング
システムの場合は、通常、ユーザディレクトリに「fo
rward」ファイルとして存在する。そして、ステッ
プS11で転送設定ファイルが無かった場合、確認処理
は不要かつ不可能であるので、この確認処理を終了す
る。
Next, it is checked in step S11 whether a transfer setting file exists. In the case of the UNIX operating system, "fo" is usually stored in the user directory.
rward "file. If there is no transfer setting file in step S11, the confirmation process is unnecessary and impossible, and the confirmation process ends.

【0045】次に、ステップS11で転送設定ファイル
が存在した場合は、ステップS12で転送設定ファイル
を読み込む。
Next, if a transfer setting file exists in step S11, the transfer setting file is read in step S12.

【0046】次に、ステップS13で転送先アドレスが
存在するかどうかを確認する。
Next, in step S13, it is confirmed whether or not a transfer destination address exists.

【0047】そして、ステップS13で転送先アドレス
が存在していない場合、確認処理は不要かつ不可能であ
るので、この確認処理を終了する。
If the transfer destination address does not exist in step S13, the confirmation processing is unnecessary and impossible, and the confirmation processing is terminated.

【0048】一方、ステップS13で転送先アドレスが
存在する場合は、ステップS14に進み、この転送先ア
ドレスを宛先とし、ヘッダに「Return−Rece
ipt−To:<社内メールアドレス>」を記述した確
認用メールを社内メールサーバ10に送信する。このと
き、確認用メールの「Message−ID」を保管し
ておき、返信メールとの照合に備える。
On the other hand, if the transfer destination address exists in step S13, the process proceeds to step S14, where this transfer destination address is set as the destination, and "Return-Receive" is added to the header.
A confirmation e-mail in which “ip-To: <in-house e-mail address>” is described is transmitted to the in-house e-mail server 10. At this time, the “Message-ID” of the confirmation mail is stored and prepared for collation with the reply mail.

【0049】そして、これらの処理が終了したら、ステ
ップS15でメールの到着をポーリングして、メールを
受信する。
When these processes are completed, in step S15, the arrival of the mail is polled and the mail is received.

【0050】次に、ステップS16で受信したメールの
「Subject」と「From」フィールドを解析
し、「Return−Receipt−To」に対応し
た返信メールであるかどうか判断する。そして、ステッ
プS16で返信メールでなければ、ステップS15に戻
り、次のメールを受信して解析する。
Next, the "Subject" and "From" fields of the mail received in step S16 are analyzed to determine whether or not the reply mail corresponds to "Return-Receive-To". If it is not a reply mail in step S16, the process returns to step S15 to receive and analyze the next mail.

【0051】一方、ステップS16で返信メールであれ
ば、ステップS17に進み、本文内に記述された「Me
ssage−ID」を抽出する。
On the other hand, if it is a reply mail in step S16, the process proceeds to step S17, where "Me" described in the text is read.
“sage-ID” is extracted.

【0052】そして、ステップS18で先に保管してお
いた「Message−ID」と比較し、同一であれば
確認OKで終了する。
Then, it is compared with the "Message-ID" stored earlier in step S18, and if it is the same, the process ends with confirmation OK.

【0053】図4において、転送先メールサーバ12に
も社内メールサーバ10への転送設定がされていた場
合、社内メールサーバ10に向けて発信されたメールま
たは転送先メールサーバ12に向けて発信されたメール
は、転送先メールサーバ12と社内メールサーバ10と
の間をピンポンのように無限に往復を繰り返すことにな
る。
In FIG. 4, if the transfer destination mail server 12 is also set to transfer to the in-house mail server 10, the mail sent to the in-house mail server 10 or the outgoing mail to the transfer destination mail server 12 is sent. The e-mail repeatedly travels endlessly between the transfer destination mail server 12 and the in-house mail server 10 like a ping-pong.

【0054】そこで、この第4実施形態の電子メール自
動転送システムでは、メール端末13で無限に往復を繰
り返さない処理を行う。
Therefore, in the electronic mail automatic transfer system of the fourth embodiment, the mail terminal 13 performs a process that does not repeat the round-trip indefinitely.

【0055】まず、図6において、ステップS20でメ
ール端末13から社内メールサーバ10のPOP3(Pos
t office Protocol Version 3)のポートにログインす
る。
First, in FIG. 6, in step S20, POP3 (Pos) of the in-house mail server 10 is sent from the mail terminal 13.
t Log in to the port of Office Protocol Version 3).

【0056】次に、ステップS21でメールが存在すれ
ば、ステップS22に進み、1件のメールを読み込む。
このとき社内メールサーバ10上からはこのメールは消
去しない。
Next, if there is a mail in step S21, the flow advances to step S22 to read one mail.
At this time, this mail is not deleted from the in-house mail server 10.

【0057】次に、ステップS23で読み込んだメール
のヘッダから「Message−ID」を抽出し、ステ
ップS24でMessage−ID格納部(図示せず)に
格納されている全ての「Message−ID」と比較
する。
Next, "Message-ID" is extracted from the header of the mail read in step S23, and all "Message-ID" stored in the Message-ID storage unit (not shown) are extracted in step S24. Compare.

【0058】そして、ステップS24で同一の「Mes
sage−ID」が1つも存在しない場合は、ステップ
S25に進み、ステップS22において読み込んだメー
ルの「Message−ID」をMessage−ID
格納部に追加し、ステップS21に戻る。
Then, in step S24, the same "Mes"
If there is no "sage-ID", the process proceeds to step S25, and the "Message-ID" of the mail read in step S22 is replaced with the "Message-ID".
It adds to a storage part, and returns to step S21.

【0059】一方、ステップS24で同一の「Mess
age−ID」がMessage−ID格納部に存在し
ていた場合は、ステップS26に進み、社内メールサー
バ10にTELNETポートでログインする。
On the other hand, in step S24, the same “Message”
If the "age-ID" exists in the Message-ID storage unit, the process proceeds to step S26, and logs in to the in-house mail server 10 using the TELNET port.

【0060】そして、ログイン後、ステップS27に進
み、ユーザディレクトリに移動し、転送設定ファイルを
消去するなどして転送先の設定を解除する。
After logging in, the flow advances to step S27 to move to the user directory and cancel the transfer destination setting by deleting the transfer setting file or the like.

【0061】次に、ステップS28で社内メールサーバ
10(TELNETポート)からログアウトし、ステップ
S29でPOP3ポートからログアウトして、確認を終
了する。
Next, in step S28, the user logs out of the in-house mail server 10 (TELNET port), and in step S29, logs out of the POP3 port, and the confirmation ends.

【0062】これによって同一メールが両サーバ間を往
復することはなくなる。なお、「Message−I
D」は公開されたネットワーク101上でメールごとに
ユニークな値である。
This prevents the same mail from going back and forth between both servers. In addition, "Message-I
“D” is a unique value for each mail on the public network 101.

【0063】このように、上記転送先メールサーバ12
に転送先として社内メールサーバ10が設定されている
場合、同一メールが繰り返しサーバ間を往復してしまう
ことをメール端末13の同一メール検知手段13eによ
り検知し、転送先設定解除手段13cにより社内メール
サーバ10の転送先の設定を解除するので、同一メール
が両サーバ間を無限に往復するのを防止できる。
As described above, the transfer destination mail server 12
When the in-house mail server 10 is set as the transfer destination, the same mail repeatedly returns to and from the server is detected by the same mail detection unit 13e of the mail terminal 13, and the in-house mail is released by the transfer destination setting release unit 13c. Since the setting of the transfer destination of the server 10 is canceled, it is possible to prevent the same mail from going back and forth between both servers indefinitely.

【0064】また、上記同一メール検知手段13eは、
MIMEのRFC822にて規定されている「Mess
age−ID」を用いるので、同一メールを容易にかつ
確実に検知することができる。
The same mail detecting means 13e is
"Mess" specified in MIME RFC822
Since the "age-ID" is used, the same mail can be easily and reliably detected.

【0065】(第5実施形態)図7はこの発明の第5実
施形態の電子メール自動転送システムの動作を示すフロ
ーチャートである。この電子メール自動転送システム
は、第4実施形態の図4に示す電子メール自動転送シス
テムと同一の構成をしており、説明を省略すると共に図
4を援用する。
(Fifth Embodiment) FIG. 7 is a flowchart showing the operation of the electronic mail automatic transfer system according to a fifth embodiment of the present invention. This electronic mail automatic transfer system has the same configuration as the electronic mail automatic transfer system shown in FIG. 4 of the fourth embodiment, and the description is omitted and FIG. 4 is referred to.

【0066】図7に示すように、転送先メールサーバ1
2にも社内メールサーバ10への転送設定がされていた
場合のチェック方法を示し、図6との相違点は、メール
ヘッダに「Message−ID」が無い場合の処理で
ある。すなわち、「Message−ID」が無い場合
は、1メールのみヘッダおよび本文をすべて保存してお
き(S34)、受信メールの本文およびヘッダと比較する
(S33)ことにより同一メールを受信したかチェックす
る。万が一、差出人が同一内容のメールを2通以上送信
した場合でも、ヘッダの送信日時フィールドの内容が異
なり、全く同一のメールは存在し得ない。
As shown in FIG. 7, the destination mail server 1
2 also shows a check method when the transfer setting to the in-house mail server 10 has been set, and the difference from FIG. 6 is the processing when there is no “Message-ID” in the mail header. That is, when there is no "Message-ID", only the header and the body of only one mail are stored (S34) and compared with the body and the header of the received mail.
It is checked whether the same mail has been received (S33). Even if the sender sends two or more e-mails having the same contents, the contents of the transmission date / time field of the header are different, and the same e-mail cannot exist.

【0067】したがって、メールヘッダに「Messa
ge−ID」が無い場合も、ヘッダと本文の内容により
同一メールかどうかを容易に確認することができる。
Therefore, “Message” is added to the mail header.
Even if there is no “ge-ID”, whether or not the mail is the same can be easily confirmed based on the contents of the header and the body.

【0068】(第6実施形態)図8はこの発明の第6実
施形態の電子メール自動転送システムの動作を示すフロ
ーチャートである。この電子メール自動転送システム
は、第4実施形態の図4に示す電子メール自動転送シス
テムと同一の構成をしており、説明を省略すると共に図
4を援用する。
(Sixth Embodiment) FIG. 8 is a flow chart showing the operation of an electronic mail automatic transfer system according to a sixth embodiment of the present invention. This electronic mail automatic transfer system has the same configuration as the electronic mail automatic transfer system shown in FIG. 4 of the fourth embodiment, and the description is omitted and FIG. 4 is referred to.

【0069】メールサーバによっては、ある一定量以上
のメールを受信すると、それ以降の受信メールに対して
エラーを返信することもある。また、転送先メールサー
バ12が何らかの原因でダウンし、その直前のSMTP
(Simple Mail Transfer Protocol)サーバから送信不可
能であるというエラーを通知するメールを返信する可能
性もある。これらの状況では、オリジナルの差出人のア
ドレスにエラー通知メールが送信されてしまうことにな
る。
Depending on the mail server, when a certain amount of mail or more is received, an error may be returned to a received mail thereafter. Also, the transfer destination mail server 12 goes down for some reason, and the SMTP
(Simple Mail Transfer Protocol) server may send back an e-mail notifying that the message cannot be sent. In these situations, an error notification mail will be sent to the original sender address.

【0070】そこで、図8において、ステップS40お
よびS41で、転送先アドレスに確認用メールを一定時
間毎に送信し、その後、メール受信を行う(S42〜S
44)。
Therefore, in FIG. 8, in steps S40 and S41, a confirmation mail is transmitted to the transfer destination address at regular intervals, and then the mail is received (S42 to S41).
44).

【0071】次に、転送先メールサーバ12またはメー
ル配信サービスからのメールである場合には(S45の
“YES”)、エラー通知メールかどうかチェックして
(S46)、エラー通知メールであれば(S46の“YE
S”)、ステップS47〜S51の処理を行い、転送先
の設定を解除することにより、これ以降のエラー通知メ
ールの送信を防ぐ。
Next, if the mail is from the transfer destination mail server 12 or the mail distribution service ("YES" in S45), it is checked whether the mail is an error notification mail.
(S46) If it is an error notification mail ("YE" in S46)
S ″), the processing of steps S47 to S51 is performed to cancel the setting of the transfer destination, thereby preventing the transmission of the error notification mail thereafter.

【0072】一方、転送完了通知であった場合には(S
46の“NO”)、一定時間後、再度確認用メールを送
信する。
On the other hand, if it is a transfer completion notice (S
("NO" at 46)), after a certain period of time, the confirmation mail is transmitted again.

【0073】このように、上記確認用メール送信手段1
0aは、定期的に確認用メールを転送先メールサーバ1
2に送信し、転送エラー確認手段10dにより転送先メ
ールサーバ12からエラー通知メール発信されたときに
そのエラー通知メールを解読して、転送先への転送がエ
ラーかどうかを確認するので、確認用メールが社内メー
ルサーバ10により転送先に正常に転送されるかどうか
を定期的に確認することができ、信頼性を向上できる。
As described above, the confirmation mail transmitting means 1
0a is the mail server 1 to which the confirmation mail is transferred periodically
When the error notification mail is transmitted from the transfer destination mail server 12 by the transfer error check means 10d, the error notification mail is decrypted to check whether the transfer to the transfer destination is an error. Whether the mail is normally transferred to the transfer destination by the in-house mail server 10 can be periodically checked, and the reliability can be improved.

【0074】上記第1〜第6実施形態では、メールのヘ
ッダおよび本文の比較、「Message−ID」の格
納および比較、サーバヘのアクセス、メール作成および
送信は、公知の技術を用いるものとし、ここでの説明は
省略する。
In the first to sixth embodiments, the comparison of the header and the body of the mail, the storage and comparison of the “Message-ID”, the access to the server, the creation of the mail, and the transmission are performed using known techniques. The description in is omitted.

【0075】上記第2,第4〜第6実施形態では、メー
ルの確認処理をメール端末13から行うものを説明して
いるが、第1,第3実施形態の図1,図3に示すように、
社内メールサーバ10上で確認用メール送信手段10a,
確認用メール転送確認手段10b,転送先設定解除手段1
0c,転送エラー確認手段10dおよび同一メール検知手
段10eをデーモン(自動的に実行するプログラム)とし
て動作させてもよい。この場合は、メール端末13が起
動していなくても、社内メールサーバ10に自分宛てに
特定メール(確認用メール)を送信することによって、メ
ールの確認処理や転送設定の解除処理等を行う。
In the above-described second, fourth to sixth embodiments, the description has been made of the case where the mail confirmation processing is performed from the mail terminal 13. However, as shown in FIGS. 1 and 3 of the first and third embodiments. To
Confirmation mail transmission means 10a on the in-house mail server 10,
Confirmation mail transfer confirmation means 10b, transfer destination setting release means 1
0c, the transfer error checking means 10d and the same mail detecting means 10e may be operated as a daemon (a program to be executed automatically). In this case, even if the mail terminal 13 has not been activated, the specific mail (confirmation mail) is transmitted to the in-house mail server 10 to perform mail confirmation processing, transfer setting release processing, and the like.

【0076】また、この発明の電子メール自動転送シス
テムは、上記第1〜第6実施形態に限定されるものでは
なく、あらゆるメールサーバシステムに適用でき、シス
テムの利便性の向上や高付加価値を目指すものである。
The electronic mail automatic transfer system of the present invention is not limited to the above-described first to sixth embodiments, but can be applied to any mail server system, and can improve the convenience and high added value of the system. It is what we aim for.

【0077】[0077]

【発明の効果】以上より明らかなように、この発明の電
子メール自動転送システムによれば、間違えた転送設定
によるエラー通知メールの削減、サーバ上の同一メール
の蓄積の回避、永久ループメールの回避などの優れた効
果がある。
As is clear from the above, according to the automatic e-mail transfer system of the present invention, error notification mails can be reduced due to incorrect transfer settings, the same mails can be prevented from being stored on the server, and permanent loop mails can be avoided. There are excellent effects such as.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 図1はこの発明の第1実施形態の電子メール
自動転送システムの構成図である。
FIG. 1 is a configuration diagram of an electronic mail automatic transfer system according to a first embodiment of the present invention.

【図2】 図2はこの発明の第2実施形態の電子メール
自動転送システムの構成図である。
FIG. 2 is a configuration diagram of an electronic mail automatic transfer system according to a second embodiment of the present invention.

【図3】 図3はこの発明の第3実施形態の電子メール
自動転送システムの構成図である。
FIG. 3 is a configuration diagram of an electronic mail automatic transfer system according to a third embodiment of the present invention.

【図4】 図4はこの発明の第4実施形態の電子メール
自動転送システムの構成図である。
FIG. 4 is a configuration diagram of an electronic mail automatic transfer system according to a fourth embodiment of the present invention.

【図5】 図5は上記電子メール自動転送システムの転
送先の設定時の動作を示すフローチャートである。
FIG. 5 is a flowchart showing the operation of the automatic e-mail transfer system when setting a transfer destination.

【図6】 図6は上記電子メール自動転送システムの自
動転送処理時の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of the automatic e-mail transfer system during an automatic transfer process.

【図7】 図7はこの発明の第5実施形態の電子メール
自動転送システムの動作を示すフローチャートである。
FIG. 7 is a flowchart showing the operation of the automatic e-mail transfer system according to the fifth embodiment of the present invention.

【図8】 図8はこの発明の第6実施形態の電子メール
自動転送システムの動作を示すフローチャートである。
FIG. 8 is a flow chart showing the operation of the electronic mail automatic transfer system according to the sixth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10…社内メールサーバ、 10a,13a…確認用メール送信手段、 10b,13b…確認用メール転送確認手段、 10c,13c…転送先設定解除手段、 10d,13d…転送エラー確認手段、 10e,13e…同一メール検知手段、 11,14…転送設定ファイル、 12…転送先メールサーバ、 13…メール端末、 101…ネットワーク。 10: internal mail server, 10a, 13a: confirmation mail transmission means, 10b, 13b: confirmation mail transfer confirmation means, 10c, 13c: transfer destination setting release means, 10d, 13d: transfer error confirmation means, 10e, 13e ... Same mail detection means, 11, 14: transfer setting file, 12: transfer destination mail server, 13: mail terminal, 101: network.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 メールサーバに到着した電子メールを設
定した転送先に自動転送する電子メール自動転送システ
ムにおいて、 上記転送先の設定時、設定した転送先に転送されるよう
に確認用メールを転送元であるメールサーバに送信する
確認用メール送信手段と、 上記確認用メール送信手段により送信された上記確認用
メールが上記転送元のメールサーバにより正常に転送さ
れたかどうかを確認する確認用メール転送確認手段と、 上記確認用メール転送確認手段が上記確認用メールが正
常に転送されていないと判断すると、上記転送元のメー
ルサーバの上記転送先の設定を解除する転送先設定解除
手段とを備えることを特徴とする電子メール自動転送シ
ステム。
An electronic mail automatic transfer system for automatically transferring an e-mail arriving at a mail server to a set transfer destination, wherein when the transfer destination is set, a confirmation mail is transferred so as to be transferred to the set transfer destination. Confirmation mail sending means for sending to the original mail server; and confirmation mail transfer for confirming whether the confirmation mail transmitted by the confirmation mail transmission means has been normally transferred by the transfer source mail server. Confirmation means; and transfer destination setting release means for releasing the transfer destination setting of the transfer source mail server when the confirmation mail transfer confirmation means determines that the confirmation mail is not normally transferred. An automatic e-mail transfer system.
【請求項2】 請求項1に記載の電子メール自動転送シ
ステムにおいて、 上記転送元のメールサーバがメールを自動転送したとき
に、上記設定した転送先への転送がエラーかどうかを確
認する転送エラー確認手段を備え、 上記転送先設定解除手段は、上記転送エラー確認手段が
上記転送先ヘの転送がエラーであると判断すると、上記
転送元のメールサーバの上記転送先の設定を解除するこ
とを特徴とする電子メール自動転送システム。
2. The electronic mail automatic transfer system according to claim 1, wherein when the mail server of the transfer source automatically transfers the mail, a transfer error for checking whether the transfer to the set transfer destination is an error. Confirming means, wherein, when the transfer error confirming means determines that the transfer to the transfer destination is an error, the transfer destination setting canceling means cancels the transfer destination setting of the transfer source mail server. Characterized automatic e-mail transfer system.
【請求項3】 メールサーバに到着した電子メールを設
定した転送先に自動転送する電子メール自動転送システ
ムにおいて、 上記メールサーバのメールサービスを受ける端末装置
は、 上記転送先の設定時、設定した転送先に転送されるよう
に転送元であるメールサーバに確認用メールを送信する
確認用メール送信手段と、 上記確認用メール送信手段により送信された上記確認用
メールが上記転送元のメールサーバにより正常に転送さ
れたかどうかを確認する確認用メール転送確認手段と、 上記確認用メール転送確認手段が上記確認用メールが正
常に転送されていないと判断すると、上記転送元のメー
ルサーバの上記転送先の設定を解除する転送先設定解除
手段とを備えることを特徴とする電子メール自動転送シ
ステム。
3. An electronic mail automatic transfer system for automatically transferring an e-mail arriving at a mail server to a set transfer destination, wherein the terminal device receiving the mail service of the mail server comprises: Confirmation mail sending means that sends a confirmation mail to the mail server that is the transfer source so that it is forwarded first, and the confirmation mail sent by the confirmation mail transmission means is normal by the transfer source mail server. The confirmation mail transfer confirmation means for confirming whether the confirmation mail has been transferred to the transfer destination mail server of the transfer source mail server when the confirmation mail transfer confirmation means determines that the confirmation mail has not been normally transferred. An automatic e-mail transfer system comprising: a transfer destination setting canceling means for canceling a setting.
【請求項4】 請求項3に記載の電子メール自動転送シ
ステムにおいて、 上記端末装置は、上記転送元のメールサーバがメールを
自動転送したときに上記設定した転送先ヘの転送がエラ
ーであるかどうかを確認する転送エラー確認手段を備
え、 上記転送先設定解除手段は、上記転送エラー確認手段が
上記転送先ヘの転送がエラーであると判断すると、上記
転送元のメールサーバの転送先の設定を解除することを
特徴とする電子メール自動転送システム。
4. The electronic mail automatic transfer system according to claim 3, wherein the terminal device determines whether an error occurred in the transfer to the set transfer destination when the transfer source mail server automatically transferred the mail. A transfer error check unit for checking whether the transfer destination setting release unit sets the transfer destination of the transfer source mail server when the transfer error check unit determines that the transfer to the transfer destination is an error. E-mail automatic transfer system characterized by canceling.
【請求項5】 請求項1または3に記載の電子メール自
動転送システムにおいて、 上記確認用メール転送確認手段は、RFC1521にて
規定されている“Return−Receipt−T
o”フィールドおよびRFC822にて規定されている
Message−IDに基づいて、上記確認用メールが
正常に転送されたかどうかを確認することを特徴とする
電子メール自動転送システム。
5. The automatic e-mail transfer system according to claim 1, wherein the confirmation e-mail transfer confirming means includes a “Return-Receipt-T” defined by RFC1521.
An electronic mail automatic transfer system for checking whether or not the above-mentioned confirmation mail has been normally transferred, based on an o "field and a Message-ID defined by RFC822.
【請求項6】 請求項2または4に記載の電子メール自
動転送システムにおいて、 上記確認用メール送信手段は、定期的に上記確認用メー
ルを転送先に送信し、 上記転送エラー確認手段は、上記確認用メールに対して
上記転送先のメールサーバからエラー通知メールが発信
されたときにそのエラー通知メールを解読して、上記転
送先への転送がエラーかどうかを確認することを特徴と
する電子メール自動転送システム。
6. The automatic e-mail transfer system according to claim 2, wherein said confirmation e-mail transmitting means periodically transmits said confirmation e-mail to a transfer destination; When an error notification mail is transmitted from the mail server of the transfer destination to the confirmation mail, the error notification mail is decrypted to check whether the transfer to the transfer destination is an error. Automatic mail transfer system.
【請求項7】 請求項1乃至6のいずれか1つに記載の
電子メール自動転送システムにおいて、 上記転送先のメールサーバに転送先として上記転送元の
メールサーバが設定されていることにより、同一メール
が繰り返し上記転送元のメールサーバおよび上記転送先
のメールサーバの間を往復してしまうことを検知する同
一メール検知手段を備え、 上記転送先設定解除手段は、上記同一メール検知手段が
同一メールが繰り返し上記転送元のメールサーバおよび
上記転送先のメールサーバの間を往復することを検知す
ると、上記転送元のメールサーバの上記転送先の設定を
解除することを特徴とする電子メール自動転送システ
ム。
7. The automatic e-mail transfer system according to claim 1, wherein the mail server of the transfer source is set as the transfer destination in the mail server of the transfer destination. The same mail detection means for detecting that mail repeatedly goes back and forth between the transfer source mail server and the transfer destination mail server; and the transfer destination setting release means, wherein the same mail detection means Automatically resetting the transfer destination of the transfer source mail server when detecting that the transfer server repeatedly moves back and forth between the transfer source mail server and the transfer destination mail server. .
【請求項8】 請求項7に記載の電子メール自動転送シ
ステムにおいて、 上記同一メール検知手段は、同一メールの判定にRFC
822にて規定されているMessage−IDを用い
ることを特徴とする電子メール自動転送システム。
8. The automatic e-mail transmission system according to claim 7, wherein the same mail detection means uses RFC to determine the same mail.
An electronic mail automatic transfer system using Message-ID defined in 822.
【請求項9】 請求項7に記載の電子メール自動転送シ
ステムにおいて、 上記同一メール検知手段は、受信したメールのヘッダお
よび本文を前回受信したメールのヘッダおよび本文と比
較することにより同一メールの判定を行うことを特徴と
する電子メール自動転送システム。
9. The electronic mail automatic transfer system according to claim 7, wherein the same mail detecting means determines the same mail by comparing a header and a body of a received mail with a header and a body of a previously received mail. E-mail automatic transfer system characterized by performing.
JP2000235631A 2000-08-03 2000-08-03 Electronic mail automatic transfer system Pending JP2002051071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000235631A JP2002051071A (en) 2000-08-03 2000-08-03 Electronic mail automatic transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000235631A JP2002051071A (en) 2000-08-03 2000-08-03 Electronic mail automatic transfer system

Publications (1)

Publication Number Publication Date
JP2002051071A true JP2002051071A (en) 2002-02-15

Family

ID=18727815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000235631A Pending JP2002051071A (en) 2000-08-03 2000-08-03 Electronic mail automatic transfer system

Country Status (1)

Country Link
JP (1) JP2002051071A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007060250A (en) * 2005-08-24 2007-03-08 Fuji Xerox Co Ltd Image formation apparatus
JP2009295181A (en) * 2009-08-10 2009-12-17 Fujitsu Ltd E-mail management device, mail server, transfer method, and medium
US7962554B2 (en) 2001-03-08 2011-06-14 Fujitsu Limited E-mail management system, mail server, forwarding method and medium
JP2019201238A (en) * 2018-05-14 2019-11-21 京セラドキュメントソリューションズ株式会社 Image reading device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962554B2 (en) 2001-03-08 2011-06-14 Fujitsu Limited E-mail management system, mail server, forwarding method and medium
US8108479B2 (en) 2001-03-08 2012-01-31 Fujitsu Limited E-mail management system, mail server, forwarding method and medium
JP2007060250A (en) * 2005-08-24 2007-03-08 Fuji Xerox Co Ltd Image formation apparatus
JP4645362B2 (en) * 2005-08-24 2011-03-09 富士ゼロックス株式会社 Image forming apparatus
JP2009295181A (en) * 2009-08-10 2009-12-17 Fujitsu Ltd E-mail management device, mail server, transfer method, and medium
JP2019201238A (en) * 2018-05-14 2019-11-21 京セラドキュメントソリューションズ株式会社 Image reading device
JP7075588B2 (en) 2018-05-14 2022-05-26 京セラドキュメントソリューションズ株式会社 Image reader

Similar Documents

Publication Publication Date Title
JP5246332B2 (en) Enhanced messaging platform
KR100677497B1 (en) Duplicated notification processing method in a terminal
US7353257B2 (en) System and method for disaster recovery and management of an email system
US20040019695A1 (en) Messaging system and method using alternative message delivery paths
US8880619B2 (en) Direct access electronic mail (email) distribution and synchronization system with trusted or verified IMAP-Idle implementation
US20060101123A1 (en) Methods and systems for selecting criteria for a successful acknowledgement message in instant messaging
US20060168642A1 (en) Using presence to inform other clients about capability limitations
US8656031B2 (en) Dialog communication system, dialog communication method and dialog communication program
JP3973352B2 (en) E-mail mediation apparatus and e-mail delivery method
KR100617775B1 (en) Method for managing duplicated message notification in multimedia messaging service
KR100702704B1 (en) Notification System and Method Using Messenger
JP2002051071A (en) Electronic mail automatic transfer system
JP4857246B2 (en) Approval device, approval method, and program
JP2006135662A (en) File transfer relay method and file transfer relay system
JP3827415B2 (en) Terminal device for e-mail system
JP2005210455A (en) Electronic mail relaying device
US20050198168A1 (en) Messaging protocol discovery
JP2007219721A (en) Electronic mail terminal, presence server, electronic mail system, electronic mail distribution method and program
CA2659807C (en) Direct access electronic mail (email) distribution and synchronization system with trusted or verified imap-idle implementation
JP4415892B2 (en) E-mail address change notification system and e-mail address change notification method
JP3747906B2 (en) E-mail server device and program used therefor
JP2000270006A (en) Device and system for repeating mail and storage medium
JP3412542B2 (en) Data distribution method
KR100547595B1 (en) Method for transferring message of local network user terminals in off-line status messenger
JP5131494B2 (en) E-mail system and e-mail communication method