JP2005353019A - Mail automatic decoding device and method - Google Patents
Mail automatic decoding device and method Download PDFInfo
- Publication number
- JP2005353019A JP2005353019A JP2004198651A JP2004198651A JP2005353019A JP 2005353019 A JP2005353019 A JP 2005353019A JP 2004198651 A JP2004198651 A JP 2004198651A JP 2004198651 A JP2004198651 A JP 2004198651A JP 2005353019 A JP2005353019 A JP 2005353019A
- Authority
- JP
- Japan
- Prior art keywords
- list
- server
- received
- client
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本発明は、電子メール等の情報を暗号化して送信する際に複数のメールに分割して送信されたものを、メールクライアントとメールサーバの間に置かれたプロキシで復号化して、メールをダウンロードする時の手続きを簡単に行う方式と装置に関するものである。 The present invention encrypts information such as e-mail and transmits it by dividing it into a plurality of e-mails and decrypting it with a proxy placed between the e-mail client and the e-mail server, and downloading the e-mail The present invention relates to a method and apparatus for easily performing the procedure.
一般に、メールサーバは受信するメールのサイズに制限を設けている。この制限を越えるサイズのメールを送信する場合は、この制限の範囲内のサイズに分割してメールを送信する。分割情報は電子メールのヘッダに記録され、この情報を元に分割されたメールは1つのメールに統合される。 In general, a mail server places a limit on the size of received mail. When sending a mail having a size exceeding this limit, the mail is divided into a size within the limit. The division information is recorded in the header of the electronic mail, and the mail divided based on this information is integrated into one mail.
メールクライアントがメールサーバからメールをダウンロードしようとする場合、メールサーバはメールクライアントのLISTコマンドに応答して、メールリストをクライアントに返す。メールリストにはメールの番号とサイズが含まれている。 When the mail client tries to download mail from the mail server, the mail server returns a mail list to the client in response to the LIST command of the mail client. The mail list contains the mail number and size.
このメールの番号はメールをダウンロードする時とメールサーバに蓄積されたメールをメールクライアントが削除する時に必要になる。メールクライアントとメールサーバの間にあるプロキシが分割送信されたメールの統合を行うと、その段階でメールの数が減少してしまう。 This mail number is required when downloading mail and when the mail client deletes mail stored in the mail server. If the proxy between the mail client and the mail server integrates the mail that has been split, the number of mails will decrease at that stage.
メールクライアントが、特定のメールをDELEコマンドでメールサーバから削除しようとする時、メールの順序がメールを統合したために狂ってしまい、意図しないメールを削除してしまうという問題が発生した。本発明は分割メールの統合を行っても、メールサーバから正常にメールを削除することを可能にする方法と装置を提供しようとするものである。 When a mail client tries to delete a specific mail from the mail server using the DELE command, the mail order is confused because the mail is integrated, and an unintended mail is deleted. The present invention seeks to provide a method and apparatus that enables a mail to be deleted normally from a mail server even when split mail is integrated.
本発明は、メールクライアントがメールサーバにLISTコマンドを送った時に、その中間にで処理を行うプロキシは、メールサーバから受けたメールLISTを直ちにメールクライアントに通知するのでなく、プロキシがメールの受信・統合を行った後のメールLISTをメールクライアントに通知する。 In the present invention, when the mail client sends a LIST command to the mail server, the proxy that performs processing in the middle does not immediately notify the mail client of the mail LIST received from the mail server. The mail client is notified of the mail LIST after the integration.
メールクライアントから特定のメール削除の指示がプロキシに届いた時は、メール一覧記憶部のリストに基づき、プロキシが持つメール番号とメールサーバのメール番号を対比させて、サーバに対して削除すべきメールを指示する。 When a specific mail deletion instruction arrives from the mail client to the proxy, the mail to be deleted from the server is compared with the mail number of the proxy and the mail number of the mail server based on the list in the mail list storage unit. Instruct.
上記手段によれば、以下のような作用が得られる。 According to the above means, the following operation can be obtained.
本発明によれば、分割メールが統合された後でも間違いなくサーバ上のメールを削除することが可能になっただけでなく、メールクライアントがメールをダウンロードする時に、分割メールの統合が行われて、ダウンロードすべきメールの数が減少したにもかかわらず、メールの減少を認識できずにメールをメールサーバに要求し続けるという問題を回避できるという効果も有する。 According to the present invention, not only can the mail on the server be surely deleted even after the divided mail is integrated, but the divided mail is integrated when the mail client downloads the mail. Even though the number of mails to be downloaded has decreased, the problem of continuing to request mails from the mail server without recognizing the decrease in mails can also be avoided.
以下、本発明の実施の形態を図示例と共に説明する。<BR> 図1〜図3は発明を実施する形態の一例であって、以下に上記図示例の作動を説明する。図1は本発明のメール自動復号化装置の概略の構成を示す図である。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. <BR> FIGS. 1 to 3 are examples of embodiments for carrying out the invention, and the operation of the illustrated example will be described below. FIG. 1 is a diagram showing a schematic configuration of an automatic mail decryption apparatus according to the present invention.
100は本発明のメール自動復号化装置、112はメール処理部でメールクライアント111とメールサーバ113との通信の制御、メールデータの受け渡しを行う。114は受信メールの番号、サイズを記憶するメール一覧記憶部、115は平文メール記憶部、117は受信メール記憶部である。
118はメールクライアント111の秘密鍵を記憶する秘密鍵記憶部で、複数のメールクライアントに対応できるように記憶されている。119はメールクライアント111が送信するメールの受信者の公開鍵を記憶する公開鍵記憶部である。 A secret
公開鍵は通常送付先のアドレスに対応して格納されている。120はパスワードつき圧縮データや暗号化データの復号などに使用するパスワードを記憶するパスワード記憶部である。復号化部116はメールクライアントに対応した秘密鍵で受信メール記憶部117のメールを復号し、平文メール記憶部115へ引き渡す。 The public key is usually stored corresponding to the address of the destination. A
受信メールが平文の場合はそのまま平文メール記憶部115へ引き渡す。最終的に受信メールはメール処理部112により、平文メール記憶部115からメールクライアントへ引き渡される。 次に図2のシーケンスチャートを用いて本発明のメール自動復号化装置101の動作手順を説明する。 When the received mail is plain text, it is handed over to the plain text mail storage unit 115 as it is. Finally, the received mail is delivered by the
メールを受信する場合、メールクライアント111の接続要求コマンドはメール自動復号化装置111からメールサーバ113へ通知され、メールサーバ113の接続受理コマンドはメール処理部112を通じて、メールクライアント111に渡され、接続が成立する。 When receiving mail, the connection request command of the
次にメールクライアント111からメールサーバ113に格納されているメールの一覧を取得するLISTコマンドがメール処理部112を通して、メールサーバ113へ送られる。メールサーバ113はLISTコマンドの応答をメール処理部112に返す。 Next, a LIST command for acquiring a list of mails stored in the
このLIST応答はメールの順番とサイズである。分割メールもそれぞれカウントされる。メール処理部112はLIST応答で得られた数のRETRコマンドを発行、応答を繰り返し全メールをサーバ113より取得し、受信メール記憶部117に格納する。 This LIST response is the order and size of mail. Each divided mail is also counted. The
ここで、通常RETRコマンドはLISTコマンドで得られたメールの中から番号指定で特定のメールを受信するコマンドである。この一連の動作は、RETRコマンドの発行、応答で一通のメールを受信するたびにメールが暗号化あるいは圧縮されていれば、その都度復号化が行われる。 Here, the normal RETR command is a command for receiving a specific mail by designating a number among mails obtained by the LIST command. In this series of operations, whenever mail is encrypted or compressed every time a mail is received by issuing or responding to a RETR command, decryption is performed each time.
必要な回数だけ同じ動作が繰り返された後、メール一覧管理データを作成しメール一覧記憶部114へ記憶する。メール一覧記憶部114には、メールの番号とサイズが記憶される。ここで、メール処理部112はLISTコマンドに対する応答をメールクライアント111へ送付する。 After the same operation is repeated as many times as necessary, mail list management data is created and stored in the mail
図4の右側かその内容を示したものである。メールサーバがLISTコマンドに応答してきた内容には、合計8通のメール、3通に分割されたメールと2通に分割されたメールがあるが、メールクライアントのへの応答では、5通のメールに変更されている。 The right side of FIG. 4 shows the contents. The mail server responds to the LIST command with a total of 8 mails, 3 mails and 2 mails, but 5 mails in response to the mail client Has been changed.
このときの送付データは復号化された後のサイズ、分割メールが統合された結果のサイズと順番である。ここまでの動作で初めのメールクライアントから発行されたLISTコマンドに対する処理が終了する。 図3はメール一覧管理シーケンスを説明する図である。 The sending data at this time is the size after decryption and the size and order of the result of integrating the divided mails. The processing for the LIST command issued from the first mail client is completed by the operations so far. FIG. 3 is a diagram for explaining a mail list management sequence.
上記の動作の後メールクライアント111が新規にLISTコマンドを発行した時、メール自動復号化装置101はサーバ113からのLIST応答データが以前と変わらない場合は、メール本文の受信処理は行わない。ただしメール一覧管理データを作成してから一定時間経過している場合は、他のメールクライアントがサーバ上のメールを削除メールしたり、その上で同一サイズのメールが到着している可能性があるので、その際はメール本文を再受信する。 When the
LIST応答で得られた内容とメール一覧管理データにある以前のLIST応答データとを比較して差異があればメールサーバから差異があった箇所以後のメールを受信、復号化。統合化を行い。メール一覧管理データの内容を修正、更新する。 The contents obtained by the LIST response are compared with the previous LIST response data in the mail list management data. Perform integration. Correct and update the contents of the mail list management data.
次にメールクライアント111がサーバ113上のメールを削除する場合の動作を説明する。メールクライアント111から、LISTコマンドで得られたメールの中から番号指定で特定のメールを削除するDELEコマンドが発行されると、メール処理部112は、メールクライアント111に送信したLISTの内容とメールサーバ113から受信したリストの内容を比較する。 Next, an operation when the
削除するのが統合メールであれば、統合元となった全てのメールを削除るために、統合前のメール番号を比較表から割り出し、サーバ113に必要な数のDELEコマンドを送る。図5はこの様子を示したもので統合メール4番のメールを削除するコマンドが来た時は、メールサーバには4番、5番、6番のメールを削除するDELEコマンドを発行する。 If it is an integrated mail to be deleted, the mail number before the integration is calculated from the comparison table and all necessary DELE commands are sent to the
同時に一覧管理データのサーバから受信したリストから統合前のデータを削除する。また、クライアント111に通知したメールリストから統合後のデータを削除する。 削除された後の順番のメールは削除された分だけ順番が繰り上がる。 At the same time, the data before integration is deleted from the list received from the list management data server. Further, the integrated data is deleted from the mail list notified to the
このようにDELEコマンドが発行されると、メール一覧管理データはメールクライアントに送信したリストの内容とサーバから受信したリストの内容が修正される。 この後メールクライアント111から切断要求が出され、切断処理が行われる。 When the DELE command is issued in this way, the contents of the list transmitted to the mail client and the contents of the list received from the server are corrected in the mail list management data. Thereafter, a disconnection request is issued from the
こうして、本発明によれば、分割メールが統合された後でも間違いなくサーバ上のメールを削除することが可能になっただけでなく、メールクライアントがメールをダウンロードする時に、分割メールの統合が行われて、ダウンロードすべきメールの数が減少したにもかかわらず、メールの減少を認識できずにメールをメールサーバに要求し続けるという問題を回避できるという効果も有する。 Thus, according to the present invention, it is possible not only to delete the mail on the server even after the split mail is integrated, but also to integrate the split mail when the mail client downloads the mail. In spite of the fact that the number of mails to be downloaded has decreased, the problem of continuing to request mails from the mail server without recognizing the decrease in mails can be avoided.
尚、本発明の実施形態は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。 It should be noted that the embodiment of the present invention is not limited to the illustrated examples described above, and it is needless to say that various modifications can be made without departing from the gist of the present invention.
100 メール自動復号化装置
111 メールクライアント
112 メール処理部
113 メールサーバ
114 メール一覧記憶部
115 平文メール記憶部
116 復号化部
117 受信メール記憶部
118 秘密鍵記憶部
119 公開鍵記憶部
120 パスワード記憶部100 mail
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004198651A JP2005353019A (en) | 2004-06-08 | 2004-06-08 | Mail automatic decoding device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004198651A JP2005353019A (en) | 2004-06-08 | 2004-06-08 | Mail automatic decoding device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005353019A true JP2005353019A (en) | 2005-12-22 |
Family
ID=35587428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004198651A Pending JP2005353019A (en) | 2004-06-08 | 2004-06-08 | Mail automatic decoding device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005353019A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011135588A (en) * | 2011-01-24 | 2011-07-07 | Murata Machinery Ltd | Gateway device |
US8572365B2 (en) | 2009-02-13 | 2013-10-29 | Mitsubishi Electric Corporation | Information gathering system, terminal unit, program for information gathering, and program for a terminal |
-
2004
- 2004-06-08 JP JP2004198651A patent/JP2005353019A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8572365B2 (en) | 2009-02-13 | 2013-10-29 | Mitsubishi Electric Corporation | Information gathering system, terminal unit, program for information gathering, and program for a terminal |
US9172684B2 (en) | 2009-02-13 | 2015-10-27 | Mitsubishi Electric Corporation | Information gathering system |
JP2011135588A (en) * | 2011-01-24 | 2011-07-07 | Murata Machinery Ltd | Gateway device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9590951B2 (en) | One-time pad communications network | |
CN100531108C (en) | System and method for processing encoded messages | |
CN1653764B (en) | Method and system for transmitting and utilizing attachments | |
CN1717697B (en) | System and method for compressing secure e-mail for exchange with a mobile data communication device | |
US9397984B1 (en) | Apparatus and method for secure file transfer | |
CN104137466A (en) | Method of operating a computing device, computing device and computer program | |
JP2009532970A5 (en) | ||
CN104145446A (en) | Method of operating a computing device, computing device and computer program | |
CN105743917B (en) | Message transmission method and terminal | |
CN105007254A (en) | Data transmission method and system, and terminal | |
CN112860791A (en) | Cross-network data synchronous control system, method and storage medium | |
JP2006013747A (en) | Electronic mail server apparatus and electronic mail network system | |
JP2013235465A (en) | File processing system | |
CN101795315A (en) | System and method for encrypting short messages by using mobile phone terminal | |
WO2007109373A2 (en) | Recording over the key in otp encryption | |
JP2006180532A (en) | E-mail system, managing device, program, and computer readable recording medium storing the program | |
JPH09321791A (en) | Method for transferring electronic mail and is device | |
JP2009055155A (en) | Gateway device | |
JP2005353019A (en) | Mail automatic decoding device and method | |
JP2016059022A (en) | Terminal device, gateway device and relay device | |
JP2005317029A (en) | Transmission of secure e-mail format | |
CA2618085A1 (en) | Methods and apparatus for use in transferring user data between two different mobile communication devices using a removable memory card | |
CN101621479A (en) | Method, server and terminal for E-mail transmission | |
CN110929274B (en) | Method, system and device for encrypting and decrypting file by using Blowfish | |
JP2011193319A (en) | File transfer system, and file transfer method |