JP2005353019A - Mail automatic decoding device and method - Google Patents

Mail automatic decoding device and method Download PDF

Info

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
mail
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
Application number
JP2004198651A
Other languages
Japanese (ja)
Inventor
Takaaki Takahashi
敬明 高橋
Takashi Mori
剛史 森
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.)
PARK KK
Original Assignee
PARK 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 PARK KK filed Critical PARK KK
Priority to JP2004198651A priority Critical patent/JP2005353019A/en
Publication of JP2005353019A publication Critical patent/JP2005353019A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and device for capable of normally deleting a mail from a mail server even in case that divided mails are integrated. <P>SOLUTION: A mail number possessed by a proxy is compared with a mail number of the mail server based on a list of a mail list storage part to instruct a mail to be deleted to the server. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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は受信メール記憶部である。  Reference numeral 100 denotes an automatic mail decryption apparatus according to the present invention, and reference numeral 112 denotes a mail processing unit which controls communication between the mail client 111 and the mail server 113 and transfers mail data. 114 is a mail list storage unit for storing the number and size of received mail, 115 is a plain text mail storage unit, and 117 is a received mail storage unit.

118はメールクライアント111の秘密鍵を記憶する秘密鍵記憶部で、複数のメールクライアントに対応できるように記憶されている。119はメールクライアント111が送信するメールの受信者の公開鍵を記憶する公開鍵記憶部である。  A secret key storage unit 118 stores a secret key of the mail client 111 and is stored so as to be compatible with a plurality of mail clients. A public key storage unit 119 stores the public key of the recipient of the mail transmitted by the mail client 111.

公開鍵は通常送付先のアドレスに対応して格納されている。120はパスワードつき圧縮データや暗号化データの復号などに使用するパスワードを記憶するパスワード記憶部である。復号化部116はメールクライアントに対応した秘密鍵で受信メール記憶部117のメールを復号し、平文メール記憶部115へ引き渡す。  The public key is usually stored corresponding to the address of the destination. A password storage unit 120 stores a password used for decrypting compressed data with password or decrypting encrypted data. The decryption unit 116 decrypts the mail in the received mail storage unit 117 with the secret key corresponding to the mail client, and delivers it to the plaintext mail storage unit 115.

受信メールが平文の場合はそのまま平文メール記憶部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 mail processing unit 112 from the plain text mail storage unit 115 to the mail client. Next, the operation procedure of the automatic mail decryption apparatus 101 of the present invention will be described using the sequence chart of FIG.

メールを受信する場合、メールクライアント111の接続要求コマンドはメール自動復号化装置111からメールサーバ113へ通知され、メールサーバ113の接続受理コマンドはメール処理部112を通じて、メールクライアント111に渡され、接続が成立する。  When receiving mail, the connection request command of the mail client 111 is notified from the mail automatic decryption apparatus 111 to the mail server 113, and the connection acceptance command of the mail server 113 is passed to the mail client 111 through the mail processing unit 112, and connected. Is established.

次にメールクライアント111からメールサーバ113に格納されているメールの一覧を取得するLISTコマンドがメール処理部112を通して、メールサーバ113へ送られる。メールサーバ113はLISTコマンドの応答をメール処理部112に返す。  Next, a LIST command for acquiring a list of mails stored in the mail server 113 is sent from the mail client 111 to the mail server 113 through the mail processing unit 112. The mail server 113 returns a response to the LIST command to the mail processing unit 112.

このLIST応答はメールの順番とサイズである。分割メールもそれぞれカウントされる。メール処理部112はLIST応答で得られた数のRETRコマンドを発行、応答を繰り返し全メールをサーバ113より取得し、受信メール記憶部117に格納する。  This LIST response is the order and size of mail. Each divided mail is also counted. The mail processing unit 112 issues the number of RETR commands obtained by the LIST response, repeats the response, acquires all mails from the server 113, and stores them in the received mail storage unit 117.

ここで、通常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 list storage unit 114. The mail list storage unit 114 stores mail numbers and sizes. Here, the mail processing unit 112 sends a response to the LIST command to the mail client 111.

図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 mail client 111 newly issues a LIST command after the above operation, the mail automatic decryption apparatus 101 does not perform mail body reception processing if the LIST response data from the server 113 is the same as before. However, if a certain amount of time has passed since the mail list management data was created, another mail client may delete the mail on the server, or a mail of the same size may arrive on it. So, in that case, re-receive the mail text.

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 mail client 111 deletes mail on the server 113 will be described. When the DELE command is issued from the mail client 111 to delete a specific mail from the mail obtained by the LIST command by specifying a number, the mail processing unit 112 sends the contents of the LIST transmitted to the mail client 111 and the mail server. The contents of the list received from 113 are compared.

削除するのが統合メールであれば、統合元となった全てのメールを削除るために、統合前のメール番号を比較表から割り出し、サーバ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 server 113 in order to delete all the mails that became the integration source. FIG. 5 shows this state. When a command for deleting the fourth integrated mail is received, a DELE command for deleting the fourth, fifth and sixth mails is issued to the mail server.

同時に一覧管理データのサーバから受信したリストから統合前のデータを削除する。また、クライアント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 client 111. The deleted mail is moved up by the deleted mail.

このように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 mail client 111, and disconnection processing is performed.

こうして、本発明によれば、分割メールが統合された後でも間違いなくサーバ上のメールを削除することが可能になっただけでなく、メールクライアントがメールをダウンロードする時に、分割メールの統合が行われて、ダウンロードすべきメールの数が減少したにもかかわらず、メールの減少を認識できずにメールをメールサーバに要求し続けるという問題を回避できるという効果も有する。  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.

メール自動復号化装置の概略機能構成図  Schematic functional block diagram of automatic mail decryption device メール自動復号化装置のシーケンスチャート  Email automatic decryption device sequence chart メール一覧管理のシーケンスチャート  Email list management sequence chart LISTコマンド応答  LIST command response DELEコマンド応答  DELE command response

符号の説明Explanation of symbols

100 メール自動復号化装置
111 メールクライアント
112 メール処理部
113 メールサーバ
114 メール一覧記憶部
115 平文メール記憶部
116 復号化部
117 受信メール記憶部
118 秘密鍵記憶部
119 公開鍵記憶部
120 パスワード記憶部
100 mail automatic decryption apparatus 111 mail client 112 mail processing section 113 mail server 114 mail list storage section 115 plaintext mail storage section 116 decryption section 117 received mail storage section 118 secret key storage section 119 public key storage section 120 password storage section

Claims (4)

符号化されたメールを自動的に復号するメール自動復号化方法において、メールサーバから受信したメールリストを記憶して、復号した後にメールリストをメールクライアントに送付することを特徴とするメール自動復号化方法。  In the automatic mail decoding method for automatically decoding encoded mail, the mail list received from the mail server is stored, and the mail list is sent to the mail client after being decrypted. Method. 前記メールリストは、メールサーバから受信したメールリストと復号化情報を元にメールリストを作成し、作成したリストをメールクライアントに送信することを特徴とする請求項1記載のメール自動暗号化方法。  2. The mail automatic encryption method according to claim 1, wherein the mail list is created based on a mail list received from a mail server and decryption information, and the created list is transmitted to a mail client. メールサーバから受信したメールを記憶する受信メール記憶部、受信メールの中から符号化されたメールを復号する復号化部、復号化されたメールを記憶する平文メール記憶部、復号に使用する復号化手段を記憶する復号化手段記憶部によって構成されるメール自動復号化装置において、メールリストを有するメール一覧記憶部を設けたことを特徴とするメール自動復号化装置。  Received mail storage unit for storing mail received from the mail server, decryption unit for decrypting mail encoded from the received mail, plain text mail storage unit for storing decrypted mail, decryption used for decryption An automatic mail decoding apparatus comprising a decoding means storage unit for storing means, wherein a mail list storage unit having a mail list is provided. 前記メール一覧記憶部は、メールサーバから受信したメールリストと復号化情報を元に作成したメールクライアントに送信するリストの2種類のリストで構成されていることを特徴とする前記第3項記載のメール自動復号化装置。  The said mail list memory | storage part is comprised by two types of lists, the list | wrist transmitted to the mail client produced based on the mail list | wrist received from the mail server, and the decoding information, The said 3rd characterized by the above-mentioned. Email automatic decryption device.
JP2004198651A 2004-06-08 2004-06-08 Mail automatic decoding device and method Pending JP2005353019A (en)

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)

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

Cited By (3)

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