[go: up one dir, main page]

JP6583934B2 - Mail server device, mail management method, and mail management program - Google Patents

Mail server device, mail management method, and mail management program Download PDF

Info

Publication number
JP6583934B2
JP6583934B2 JP2017555132A JP2017555132A JP6583934B2 JP 6583934 B2 JP6583934 B2 JP 6583934B2 JP 2017555132 A JP2017555132 A JP 2017555132A JP 2017555132 A JP2017555132 A JP 2017555132A JP 6583934 B2 JP6583934 B2 JP 6583934B2
Authority
JP
Japan
Prior art keywords
mail
message
information
storage area
header
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.)
Active
Application number
JP2017555132A
Other languages
Japanese (ja)
Other versions
JPWO2017099176A1 (en
Inventor
崇司 藤井
崇司 藤井
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.)
NEC Fielding Ltd
Original Assignee
NEC Fielding Ltd
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 NEC Fielding Ltd filed Critical NEC Fielding Ltd
Publication of JPWO2017099176A1 publication Critical patent/JPWO2017099176A1/en
Application granted granted Critical
Publication of JP6583934B2 publication Critical patent/JP6583934B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Description

[関連出願についての記載]
本発明は、日本国特許出願:特願2015−240987号(2015年12月10日出願)に基づくものであり、同出願の全記載内容は引用をもって本書に組み込み記載されているものとする。
本発明は、メールサーバ装置、メール管理方法、及びメール管理プログラムに関する。
[Description of related applications]
The present invention is based on a Japanese patent application: Japanese Patent Application No. 2015-240987 (filed on Dec. 10, 2015), and the entire description of the application is incorporated herein by reference.
The present invention relates to a mail server device, a mail management method, and a mail management program.

電子メールを送信する場合に、TO、CC(Carbon Copy)、BCC(Blind Carbon Copy)等を用いて、2以上の宛先に対する、同一の内容(同一のメール本文)の電子メール(以下、「同報メール」と呼ぶ)を送信することは一般的である。   When sending an e-mail, using the TO, CC (Carbon Copy), BCC (Blind Carbon Copy), etc., the e-mail (hereinafter referred to as “the same e-mail text”) for two or more destinations. It is common to send a “report mail”.

以下、図2、図3、図4、図5を参照しながら、2以上の宛先への同報メールを送信する処理について、詳細に説明する。   Hereinafter, a process for transmitting a broadcast mail to two or more destinations will be described in detail with reference to FIGS. 2, 3, 4, and 5.

図2は、電子メールの構造の一例を示す図である。電子メールは、例えば、図2に示す情報を含んで構成される。具体的には、電子メールは、ヘッダ部と、メール本文とを含んで構成される。また、添付ファイルが存在する場合には、電子メールは、ヘッダ部と、複数のテキスト文書と添付ファイルを1つにまとめたデータ、とを含んで構成される。ヘッダ部は、図2(a)に示す通り、送信先アドレス(To、Cc、Bcc)、送信元アドレス(From)、各メールに付加された固有の情報(メッセージID(Message-ID))、表題(Subject)、メール本文の形式(Content-Type)等を含んで構成される。メール本文は、図2(b)に示す情報と、メール内容とを含んで構成される。   FIG. 2 is a diagram illustrating an example of an electronic mail structure. The e-mail includes, for example, information shown in FIG. Specifically, the e-mail includes a header part and a mail text. When an attached file exists, the e-mail includes a header part, a plurality of text documents, and data that combines the attached files into one. As shown in FIG. 2A, the header part includes a transmission destination address (To, Cc, Bcc), a transmission source address (From), unique information added to each mail (message ID (Message-ID)), It includes a subject, a mail text format (Content-Type), and the like. The mail text includes the information shown in FIG. 2B and the mail contents.

図3は、図2に示す構成で作成された電子メールの一例を示す。図3は、宛先「To:kobe@example.xxx.jp、Cc:kyoto@example.xxx.jp、Bcc:osaka@example.xxx.jp」に対する電子メールの一例を示す。   FIG. 3 shows an example of an e-mail created with the configuration shown in FIG. FIG. 3 shows an example of an electronic mail for the destinations “To: kobe@example.xxx.jp, Cc: kyoto@example.xxx.jp, Bcc: osaka@example.xxx.jp”.

図4は、電子メールの送受信の一例を示すブロック図である。まず、ユーザが、メールソフト3200を用いて、図3に示すメール3100を作成し、送信処理を実行したとする。その場合、メールソフト3200を制御する端末装置は、メール3100をSMTP(Simple Mail Transfer Protocol)で、xxx.example.amのメールサーバ3300に送信する。ここで、xxx.example.amは、送信元メールサーバのドメイン名であるとする。   FIG. 4 is a block diagram illustrating an example of transmission / reception of an electronic mail. First, it is assumed that the user creates the mail 3100 shown in FIG. 3 using the mail software 3200 and executes the transmission process. In this case, the terminal device that controls the mail software 3200 transmits the mail 3100 to the mail server 3300 of xxx.example.am by SMTP (Simple Mail Transfer Protocol). Here, it is assumed that xxx.example.am is the domain name of the source mail server.

xxx.example.amのメールサーバ3300は、送信先のメールサーバを判定する機能(図4に示す送信先メールサーバ判定機能3310)を備える。送信先メールサーバ判定機能3310は、受信メールのヘッダ部を解析し、送信先のメールサーバを判定する。ここで、送信先のメールアドレスの「@」に続く文字列は、送信先のメールサーバ名を示す。例えば、図3に示す電子メールの場合、送信先のメールアドレスの「@」以降の文字列は、「example.xxx.jp」である。そのため、送信先のメールサーバが、example.xxx.jpのメールサーバ3400である、と送信先メールサーバ判定機能3310は判定する。   The mail server 3300 of xxx.example.am has a function of determining a destination mail server (destination mail server determination function 3310 shown in FIG. 4). The destination mail server determination function 3310 analyzes the header part of the received mail and determines the destination mail server. Here, the character string following “@” of the destination mail address indicates the name of the destination mail server. For example, in the case of the electronic mail shown in FIG. 3, the character string after “@” of the destination mail address is “example.xxx.jp”. Therefore, the destination mail server determination function 3310 determines that the destination mail server is the mail server 3400 of example.xxx.jp.

ここで、図3に示す通り、xxx.example.amのメールサーバ3300は、example.xxx.jpのメールサーバ3400に、受信したメール3100を1通、送信する。   Here, as shown in FIG. 3, the mail server 3300 of xxx.example.am transmits one received mail 3100 to the mail server 3400 of example.xxx.jp.

example.xxx.jpのメールサーバ3400は、1通のメール3100を、メール3410として受信する。example.xxx.jpのメールサーバ3400は、メール3410のヘッダ部を解析する。具体的には、example.xxx.jpのメールサーバ3400は、メール3410のヘッダ部の「To、Cc、Bcc」に続く文字列として、kobe@example.xxx.jp、kyoto@example.xxx.jp、osaka@example.xxx.jpを読み取る。ここで、送信先のメールアドレスの「@」より前の文字列が、送信先のメールボックス名である。そのため、メール3410において、送信先のメールボックスが、kobeのメールボックス3501、kyotoのメールボックス3502、osakaのメールボックス3503である、とexample.xxx.jpのメールサーバ3400は判断する。そして、example.xxx.jpのメールサーバ3400は、kobeのメールボックス3501、kyotoのメールボックス3502、osakaのメールボックス3503に、夫々、メール3511、メール3512、メール3513として、メール3410を格納する。   The mail server 3400 of example.xxx.jp receives one mail 3100 as the mail 3410. The mail server 3400 of example.xxx.jp analyzes the header part of the mail 3410. Specifically, the mail server 3400 of example.xxx.jp uses kobe@example.xxx.jp, kyoto@example.xxx.jp as character strings following “To, Cc, Bcc” in the header part of the mail 3410. Read osaka@example.xxx.jp. Here, the character string before “@” of the destination mail address is the destination mailbox name. Therefore, in the mail 3410, the mail server 3400 of example.xxx.jp determines that the destination mailboxes are the kobe mailbox 3501, the kyoto mailbox 3502, and the osaka mailbox 3503. The mail server 3400 of example.xxx.jp stores a mail 3410 as a mail 3511, a mail 3512, and a mail 3513 in the mail box 3501, the mail box 3502 of kyoto, and the mail box 3503 of osaka, respectively.

ここで、例えば、osaka@example.xxx.jpに対応するメールソフト3600が、メール受信処理を実行したとする。その場合、メールソフト3600を制御する端末装置は、POP3(Post Office Protocol 3)等を用いて、example.xxx.jpのメールサーバ3400に、メール要求を送信する。具体的には、メールソフト3600を制御する端末装置は、example.xxx.jpのメールサーバ3400にosaka@example.xxx.jpの電子メールの送信を要求する、メール要求を送信する。example.xxx.jpのメールサーバ3400は、メール要求に基づいて、osakaのメールボックス3503にアクセスし、メール3513を抽出する。そして、example.xxx.jpのメールサーバ3400は、POP3等を用いて、メール3513を、メールソフト3600を制御する端末装置に送信する。メールソフト3600を制御する端末装置は、メール3513を、メール3700として受信し、保存する。   Here, for example, it is assumed that the mail software 3600 corresponding to osaka@example.xxx.jp executes the mail reception process. In this case, the terminal device that controls the mail software 3600 transmits a mail request to the mail server 3400 of example.xxx.jp using POP3 (Post Office Protocol 3) or the like. Specifically, the terminal device that controls the mail software 3600 transmits a mail request that requests the mail server 3400 of example.xxx.jp to transmit an email of osaka@example.xxx.jp. Based on the mail request, the mail server 3400 of example.xxx.jp accesses the mail box 3503 of osaka and extracts the mail 3513. Then, the mail server 3400 of example.xxx.jp transmits the mail 3513 to the terminal device that controls the mail software 3600 using the POP3 or the like. The terminal device that controls the mail software 3600 receives the mail 3513 as the mail 3700 and stores it.

図5は、2以上の宛先への同報メールを送信する場合に、メールボックスに格納する処理の一例を示すブロック図である。   FIG. 5 is a block diagram illustrating an example of processing stored in a mailbox when sending a broadcast mail to two or more destinations.

例えば、図5に示すa.b.cのメールサーバ4000(以下、メールサーバ4000と呼ぶ)が電子メールを受信したとする。メールサーバ4000が受信する電子メールは、ヘッダ部4100と、メール本文4101と、添付ファイル4102とを含んで構成される。ヘッダ部4100は、送信先メールアドレス「1@a.b.c、2@a.b.c」を含む。   For example, it is assumed that the mail server 4000 (hereinafter referred to as the mail server 4000) of a.b.c shown in FIG. An e-mail received by the mail server 4000 includes a header portion 4100, a mail body 4101, and an attached file 4102. The header portion 4100 includes destination mail addresses “1@a.b.c, 2@a.b.c”.

メールサーバ4000は、1@a.b.cのメールボックス4310と、2@a.b.cのメールボックス4410に、受信メールを格納する。その結果、メールサーバ4000は、1@a.b.cのメールボックス4310と、2@a.b.cのメールボックス4410とに、同一の電子メール(受信した電子メール)を格納する。具体的には、メールサーバ4000は、1@a.b.cのメールボックス4310と、2@a.b.cのメールボックス4410に、ヘッダ部4300、メール本文4301、添付ファイル4302を格納する。ヘッダ部4300、メール本文4301、添付ファイル4302は、受信メールのヘッダ部4100、メール本文4101、添付ファイル4102に相当するものとする。   The mail server 4000 stores the received mail in the 1@a.b.c mailbox 4310 and the 2@a.b.c mailbox 4410. As a result, the mail server 4000 stores the same electronic mail (received electronic mail) in the mail box 4310 of 1@a.b.c and the mail box 4410 of 2@a.b.c. Specifically, the mail server 4000 stores a header part 4300, a mail text 4301, and an attached file 4302 in a 1@a.b.c mail box 4310 and a 2@a.b.c mail box 4410. The header part 4300, the mail text 4301, and the attached file 4302 correspond to the header part 4100, the mail text 4101, and the attached file 4102 of the received mail.

特許文献1において、メール送信端末と、メールゲートウェイ(特許文献1に記載のメールGW)と、メールサーバと、コンテンツサーバと、メール受信端末とを備える電子メールシステムが記載されている。特許文献1に記載のメールGWは、ヘッダ部と、メール本文と、添付ファイルのデータとに、受信メールを分離する。そして、特許文献1に記載のメールサーバは、ヘッダ部とメール本文とを含んで構成される電子メールを格納する。また、特許文献1に記載のコンテンツサーバは、添付ファイルのデータを格納する。そして、特許文献1に記載のコンテンツサーバは、添付ファイルのデータと、メッセージIDとを対応付けて管理する。   Patent Document 1 describes an electronic mail system that includes a mail transmission terminal, a mail gateway (mail GW described in Patent Document 1), a mail server, a content server, and a mail receiving terminal. The mail GW described in Patent Document 1 separates a received mail into a header part, a mail text, and attached file data. And the mail server of patent document 1 stores the electronic mail comprised including a header part and a mail text. Further, the content server described in Patent Document 1 stores data of attached files. The content server described in Patent Literature 1 manages the data of the attached file in association with the message ID.

特開2002−073504号公報JP 2002-073504 A

なお、上述先行技術文献の開示を、本書に引用をもって繰り込むものとする。以下の分析は、本発明の観点からなされたものである。   It should be noted that the disclosure of the above prior art document is incorporated herein by reference. The following analysis has been made from the viewpoint of the present invention.

図4、図5に示すように、2以上の宛先への同報電子メールを送信する時に、宛先の各メールボックスに、同一の電子メール(同一データの電子メール)を格納する場合がある。しかし、2以上のメールボックスに、同一データの電子メールを格納すると、メールサーバは、冗長なデータ(重複したデータ)を管理することになる。さらに、2以上のメールボックスに、同一データの電子メールを格納すると、格納されるデータサイズが増大することになる。   As shown in FIGS. 4 and 5, when sending a broadcast e-mail to two or more destinations, the same e-mail (e-mail with the same data) may be stored in each destination mailbox. However, if electronic mails of the same data are stored in two or more mailboxes, the mail server manages redundant data (duplicate data). Furthermore, storing electronic data with the same data in two or more mailboxes increases the size of the stored data.

また、メールサーバが管理する電子メールに関して、容量制限を設定した場合、データサイズの増大を防止できる。しかし、メールサーバが管理する電子メールに関して、容量制限を設定した場合、管理する(即ち、保存する)電子メールの数が減少し、ユーザの利便性が低下する。例えば、メールサーバが管理する電子メールに関して、容量制限を設定した場合、ユーザは、メールサーバに格納される電子メールの容量に留意する必要がある、また、メールサーバが、許容するメールボックスの容量を越えた場合、新規メールの受信が不可能になる。   In addition, when a capacity limit is set for electronic mail managed by the mail server, an increase in data size can be prevented. However, regarding the e-mail managed by the mail server, when the capacity limit is set, the number of e-mails to be managed (that is, stored) decreases, and the convenience for the user is lowered. For example, when a capacity limit is set for an e-mail managed by a mail server, the user needs to pay attention to the capacity of the e-mail stored in the mail server. If it exceeds the limit, new mail cannot be received.

ここで、特許文献1に記載された技術では、メールサーバが備える各メールボックスは、夫々、ヘッダ部とメール本文とを含む電子メールを格納する。そのため、2以上の宛先への同報メールを送信する場合、特許文献1に記載のメールサーバは、2以上のメールボックスに、同一データの電子メールを格納する。従って、特許文献1に記載のメールサーバは、冗長なデータ(重複したデータ)を管理する。   Here, in the technique described in Patent Document 1, each mailbox provided in the mail server stores an e-mail including a header portion and a mail text. For this reason, when sending a broadcast mail to two or more destinations, the mail server described in Patent Document 1 stores an email of the same data in two or more mailboxes. Therefore, the mail server described in Patent Document 1 manages redundant data (duplicate data).

そこで、本発明は、管理する電子メールのデータサイズの増大を抑制し、効率的に電子メールを管理することに貢献するメールサーバ装置、メール管理方法、及びメール管理プログラムを提供することを目的とする。   Accordingly, an object of the present invention is to provide a mail server device, a mail management method, and a mail management program that suppress an increase in the data size of the managed email and contribute to efficiently managing the email. To do.

第1の視点によれば、メールサーバ装置が提供される。該メールサーバ装置は、電子メールを受信する、メール受信手段を含んで構成される。
さらに、該メールサーバ装置は、前記メール受信手段が前記電子メールを受信した場合、メール本文を含む共有メール情報と、ヘッダ部とに、受信メールを分離する、メールヘッダ解読手段を含んで構成される。
さらに、該メールサーバ装置は、第1の記憶領域を含んで構成される。
さらに、該メールサーバ装置は、電子メールの宛先毎に異なる第2の記憶領域を含んで構成される。
前記メールヘッダ解読手段は、前記第1の記憶領域に、前記受信メールの前記共有メール情報を格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールの前記ヘッダ部を格納する。
According to a first aspect, a mail server device is provided. The mail server apparatus includes a mail receiving unit that receives an electronic mail.
Further, the mail server device includes a mail header decoding means for separating the received mail into shared mail information including a mail text and a header portion when the mail receiving means receives the electronic mail. The
Further, the mail server device includes a first storage area.
Further, the mail server device includes a second storage area that is different for each e-mail destination.
The mail header decoding means stores the shared mail information of the received mail in the first storage area, and stores the header portion of the received mail in the second storage area for each destination of the received mail. Store.

第2の視点によれば、メール管理方法が提供される。該メール管理方法は、第1の記憶領域と、電子メールの宛先毎に異なる第2の記憶領域と、を含んで構成されるメールサーバ装置が、電子メールを受信する工程を含む。
さらに、該メール管理方法は、該メールサーバ装置が、メール本文を含む共有メール情報と、ヘッダ部とに、受信メールを分離する工程を含む。
前記分離する工程において、該メールサーバ装置が、前記第1の記憶領域に、前記受信メールの前記共有メール情報を格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールの前記ヘッダ部を格納する。
なお、本方法は、電子メールの送受信を制御する情報処理装置という特定の機械に結び付けられている。
According to a second aspect, a mail management method is provided. The mail management method includes a step in which a mail server device configured to include a first storage area and a second storage area that differs for each e-mail destination receives the e-mail.
Further, the mail management method includes a step in which the mail server device separates the received mail into shared mail information including a mail text and a header portion.
In the separating step, the mail server device stores the shared mail information of the received mail in the first storage area, and stores the received mail in the second storage area for each destination of the received mail. Of the header portion.
This method is linked to a specific machine called an information processing apparatus that controls transmission / reception of electronic mail.

第3の視点によれば、メール管理プログラムが提供される。該メール管理プログラムは、第1の記憶領域と、電子メールの宛先毎に異なる第2の記憶領域と、を含んで構成されるメールサーバ装置を制御するコンピュータに実行させるプログラムである。
該メール管理プログラムは、電子メールを受信する処理を、該コンピュータに実行させる。
さらに、該メール管理プログラムは、メール本文を含む共有メール情報と、ヘッダ部とに、受信メールを分離する処理を、該コンピュータに実行させる。
該メール管理プログラムは、前記分離する処理において、前記第1の記憶領域に、前記受信メールの前記共有メール情報を格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールの前記ヘッダ部を格納する処理を、該コンピュータに実行させる。
なお、該メール管理プログラムは、コンピュータが読み取り可能な記憶媒体に記録することができる。記憶媒体は、半導体メモリ、ハードディスク、磁気記録媒体、光記録媒体等の非トランジェント(non-transient)なものとすることができる。本発明は、コンピュータプログラム製品として具現することも可能である。
According to a third aspect, a mail management program is provided. The mail management program is a program that is executed by a computer that controls a mail server device that includes a first storage area and a second storage area that differs for each e-mail destination.
The mail management program causes the computer to execute processing for receiving electronic mail.
Further, the mail management program causes the computer to execute processing for separating received mail into shared mail information including a mail text and a header portion.
In the process of separating, the mail management program stores the shared mail information of the received mail in the first storage area, and stores the received mail in the second storage area for each destination of the received mail. The computer is caused to execute the process of storing the header part.
The mail management program can be recorded on a computer-readable storage medium. The storage medium may be non-transient such as a semiconductor memory, a hard disk, a magnetic recording medium, an optical recording medium, or the like. The present invention can also be embodied as a computer program product.

各視点によれば、管理する電子メールのデータサイズの増大を抑制し、効率的に電子メールを管理することに貢献するメールサーバ装置、メール管理方法、及びメール管理プログラムを提供することを目的とする。   According to each aspect, an object of the present invention is to provide a mail server device, a mail management method, and a mail management program that suppress an increase in the data size of the managed email and contribute to efficiently managing the email. To do.

一実施形態の概要を説明するための図である。It is a figure for demonstrating the outline | summary of one Embodiment. 電子メールの構造の一例を示す図である。It is a figure which shows an example of the structure of an email. 電子メールの一例を示す図である。It is a figure which shows an example of an email. 電子メールの送受信の一例を示すブロック図である。It is a block diagram which shows an example of transmission / reception of an email. メールボックスに電子メールを格納する処理の一例を示すブロック図である。It is a block diagram which shows an example of the process which stores an email in a mailbox. 本実施形態に係るメールサーバ装置10の全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the mail server apparatus 10 which concerns on this embodiment. メッセージIDデータベース400に格納されるレコードのデータ構造を示す図である。4 is a diagram illustrating a data structure of a record stored in a message ID database 400. FIG. 電子メールを受信した場合の動作の一例を示すフローチャートである。It is a flowchart which shows an example of an operation | movement at the time of receiving an electronic mail. 電子メールを受信した場合の動作の一例を示すフローチャートである。It is a flowchart which shows an example of an operation | movement at the time of receiving an electronic mail. レコードの一例を示す図である。It is a figure which shows an example of a record. レコードの一例を示す図である。It is a figure which shows an example of a record. レコードの一例を示す図である。It is a figure which shows an example of a record. レコードの一例を示す図である。It is a figure which shows an example of a record. 電子メールの要求を受信した場合の動作の一例を示すフローチャートである。It is a flowchart which shows an example of an operation | movement at the time of receiving the request | requirement of an email. 電子メールの削除要求を受信した場合の動作の一例を示すフローチャートである。It is a flowchart which shows an example of an operation | movement at the time of receiving the deletion request | requirement of an email. 電子メールの削除要求を受信した場合の動作の一例を示すフローチャートである。It is a flowchart which shows an example of an operation | movement at the time of receiving the deletion request | requirement of an email. 第2の実施形態に係るメールサーバ装置10aの全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the mail server apparatus 10a which concerns on 2nd Embodiment. 第3の実施形態に係るメールサーバ装置10bの全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the mail server apparatus 10b which concerns on 3rd Embodiment.

初めに、図1を用いて一実施形態の概要について説明する。なお、この概要に付記した図面参照符号は、理解を助けるための一例として各要素に便宜上付記したものであり、この概要の記載はなんらの限定を意図するものではない。また、各図面において、ブロック間の接続線は、双方向及び単方向の双方を含む。一方向矢印については、主たる信号(データ)の流れを模式的に示すものであり、双方向性を排除するものではない。   First, an outline of an embodiment will be described with reference to FIG. Note that the reference numerals of the drawings attached to the outline are attached to the respective elements for convenience as an example for facilitating understanding, and the description of the outline is not intended to be any limitation. In each drawing, the connection line between the blocks includes both bidirectional and unidirectional. The unidirectional arrow schematically shows the main signal (data) flow and does not exclude bidirectionality.

上述の通り、管理する電子メールのデータサイズの増大を抑制し、効率的に電子メールを管理することに貢献するメールサーバ装置が望まれる。   As described above, a mail server device that suppresses an increase in the data size of the managed e-mail and contributes to efficiently managing the e-mail is desired.

そこで、一例として、図1に示すメールサーバ装置1を提供する。メールサーバ装置1は、メール受信手段2と、メールヘッダ解読手段3と、第1の記憶領域4と、第2の記憶領域5とを含んで構成される。   Therefore, as an example, the mail server device 1 shown in FIG. 1 is provided. The mail server device 1 includes a mail receiving unit 2, a mail header decoding unit 3, a first storage area 4, and a second storage area 5.

メールヘッダ解読手段3は、メール受信手段2が電子メールを受信した場合、メール本文を含む共有メール情報31と、ヘッダ部32とに、受信メールを分離する。ここで、受信メールは、共有メール情報61と、ヘッダ部62とを含んで構成される。共有メール情報は、メール本文であっても良い。または、受信メールが添付ファイルを含む場合には、共有メール情報は、メール本文と、添付ファイルとを含んで構成されても良い。なお、共有メール情報31は、受信メールの共有メール情報61に相当するものとする。また、ヘッダ部32は、受信メールのヘッダ部62に相当するものとする。そして、ヘッダ部32、及びヘッダ部62は、電子メールを識別するメッセージID(Identification)を含む。   When the mail receiving means 2 receives an electronic mail, the mail header decoding means 3 separates the received mail into the shared mail information 31 including the mail text and the header portion 32. Here, the received mail includes shared mail information 61 and a header portion 62. The shared mail information may be a mail text. Alternatively, when the received mail includes an attached file, the shared mail information may be configured to include a mail text and an attached file. Note that the shared mail information 31 corresponds to the shared mail information 61 of the received mail. The header portion 32 corresponds to the header portion 62 of the received mail. The header part 32 and the header part 62 include a message ID (Identification) for identifying an electronic mail.

メールサーバ装置1は、1又は2以上の第1の記憶領域4を含んで構成されても良い。第2の記憶領域5は、電子メールの宛先毎に異なる記憶領域である。メールサーバ装置1は、1又は2以上の第2の記憶領域5を含んで構成される。第2の記憶領域5は、ユーザ毎のメールボックスとして構成されても良い。   The mail server device 1 may be configured to include one or more first storage areas 4. The second storage area 5 is a storage area that is different for each e-mail destination. The mail server device 1 is configured to include one or more second storage areas 5. The second storage area 5 may be configured as a mailbox for each user.

メールヘッダ解読手段3は、第1の記憶領域4に、受信メールの共有メール情報31を格納し、受信メールの宛先毎の第2の記憶領域5に、受信メールのヘッダ部32を格納する。なお、図1に示す共有メール情報41は、図1に示す共有メール情報31に相当するものとする。また、図1に示すヘッダ部51は、図1に示すヘッダ部32に相当するものとする。   The mail header decoding means 3 stores the received mail shared mail information 31 in the first storage area 4, and stores the received mail header part 32 in the second storage area 5 for each destination of the received mail. The shared mail information 41 shown in FIG. 1 corresponds to the shared mail information 31 shown in FIG. Moreover, the header part 51 shown in FIG. 1 shall correspond to the header part 32 shown in FIG.

例えば、メール受信手段2が、2以上の宛先への同報メールを受信したとする。その場合、メールヘッダ解読手段3は、当該受信メールのメール本文を含む、メール共有情報を第1の記憶領域4に格納する。また、メールヘッダ解読手段3は、各宛先に対応する第2の記憶領域5に、当該受信メールのヘッダ部を格納する。そのため、メールサーバ装置1は、2以上の宛先への同報メールを受信した場合であっても、2以上のメールボックスに、同一データの電子メールを、重複して格納することを回避できる。従って、メールサーバ装置1は、管理する電子メールのデータサイズの増大を抑制し、効率的に電子メールを管理することに貢献する。   For example, it is assumed that the mail receiving means 2 receives a broadcast mail to two or more destinations. In that case, the mail header decoding means 3 stores the mail sharing information including the mail body of the received mail in the first storage area 4. Further, the mail header decoding means 3 stores the header part of the received mail in the second storage area 5 corresponding to each destination. Therefore, even when the mail server device 1 receives a broadcast mail addressed to two or more destinations, it is possible to avoid storing the same data electronic mail in two or more mailboxes. Therefore, the mail server device 1 suppresses an increase in the data size of the managed email and contributes to efficiently managing the email.

[第1の実施形態]
第1の実施形態について、図面を用いてより詳細に説明する。なお、以下の説明では、上記の第1の記憶領域を、共有メール格納部と呼ぶ。また、上記の第2の記憶領域は、所謂、個人メールボックスに相当するものとする。なお、電子メールが添付ファイルを含まない場合には、本書で説明する処理において、添付ファイルを除外することは勿論である。なお、以下の説明において、メール本文とは、メール本文の文字情報、及びメール本文として挿入される画像等を含むものとする。
[First Embodiment]
The first embodiment will be described in more detail with reference to the drawings. In the following description, the first storage area is referred to as a shared mail storage unit. Further, the second storage area corresponds to a so-called personal mailbox. Of course, when the electronic mail does not include an attached file, the attached file is excluded in the processing described in this document. In the following description, the mail body includes character information of the mail body and an image inserted as the mail body.

図6は、本実施形態に係るメールサーバ装置10の全体構成の一例を示すブロック図である。   FIG. 6 is a block diagram illustrating an example of the overall configuration of the mail server device 10 according to the present embodiment.

メールサーバ装置10は、メール受信手段200と、メールヘッダ解読手段300と、メッセージIDデータベース400と、共有メール格納部500と、個人メールボックス600と、メール要求受付手段700と、を含んで構成される。   The mail server device 10 includes a mail receiving unit 200, a mail header decoding unit 300, a message ID database 400, a shared mail storage unit 500, a personal mailbox 600, and a mail request receiving unit 700. The

図6に示すメールサーバ装置10の各構成要素は、同一機器内に構成されても良い。あるいは、図6に示すメールサーバ装置10の構成要素のうち、少なくとも一の構成要素は、他の機器に構成されても良い。その場合、インターネット等のネットワークを介して、他の構成要素と接続しても良い。なお、ネットワークを実現する方式は各種あるが、本書で説明する機能を実現できれば良く、その詳細は問わない。   Each component of the mail server device 10 illustrated in FIG. 6 may be configured in the same device. Alternatively, at least one of the components of the mail server device 10 illustrated in FIG. 6 may be configured in another device. In that case, you may connect with another component via networks, such as the internet. Although there are various methods for realizing the network, it is sufficient that the functions described in this document can be realized, and details thereof are not limited.

具体的には、メールサーバ装置10は、1又は2以上のコンピュータが備える通信装置、制御部(CPU(Central Processing Unit))、記憶装置を用いて実現される。記憶装置は、磁気ディスク装置や光ディスク装置、半導体メモリ、等によって実現される。なお、半導体メモリは、例えば、SSD(ソリッドステートドライブ、Solid State Drive)であり、フラッシュメモリを使用したものでも良く、DRAM(ダイナミック・ランダム・アクセス・メモリ、Dynamic Random Access Memory)を含んでも良い。また、メールサーバ装置10は、1又は2以上のコンピュータに、そのハードウェアを用いて、各処理を実行させるコンピュータプログラムにより実現しても良い。   Specifically, the mail server device 10 is realized using a communication device, a control unit (CPU (Central Processing Unit)), and a storage device included in one or more computers. The storage device is realized by a magnetic disk device, an optical disk device, a semiconductor memory, or the like. The semiconductor memory is, for example, an SSD (Solid State Drive), may use a flash memory, and may include a DRAM (Dynamic Random Access Memory). Further, the mail server device 10 may be realized by a computer program that causes one or more computers to execute each process using the hardware thereof.

メールサーバ装置10が備える、1又は2以上の記憶装置は、電子メールのメッセージID毎に異なる第1の記憶領域(共有メール格納部500)と、電子メールの宛先毎に異なる第2の記憶領域(個人メールボックス600)とを備える。さらに、メールサーバ装置10が備える記憶装置は、メッセージIDと、共有メール情報の格納場所を特定する情報と、ヘッダ部の格納場所を特定する情報とを対応付けて格納する、第3の記憶領域を備える。なお、共有メール格納部500(第1の記憶領域)と、個人メールボックス600(第2の記憶領域)と、第3の記憶領域とは、同一の記憶装置に構成されても良い。あるいは、共有メール格納部500(第1の記憶領域)、個人メールボックス600(第2の記憶領域)、第3の記憶領域は、夫々、異なる記憶装置に構成されても良い。   One or two or more storage devices included in the mail server device 10 include a first storage area (shared mail storage unit 500) that differs for each email message ID and a second storage area that differs for each destination of the email. (Personal mailbox 600). Furthermore, the storage device included in the mail server device 10 stores a message ID, information for specifying the storage location of the shared mail information, and information for specifying the storage location of the header portion in association with each other. Is provided. Note that shared mail storage unit 500 (first storage area), personal mailbox 600 (second storage area), and third storage area may be configured in the same storage device. Alternatively, the shared mail storage unit 500 (first storage area), the personal mailbox 600 (second storage area), and the third storage area may be configured in different storage devices.

<メール受信手段200>
メール受信手段200は、メールサーバ装置10とは異なるメールサーバ(以下、「他メールサーバ100」と呼ぶ。)と、インターネット等のネットワークを介して接続する。具体的には、メール受信手段200は、ネットワークと接続する通信装置を含んで構成される。そして、メール受信手段200は、他メールサーバ100から、SMTPで送信された、電子メールを受信する。そして、メール受信手段200は、受信した電子メール(以下、単に「電子メール」とも呼ぶ。)を、メールヘッダ解読手段300に送信する。
<Mail receiving means 200>
The mail receiving means 200 is connected to a mail server different from the mail server device 10 (hereinafter referred to as “other mail server 100”) via a network such as the Internet. Specifically, the mail receiving means 200 includes a communication device that is connected to a network. Then, the mail receiving unit 200 receives an electronic mail transmitted by SMTP from the other mail server 100. Then, the mail receiving means 200 transmits the received electronic mail (hereinafter also simply referred to as “electronic mail”) to the mail header decoding means 300.

<メールヘッダ解読手段300>
メールヘッダ解読手段300は、メール本文を含む共有メール情報と、ヘッダ部とに、電子メールを分離する。ここで、共有メール情報は、メール本文を少なくとも含む情報であり、メール本文と、添付ファイルとを含んで構成されても良い。つまり、図6に示す通り、メールヘッダ解読手段300は、ヘッダ部301と、メール本文302と、添付ファイル303とに、電子メールを分離する。メールヘッダ解読手段300は、例えば、CPUを用いて実現しても良い。
<Mail header decoding means 300>
The mail header decoding means 300 separates the e-mail into shared mail information including a mail body and a header part. Here, the shared mail information is information including at least a mail text, and may include a mail text and an attached file. That is, as shown in FIG. 6, the mail header decoding unit 300 separates the e-mail into a header part 301, a mail body 302, and an attached file 303. The mail header decoding means 300 may be realized using a CPU, for example.

そして、メールヘッダ解読手段300は、電子メールのメッセージIDに対応する、第1の記憶領域(共有メール格納部500)に、電子メールの共有メール情報を格納する。さらに、メールヘッダ解読手段300は、電子メールの宛先毎の第2の記憶領域(個人メールボックス600)に、電子メールのヘッダ部を格納する。   Then, the mail header decoding means 300 stores the shared mail information of the e-mail in the first storage area (shared mail storage unit 500) corresponding to the message ID of the e-mail. Further, the mail header decoding means 300 stores the header part of the email in the second storage area (personal mail box 600) for each email destination.

<メッセージIDデータベース400>
図6に示す通り、メッセージIDデータベース400は、メッセージIDと、ヘッダ部と、メール本文と、添付ファイルとを対応付けた情報401を格納する。具体的には、メッセージIDデータベース400は、メッセージIDと、共有メール情報の格納場所を特定する情報と、ヘッダ部の格納場所を特定する情報とを対応付けた情報を、レコードとして格納する。なお、メッセージIDデータベース400は、2以上のメッセージIDを格納する場合、各メッセージIDに関して、メッセージIDと、共有メール情報の格納場所を特定する情報と、ヘッダ部の格納場所を特定する情報とを対応付けて格納する。なお、メッセージIDデータベース400は、1又は2以上のレコードを格納する、第3の記憶領域を含んで構成される。
<Message ID database 400>
As shown in FIG. 6, the message ID database 400 stores information 401 in which a message ID, a header part, a mail text, and an attached file are associated with each other. Specifically, the message ID database 400 stores, as a record, information in which a message ID, information for specifying the storage location of the shared mail information, and information for specifying the storage location of the header portion are associated with each other. When storing two or more message IDs, the message ID database 400 includes, for each message ID, a message ID, information for specifying the storage location of the shared mail information, and information for specifying the storage location of the header part. Store in association. Note that the message ID database 400 includes a third storage area that stores one or more records.

図7は、メッセージIDデータベース400に格納されるレコードのデータ構造を示す図である。   FIG. 7 is a diagram illustrating a data structure of a record stored in the message ID database 400.

共有メール情報の格納場所を特定する情報とは、共有メール格納部500の場所を特定する情報である。つまり、共有メール情報の格納場所を特定する情報とは、メール本文、及び添付ファイルの保存先を示す情報である。例えば、共有メール情報が格納される場所を特定する情報は、メール本文、添付ファイルの格納先のファイルパス等であっても良い。ここで、共有メール情報が格納される場所を特定する情報は、格納したメール本文、添付ファイルに、格納後にアクセス可能になる情報であれば良く、その詳細は問わない。   The information for specifying the storage location of the shared mail information is information for specifying the location of the shared mail storage unit 500. That is, the information specifying the storage location of the shared mail information is information indicating the mail text and the storage location of the attached file. For example, the information specifying the location where the shared mail information is stored may be the mail text, the file path where the attached file is stored, or the like. Here, the information for specifying the location where the shared mail information is stored may be any information that enables access to the stored mail body and attached file after storage, and the details thereof are not limited.

また、ヘッダ部の格納場所を特定する情報とは、個人メールボックス600を特定する情報(以下、「個人メールボックス情報」とも呼ぶ)である。例えば、個人メールボックス情報は、電子メールのヘッダ部の送信先アドレス(To、Cc、Bccで指し示すメールアドレス)であっても良い。   The information for specifying the storage location of the header portion is information for specifying the personal mailbox 600 (hereinafter also referred to as “personal mailbox information”). For example, the personal mailbox information may be a transmission destination address (mail address indicated by To, Cc, Bcc) of the header part of the electronic mail.

また、メッセージIDデータベース400は、格納するレコードを制御する機能を有するものとする。具体的には、メッセージIDデータベース400は、メッセージIDが、重複して存在しない状態を維持する機能を有する。   In addition, the message ID database 400 has a function of controlling records to be stored. Specifically, the message ID database 400 has a function of maintaining a state where message IDs do not exist in duplicate.

メッセージIDデータベース400は、メール要求受付手段700からの検索要求に対して、格納するレコードを抽出し、検索要求元に返信する。また、メッセージIDデータベース400は、検索、結果応答、情報更新、情報の削除等の機能を有する。   In response to the search request from the mail request receiving means 700, the message ID database 400 extracts a record to be stored and returns it to the search request source. Further, the message ID database 400 has functions such as search, result response, information update, and information deletion.

<共有メール格納部500>
上記の通り、共有メール格納部500は、電子メールのメッセージID毎に異なる記憶領域を含んで構成されるものとする。共有メール格納部500は、電子メールの共有メール情報を格納する。具体的には、共有メール格納部500は、電子メールのメール本文302と、添付ファイル303とを格納する。さらに、共有メール格納部500は、記憶領域を含むとともに、当該記憶領域に対する、情報の読み書きを実行する機能を有するものとする。
<Shared mail storage unit 500>
As described above, the shared mail storage unit 500 is configured to include different storage areas for each message ID of the electronic mail. The shared mail storage unit 500 stores shared mail information of electronic mail. Specifically, the shared mail storage unit 500 stores a mail text 302 and an attached file 303 of an electronic mail. Furthermore, the shared mail storage unit 500 includes a storage area and has a function of executing reading and writing of information with respect to the storage area.

<個人メールボックス600>
個人メールボックス600は、電子メールのヘッダ部(図6に示すヘッダ部301)を格納する。さらに、個人メールボックス600は、記憶領域を含むともとに、当該記憶領域に対する、情報の読み書きを実行するものとする。
<Personal mailbox 600>
The personal mailbox 600 stores an e-mail header (header 301 shown in FIG. 6). Furthermore, it is assumed that the personal mailbox 600 includes a storage area and reads / writes information from / to the storage area.

上記の通り、個人メールボックス600は、電子メールの宛先毎に異なる記憶領域を含んで構成されるものとする。つまり、電子メールの受信者毎に異なる記憶領域が、個人メールボックスを構成する記憶領域として、割り当てられるものとする。   As described above, it is assumed that the personal mailbox 600 includes different storage areas for each e-mail destination. In other words, a storage area that is different for each e-mail recipient is assigned as a storage area constituting the personal mailbox.

例えば、1つのメッセージIDに対応する電子メールが、2以上の宛先に対する電子メールであるとする。その場合、メールヘッダ解読手段300は、各宛先に対応する個人メールボックス600に、夫々、当該電子メールのヘッダ部301を格納する。そして、メールヘッダ解読手段300は、当該メッセージIDに対応する共有メール情報、具体的には、電子メールのメール本文302と、添付ファイル303、を、共有メール格納部500に格納する。   For example, it is assumed that an electronic mail corresponding to one message ID is an electronic mail for two or more destinations. In that case, the mail header decoding means 300 stores the header portion 301 of the e-mail in the personal mailbox 600 corresponding to each destination. Then, the mail header decoding unit 300 stores the shared mail information corresponding to the message ID, specifically, the mail text 302 of the electronic mail and the attached file 303 in the shared mail storage unit 500.

<メール要求受付手段700>
メール要求受付手段700は、メーラアプリケーションプログラム(以下、受信者メールソフト800とも呼ぶ)を制御する端末装置と、インターネット等のネットワークを介して接続する。具体的には、メール要求受付手段700は、ネットワークと接続する通信装置を含んで構成される。そして、メール要求受付手段700は、受信者メールソフト800がPOP3等で送信した、メール要求、又はメール削除要求を受信する。以下の説明において、メール要求とは、電子メールのヘッダ部と、メール本文と、添付ファイルとを入手する要求を意味する。また、以下の説明において、メール削除要求とは、受信済みの電子メールのヘッダ部と、メール本文と、添付ファイルとを削除する要求を意味する。なお、メール受信手段200と、メール要求受付手段700とは、同一の通信装置を用いて実現しても良い。あるいは、メール受信手段200と、メール要求受付手段700とは、異なる通信装置を用いて実現しても良い。さらに、メール要求受付手段700は、CPUを用いて、本書で説明する処理を実現しても良い。
<Mail Request Accepting Unit 700>
The mail request receiving means 700 is connected to a terminal device that controls a mailer application program (hereinafter also referred to as recipient mail software 800) via a network such as the Internet. Specifically, the mail request accepting unit 700 is configured to include a communication device connected to the network. Then, the mail request accepting unit 700 receives a mail request or a mail deletion request transmitted by the recipient mail software 800 using POP3 or the like. In the following description, a mail request means a request for obtaining an e-mail header, a mail text, and an attached file. In the following description, the mail deletion request means a request to delete the header part of the received electronic mail, the mail body, and the attached file. Note that the mail receiving means 200 and the mail request accepting means 700 may be realized using the same communication device. Alternatively, the mail receiving unit 200 and the mail request receiving unit 700 may be realized using different communication devices. Further, the mail request accepting unit 700 may realize the processing described in this document using a CPU.

次に、メールヘッダ解読手段300について、詳細に説明する。   Next, the mail header decoding means 300 will be described in detail.

メールヘッダ解読手段300は、受信メールのヘッダ部301から、メッセージIDを取得する。そして、取得したメッセージIDがメッセージIDデータベース400に格納されているか否かを、メールヘッダ解読手段300は判断する。   The mail header decoding means 300 acquires the message ID from the header part 301 of the received mail. Then, the mail header decoding unit 300 determines whether or not the acquired message ID is stored in the message ID database 400.

取得したメッセージIDが、メッセージIDデータベース400に格納されていないとする。その場合、メールヘッダ解読手段300は、メッセージIDと、共有メール情報の格納場所を特定する情報と、第2の記憶領域(個人メールボックス)を特定する情報とを対応付けたレコードを、作成する。ここで、特定される個人メールボックス600は、取得したメッセージIDに対応するヘッダ部のうち、一の宛先に対応するものとする。そして、メールヘッダ解読手段300は、作成したレコードを、メッセージIDデータベース400に登録する。   It is assumed that the acquired message ID is not stored in the message ID database 400. In that case, the mail header decoding means 300 creates a record in which the message ID, the information specifying the storage location of the shared mail information, and the information specifying the second storage area (personal mailbox) are associated with each other. . Here, it is assumed that the specified personal mailbox 600 corresponds to one destination in the header portion corresponding to the acquired message ID. Then, the mail header decoding means 300 registers the created record in the message ID database 400.

一方、取得したメッセージIDが、メッセージIDデータベース400に格納されているとする。その場合、取得したメッセージIDに対応するレコードが、メッセージIDデータベース400に登録されていることを意味する。そこで、メールヘッダ解読手段300は、取得したメッセージIDに対応するレコードを特定する。そして、メールヘッダ解読手段300は、電子メールの宛先に対応する第2の記憶領域(個人メールボックス)を特定する情報を、特定したレコードに追加する。ここで、特定される個人メールボックス600は、メッセージIDに対応するヘッダ部のうち、前記一の宛先と異なる、他の宛先に対応するものとする。 On the other hand, it is assumed that the acquired message ID is stored in the message ID database 400. In that case, it means that a record corresponding to the acquired message ID is registered in the message ID database 400. Therefore, the mail header decoding unit 300 specifies a record corresponding to the acquired message ID. Then, the mail header decoding unit 300 adds information specifying the second storage area (personal mailbox) corresponding to the destination of the electronic mail to the specified record. Here, it is assumed that the specified personal mailbox 600 corresponds to another destination different from the one destination in the header portion corresponding to the message ID.

次に、メール要求受付手段700が、メール要求を受信した場合について詳細に説明する。   Next, the case where the mail request receiving unit 700 receives a mail request will be described in detail.

メール要求受付手段700は、メール要求を受信した場合、メール要求元に対応する第2の記憶領域(個人メールボックス600)から、ヘッダ部301を取得する。具体的には、メール要求受付手段700は、メール要求元(即ち、電子メールの受信者)を識別し、アクセス対象の個人メールボックス600を特定する。そして、メール要求受付手段700は、特定した個人メールボックス600にアクセスし、当該個人メールボックス600に格納されているヘッダ部301を取得する。   When receiving the mail request, the mail request accepting unit 700 acquires the header portion 301 from the second storage area (personal mailbox 600) corresponding to the mail request source. Specifically, the mail request receiving means 700 identifies a mail request source (that is, an e-mail recipient), and specifies the personal mailbox 600 to be accessed. Then, the mail request accepting unit 700 accesses the specified personal mailbox 600 and acquires the header portion 301 stored in the personal mailbox 600.

なお、メール要求受付手段700は、特定した個人メールボックス600に対して、アクセス可能な状態であるとする。そのため、メール要求受付手段700は、個人メールボックス600がアクセス不可能な状態である場合には、当該人メールボックス600をアクセス可能な状態に遷移させるものとする。また、個人メールボックス600が、メール要求受付手段700とは、異なる機器に格納されている場合、メール要求受付手段700は、個人メールボックス600が格納されている機器等に接続する等の処理を実行する。 It is assumed that the mail request accepting unit 700 is accessible to the identified personal mailbox 600. Therefore, mail request receiving means 700, personal mailbox 600 if it is inaccessible is assumed to shift the personal mailbox 600 accessible. When the personal mailbox 600 is stored in a device different from the mail request receiving unit 700, the mail request receiving unit 700 performs processing such as connecting to a device in which the personal mailbox 600 is stored. Execute.

そして、メール要求受付手段700は、取得したヘッダ部301に含まれるメッセージIDに基づいて、第1の記憶領域(共有メール格納部500)を特定し、共有メール情報、具体的には、電子メールのメール本文302と、添付ファイル303、を取得する。   Then, the mail request accepting unit 700 identifies the first storage area (shared mail storage unit 500) based on the acquired message ID included in the header section 301, and the shared mail information, specifically, e-mail. Mail body 302 and attached file 303 are acquired.

具体的には、メール要求受付手段700は、取得したヘッダ部301から、メッセージIDを取得(抽出)する。そして、メール要求受付手段700は、取得したメッセージIDを検索キーにして、メッセージIDデータベース400を検索し、レコードを取得(抽出)する。そして、メール要求受付手段700は、取得したレコードから、共有メール情報、具体的には、電子メールのメール本文302と、添付ファイル303、の格納場所(第1の記憶領域)を特定する情報を取得(抽出)する。そして、メール要求受付手段700は、特定した共有メール情報の格納場所にアクセスし、共有メール情報を取得する。つまり、メール要求受付手段700は、特定した共有メール情報の格納場所から、メール本文302、及び添付ファイル303を取得する。   Specifically, the mail request receiving unit 700 acquires (extracts) a message ID from the acquired header portion 301. Then, the mail request receiving means 700 searches the message ID database 400 using the acquired message ID as a search key, and acquires (extracts) a record. Then, the mail request accepting unit 700 obtains information for identifying the storage location (first storage area) of the shared mail information, specifically, the email body 302 and the attached file 303 from the acquired record. Acquire (extract). Then, the mail request receiving means 700 accesses the storage location of the specified shared mail information and acquires the shared mail information. That is, the mail request accepting unit 700 acquires the mail text 302 and the attached file 303 from the storage location of the specified shared mail information.

そして、メール要求受付手段700は、取得したヘッダ部301と、取得した共有メール情報、具体的には、電子メールのメール本文302と、添付ファイル303、とを結合し、電子メールを作成する。なお、以下の説明では、メール要求受付手段700が、取得したヘッダ部、取得したメール本文、取得した添付ファイルを、夫々、ヘッダ部701、メール本文702、添付ファイル703とも呼ぶ。   Then, the mail request accepting unit 700 combines the acquired header portion 301 with the acquired shared mail information, specifically, the mail text 302 of the electronic mail and the attached file 303 to create an electronic mail. In the following description, the mail request receiving unit 700 also refers to the acquired header part, the acquired mail text, and the acquired attached file as a header part 701, a mail text 702, and an attached file 703, respectively.

そして、メール要求受付手段700は、作成した電子メールを、メール要求元に送信する。つまり、メール要求受付手段700は、受信者メールソフト800を制御する端末装置(以下、「クライアント端末」とも呼ぶ)に対して、作成した電子メールを送信する。例えば、メール要求受付手段700は、図6に示すヘッダ部701と、メール本文702と、添付ファイル703とを含む電子メールを、クライアント端末に送信する。   Then, the mail request receiving unit 700 transmits the created electronic mail to the mail request source. That is, the mail request accepting means 700 transmits the created electronic mail to a terminal device (hereinafter also referred to as “client terminal”) that controls the recipient mail software 800. For example, the mail request accepting unit 700 transmits an electronic mail including the header part 701, the mail text 702, and the attached file 703 shown in FIG. 6 to the client terminal.

次に、メール要求受付手段700が、メール削除要求を受信した場合について詳細に説明する。   Next, the case where the mail request receiving unit 700 receives a mail deletion request will be described in detail.

メール要求受付手段700は、メール削除要求を受信した場合、メール削除要求に基づいて、ヘッダ部の格納場所、及び削除対象のヘッダ部を特定する。具体的には、メール要求受付手段700は、メール削除要求元の個人メールボックス600を特定する。そして、メール要求受付手段700は、特定した個人メールボックス600に格納されるヘッダ部301を特定する。   When receiving the mail deletion request, the mail request receiving unit 700 specifies the storage location of the header part and the header part to be deleted based on the mail deletion request. Specifically, the mail request receiving means 700 specifies the personal mailbox 600 that is the mail deletion request source. Then, the mail request accepting unit 700 specifies the header part 301 stored in the specified personal mailbox 600.

そして、メール要求受付手段700は、削除対象のヘッダ部に含まれるメッセージID基づいて、メッセージIDデータベース400のレコードから、削除対象の個人メールボックス600を特定する情報を削除する。具体的には、メール要求受付手段700は、削除対象の各電子メールのヘッダ部に含まれる、メッセージIDを特定する。そして、メール要求受付手段700は、メッセージIDデータベース400のレコードを参照し、特定した各メッセージIDのレコードに記録している、個人メールボックス情報の、個人メールボックス600を特定する情報を削除する。   Then, the mail request receiving means 700 deletes information for identifying the personal mailbox 600 to be deleted from the record of the message ID database 400 based on the message ID included in the header part to be deleted. Specifically, the mail request accepting unit 700 specifies the message ID included in the header part of each email to be deleted. Then, the mail request receiving means 700 refers to the record of the message ID database 400 and deletes the information specifying the personal mailbox 600 of the personal mailbox information recorded in the record of each specified message ID.

そして、メール要求受付手段700は、特定した個人メールボックス600に格納されているヘッダ部301を削除する。   Then, the mail request receiving means 700 deletes the header portion 301 stored in the specified personal mailbox 600.

そして、メール要求受付手段700は、メッセージIDデータベース400のレコードの個人メールボックス情報の、個人メールボックスを特定する情報に、何らかの情報が登録されているかを判定する。   Then, the mail request receiving means 700 determines whether any information is registered in the information for specifying the personal mailbox in the personal mailbox information of the record of the message ID database 400.

前記判定の結果、個人メールボックスを特定する情報が空の場合は、メール要求受付手段700は、メッセージIDデータベース400のレコードの、共有メール情報、具体的には、電子メールのメール本文302と、添付ファイル303、の格納場所を特定する。   If the information specifying the personal mailbox is empty as a result of the determination, the mail request accepting unit 700 includes the shared mail information of the record of the message ID database 400, specifically, the mail text 302 of the email, The storage location of the attached file 303 is specified.

そして、メール要求受付手段700は、特定した共有メール情報、具体的には、電子メールのメール本文302と、添付ファイル303、を削除する。   Then, the mail request accepting unit 700 deletes the specified shared mail information, specifically, the mail body 302 and the attached file 303 of the electronic mail.

そして、メール要求受付手段700は、メッセージIDデータベース400のレコードを削除する。   Then, the mail request receiving unit 700 deletes the record in the message ID database 400.

次に、本実施形態に係るメールサーバ装置10の動作について詳細に説明する。   Next, the operation of the mail server device 10 according to the present embodiment will be described in detail.

<メール受信>
まず、メールサーバ装置10が、電子メールを受信した場合の動作について、詳細に説明する。なお、以下の説明においては、メールサーバ装置10が、図3に示す電子メールを受信した場合を例示し、説明する。つまり、以下の説明においては、メッセージIDが「20150610123456789@xxx.example.am」であり、宛先が「To:kobe@example.xxx.jp、Cc:kyoto@example.xxx.jp、Bcc:osaka@example.xxx.jp」の電子メールを受信した場合を例示し、説明する。なお、図2に示す電子メールの構造、及び図3に示す電子メールは、一例であり、本実施形態に係る電子メールを、図2に示す構造、及び図3に示す電子メールに限定する趣旨ではない。
<Receive mail>
First, the operation when the mail server device 10 receives an e-mail will be described in detail. In the following description, a case where the mail server device 10 receives the electronic mail shown in FIG. 3 will be exemplified and described. That is, in the following description, the message ID is “20150610123456789@xxx.example.am”, the destination is “To: kobe@example.xxx.jp, Cc: kyoto@example.xxx.jp, Bcc: osaka @ An example of receiving an e-mail “example.xxx.jp” will be described. The e-mail structure shown in FIG. 2 and the e-mail shown in FIG. 3 are examples, and the e-mail according to the present embodiment is limited to the structure shown in FIG. 2 and the e-mail shown in FIG. is not.

図8、図9は、電子メールを受信した場合の動作の一例を示すフローチャートである。なお、初期状態では、メッセージID「20150610123456789@xxx.example.am」は、メッセージIDデータベース400に未登録であるとする。   FIG. 8 and FIG. 9 are flowcharts showing an example of the operation when an e-mail is received. In the initial state, it is assumed that the message ID “20150610123456789@xxx.example.am” is not registered in the message ID database 400.

まず、メール受信手段200は、SMTPで、電子メールを受信したとする(図8に示すステップA1)。例えば、メール受信手段200は、図2に示す構造で作成された、図3に示す電子メールを、SMTPで受信する。   First, it is assumed that the mail receiving means 200 receives an electronic mail by SMTP (step A1 shown in FIG. 8). For example, the mail receiving means 200 receives the electronic mail shown in FIG. 3 created with the structure shown in FIG. 2 by SMTP.

メール受信手段200は、電子メールを受信すると、メールヘッダ解読手段300に、受信メールを送信する(ステップA2)。つまり、メール受信手段200は、メールヘッダ解読手段300に、受信メールのデータを送信する。   When receiving the electronic mail, the mail receiving means 200 transmits the received mail to the mail header decoding means 300 (step A2). That is, the mail receiving unit 200 transmits the received mail data to the mail header decoding unit 300.

ステップB1において、メールヘッダ解読手段300は、メール受信手段200から、受信メールを受信する。ステップB2において、メールヘッダ解読手段300は、受信メールのヘッダ部を取得する。具体的には、メールヘッダ解読手段300は、電子メールの構造(例えば、図2に示す構造)に基づいて、受信メールのヘッダ部を抽出する。そして、ステップB3において、メールヘッダ解読手段300は、ヘッダ部から、メッセージIDを抽出する。   In step B1, the mail header decoding unit 300 receives the received mail from the mail receiving unit 200. In step B2, the mail header decoding means 300 acquires the header part of the received mail. Specifically, the mail header decoding unit 300 extracts the header part of the received mail based on the structure of the electronic mail (for example, the structure shown in FIG. 2). In step B3, the mail header decoding unit 300 extracts the message ID from the header part.

ステップB4において、メールヘッダ解読手段300は、メッセージIDを検索する。具体的には、メールヘッダ解読手段300は、抽出したメッセージIDを含むレコードを、検索する命令をメッセージIDデータベース400に送信する。換言すると、メールヘッダ解読手段300は、抽出したメッセージIDを検索キーとして、レコードを検索する命令を、メッセージIDデータベース400に送信する。   In step B4, the mail header decoding means 300 searches for the message ID. Specifically, the mail header decoding unit 300 transmits an instruction to search for a record including the extracted message ID to the message ID database 400. In other words, the mail header decoding means 300 transmits a command for searching for a record to the message ID database 400 using the extracted message ID as a search key.

ステップC1において、メッセージIDデータベース400は、検索を実行する。具体的には、メッセージIDデータベース400は、受信メールのメッセージIDを含むレコードを検索し、検索結果をメールヘッダ解読手段300に返す。   In step C1, the message ID database 400 performs a search. Specifically, the message ID database 400 searches for a record including the message ID of the received mail, and returns the search result to the mail header decoding unit 300.

ステップB5において、検索キーであるメッセージIDを含む、レコードが、メッセージIDデータベース400に格納されているか否かを、メールヘッダ解読手段300は判断する。   In step B5, the mail header decoding unit 300 determines whether or not a record including the message ID that is the search key is stored in the message ID database 400.

ここで、検索キーがメッセージID「20150610123456789@xxx.example.am」であるとする。そして、メッセージID「20150610123456789@xxx.example.am」が、メッセージIDデータベース400に未登録であるとする。その場合、検索キーであるメッセージIDを含む、レコードが、メッセージIDデータベース400に格納されていない、とメールヘッダ解読手段300は判断する。   Here, it is assumed that the search key is the message ID “20150610123456789@xxx.example.am”. The message ID “20150610123456789@xxx.example.am” is not registered in the message ID database 400. In that case, the mail header decoding unit 300 determines that a record including the message ID that is the search key is not stored in the message ID database 400.

検索キーであるメッセージIDを含む、レコードが、メッセージIDデータベース400に格納されていない場合(ステップB5のNo分岐)には、図9に示すステップB8に遷移する。一方、検索キーであるメッセージIDを含む、レコードが、メッセージIDデータベース400に格納されている場合(ステップB5のYes分岐)には、ステップB6に遷移する。ステップB6以降の処理については、後述する。   When the record including the message ID that is the search key is not stored in the message ID database 400 (No branch of Step B5), the process proceeds to Step B8 shown in FIG. On the other hand, when the record including the message ID that is the search key is stored in the message ID database 400 (Yes branch of step B5), the process proceeds to step B6. The processing after step B6 will be described later.

図9に示すステップB8において、メールヘッダ解読手段300は、新規のレコードを作成する。具体的には、メールヘッダ解読手段300は、メッセージIDが検索キーである、レコードを作成する命令を送信する。例えば、検索キーがメッセージID「20150610123456789@xxx.example.am」であるとする。その場合、メールヘッダ解読手段300は、メッセージID「20150610123456789@xxx.example.am」を含むレコードを作成する命令を、メッセージIDデータベース400に送信する。   In step B8 shown in FIG. 9, the mail header decoding means 300 creates a new record. Specifically, the mail header decoding unit 300 transmits a command for creating a record whose message ID is a search key. For example, assume that the search key is the message ID “20150610123456789@xxx.example.am”. In that case, the mail header decoding means 300 transmits an instruction to create a record including the message ID “20150610123456789@xxx.example.am” to the message ID database 400.

例えば、メッセージIDデータベース400は、図10に示すように、メッセージIDと、共有メール格納部500の場所と、個人メールボックス情報とを対応付けるデータを、レコードとして作成しても良い。そして、メッセージIDデータベース400は、作成したデータに、メッセージID「20150610123456789@xxx.example.am」を登録しても良い(図10参照)。なお、図10、図11、図12、図13において、テーブル形式のデータを示すが、レコードをテーブル形式に限定する趣旨ではない。レコードは、メッセージIDと、共有メール格納部500の場所と、個人メールボックス情報とが対応付けられた情報であれば良く、その詳細は問わない。   For example, as shown in FIG. 10, the message ID database 400 may create, as a record, data associating the message ID, the location of the shared mail storage unit 500, and personal mailbox information. The message ID database 400 may register the message ID “20150610123456789@xxx.example.am” in the created data (see FIG. 10). Although FIG. 10, FIG. 11, FIG. 12, and FIG. 13 show table format data, this is not intended to limit the records to the table format. The record may be information in which the message ID, the location of the shared mail storage unit 500, and the personal mailbox information are associated with each other, and the details thereof are not limited.

そして、メールヘッダ解読手段300は、メール本文と、添付ファイルとを共有メール格納部500に格納する(ステップB9、ステップD1)。具体的には、メールヘッダ解読手段300は、電子メールの構造(例えば、図2に示す構造)に基づいて、電子メールから、メール本文と、添付ファイルとを抽出する。そして、メールヘッダ解読手段300は、抽出したメール本文と、添付ファイルとを、共有メール格納部500に格納する。ここで、メールヘッダ解読手段300は、共有メール格納部500の空き領域に、抽出したメール本文と、添付ファイルとを格納するものとする。 Then, the mail header decrypting means 300 stores the mail text and the attached file in the shared mail storage unit 500 (Step B9, Step D1). Specifically, the mail header decoding unit 300 extracts a mail text and an attached file from the e-mail based on the e-mail structure (for example, the structure shown in FIG. 2). Then, the mail header decoding unit 300 stores the extracted mail text and attached file in the shared mail storage unit 500. Here, it is assumed that the mail header decoding unit 300 stores the extracted mail text and attached file in the free area of the shared mail storage unit 500.

ステップB10において、メールヘッダ解読手段300は、共有メール格納部500の場所を特定する情報を、メッセージIDデータベース400に書き込む。具体的には、メールヘッダ解読手段300は、レコードに、共有メール格納部500の場所を特定する情報を書き込む命令を、メッセージIDデータベース400に送信する。上記の通り、共有メール格納部500の場所を特定する情報は、例えば、ファイルパス等であっても良い。共有メール格納部500の場所を特定する情報は、格納したメール本文、添付ファイルに、格納後にアクセス可能な情報であれば、その詳細は問わない。   In step B <b> 10, the mail header decoding unit 300 writes information specifying the location of the shared mail storage unit 500 in the message ID database 400. Specifically, the mail header decoding unit 300 transmits a command to write information for specifying the location of the shared mail storage unit 500 to the record to the message ID database 400. As described above, the information specifying the location of the shared mail storage unit 500 may be a file path, for example. The information specifying the location of the shared mail storage unit 500 is not particularly limited as long as it is information that can access the stored mail body and attached file after storage.

ステップC4において、メッセージIDデータベース400は、共有メール格納部500の場所を特定する情報を書き込む。具体的には、メッセージIDデータベース400は、メールヘッダ解読手段300が出した命令を受けて、レコードに、共有メール格納部500の場所を特定する情報を書き込む(図11参照)。   In step C4, the message ID database 400 writes information for specifying the location of the shared mail storage unit 500. Specifically, the message ID database 400 receives a command issued by the mail header decoding unit 300 and writes information specifying the location of the shared mail storage unit 500 in the record (see FIG. 11).

ステップB11において、メールヘッダ解読手段300は、メッセージIDデータベース400の個人メールボックス情報に、個人メールボックス600を特定する情報を追加する。具体的には、メールヘッダ解読手段300は、レコードに、個人メールボックス600を特定する情報を追加する命令を、メッセージIDデータベース400に送信する。   In step B <b> 11, the mail header decoding unit 300 adds information specifying the personal mailbox 600 to the personal mailbox information in the message ID database 400. Specifically, the mail header decoding unit 300 transmits a command for adding information specifying the personal mailbox 600 to the record to the message ID database 400.

ステップC5において、メッセージIDデータベース400は、個人メールボックス600を特定する情報を追加する。具体的には、メッセージIDデータベース400は、メールヘッダ解読手段300が出した命令を受けて、レコードに、個人メールボックス600を特定する情報を追加する。例えば、図12に示すように、メッセージIDデータベース400は、メールアドレスのアカウント部分(図12の場合、図3に示す宛先メールアドレス「kobe@example.xxx.jp」のアカウント「kobe」)を、個人メールボックス情報に追加しても良い。なお、図12に示す個人メールボックス情報は、一例であり、個人メールボックス情報を、メールアドレスのアカウント部分に限定する趣旨ではない。個人メールボックス情報は、個人メールボックス600を特定する情報であれば良く、その詳細は問わない。   In step C5, the message ID database 400 adds information for specifying the personal mailbox 600. Specifically, the message ID database 400 receives a command issued by the mail header decoding unit 300 and adds information specifying the personal mailbox 600 to the record. For example, as shown in FIG. 12, the message ID database 400 stores the account part of the mail address (in the case of FIG. 12, the account “kobe” of the destination mail address “kobe@example.xxx.jp” shown in FIG. 3). It may be added to personal mailbox information. Note that the personal mailbox information shown in FIG. 12 is an example, and the personal mailbox information is not limited to the account part of the mail address. The personal mailbox information may be any information that identifies the personal mailbox 600, and the details thereof are not limited.

ステップB12において、メールヘッダ解読手段300は、個人メールボックス600にヘッダ部を送信する。そして、ステップE2において、個人メールボックス600は、メールヘッダ解読手段300が送信したヘッダ部を格納する。具体的には、メールヘッダ解読手段300は、アカウント「kobe」の個人メールボックス600に、図3に示す電子メールのヘッダ部を送信する。そして、アカウント「kobe」の個人メールボックス600は、送信されたヘッダ部(図3に示す電子メールのヘッダ部)を格納する。   In step B <b> 12, the mail header decoding unit 300 transmits the header part to the personal mailbox 600. In step E2, the personal mailbox 600 stores the header portion transmitted by the mail header decoding means 300. Specifically, the mail header decrypting unit 300 transmits the header part of the electronic mail shown in FIG. 3 to the personal mailbox 600 of the account “kobe”. The personal mailbox 600 of the account “kobe” stores the transmitted header portion (the header portion of the email shown in FIG. 3).

次に、メッセージIDに対応するヘッダ部のうち、登録済みの一の宛先と異なる、他の宛先に関して、メールサーバ装置10の動作について、詳細に説明する。なお、以下の説明においては、登録済みの一の宛先を「kobe@example.xxx.jp」とし、他の宛先を「kyoto@example.xxx.jp」として説明する。また、以下の説明において、メールサーバ装置10は、図3に示す電子メール(メッセージID「20150610123456789@xxx.example.am」の電子メール)を受信済みであり、図12に示すレコードを作成済みであるとする。   Next, the operation of the mail server device 10 will be described in detail with respect to another destination that is different from one registered destination in the header portion corresponding to the message ID. In the following description, it is assumed that one registered destination is “kobe@example.xxx.jp” and the other destination is “kyoto@example.xxx.jp”. Further, in the following description, the mail server device 10 has received the email shown in FIG. 3 (the email with the message ID “20150610123456789@xxx.example.am”) and has created the record shown in FIG. Suppose there is.

上記の通り、図8に示すステップB5において、検索キーであるメッセージIDを含む、レコードが、メッセージIDデータベース400に格納されている否かを、メールヘッダ解読手段300は判断する。   As described above, in step B5 shown in FIG. 8, the mail header decoding unit 300 determines whether or not a record including the message ID as a search key is stored in the message ID database 400.

ここで、検索キーであるメッセージIDを含む、レコードが、メッセージIDデータベース400に格納されている、とメールヘッダ解読手段300は判断するとする。その場合、メールヘッダ解読手段300は、メッセージIDデータベース400の個人メールボックス情報に、個人メールボックス600を特定する情報を追加する(ステップB6)。具体的には、メールヘッダ解読手段300は、レコードにおいて、メッセージIDに対応する個人メールボックス情報に、個人メールボックス600を特定する情報を追加する命令を、メッセージIDデータベース400に送信する。   Here, it is assumed that the mail header decoding unit 300 determines that a record including the message ID that is the search key is stored in the message ID database 400. In that case, the mail header decoding means 300 adds information specifying the personal mailbox 600 to the personal mailbox information of the message ID database 400 (step B6). Specifically, the mail header decoding means 300 transmits a command for adding information for specifying the personal mailbox 600 to the personal mailbox information corresponding to the message ID in the record to the message ID database 400.

ステップC2において、メッセージIDデータベース400は、個人メールボックス600を特定する情報を追加する。具体的には、メッセージIDデータベース400は、メールヘッダ解読手段300が出した命令を受けて、メッセージIDに対応する個人メールボックス情報に、個人メールボックス600を特定する情報を追加する。例えば、図13に示すように、メッセージIDデータベース400は、メールアドレスのアカウント部分(図13の場合、図3に示す宛先メールアドレス「kyoto@example.xxx.jp」のアカウント「kyoto」)を、個人メールボックス情報に追加しても良い。   In step C2, the message ID database 400 adds information that identifies the personal mailbox 600. Specifically, the message ID database 400 receives an instruction issued by the mail header decoding unit 300 and adds information for specifying the personal mailbox 600 to the personal mailbox information corresponding to the message ID. For example, as shown in FIG. 13, the message ID database 400 stores the account part of the mail address (in the case of FIG. 13, the account “kyoto” of the destination mail address “kyoto@example.xxx.jp” shown in FIG. 3). It may be added to personal mailbox information.

ステップB7において、メールヘッダ解読手段300は、送信先の個人メールボックス600にヘッダ部を送信する。そして、ステップE1において、個人メールボックス600は、メールヘッダ解読手段300が送信したヘッダ部を格納する。具体的には、メールヘッダ解読手段300は、アカウント「kyoto」の個人メールボックス600に、図3に示す電子メールのヘッダ部を送信する。そして、アカウント「kyoto」の個人メールボックス600は、送信されたヘッダ部(図3に示す電子メールのヘッダ部)を格納する。   In step B7, the mail header decoding means 300 transmits the header part to the personal mailbox 600 of the transmission destination. In step E1, the personal mailbox 600 stores the header portion transmitted by the mail header decoding means 300. Specifically, the mail header decrypting means 300 transmits the header part of the electronic mail shown in FIG. 3 to the personal mail box 600 of the account “kyoto”. The personal mailbox 600 of the account “kyoto” stores the transmitted header part (the header part of the electronic mail shown in FIG. 3).

<メール要求>
次に、メールサーバ装置10が、電子メールの宛先から、電子メールの要求を受信した場合の動作について、詳細に説明する。なお、以下の説明においては、メールサーバ装置10が、図3に示す電子メールを受信し、電子メールの宛先「kobe@example.xxx.jp」から電子メールの要求を受信した場合を例示して説明する。
<Email request>
Next, the operation when the mail server device 10 receives an e-mail request from the e-mail destination will be described in detail. In the following description, a case where the mail server device 10 receives the email shown in FIG. 3 and receives an email request from the email destination “kobe@example.xxx.jp” is exemplified. explain.

図14は、メールサーバ装置10が、電子メールの宛先から、電子メールの要求を受信した場合の動作の一例を示すフローチャートである。   FIG. 14 is a flowchart illustrating an example of an operation when the mail server device 10 receives an e-mail request from an e-mail destination.

まず、メール要求受付手段700は、クライアント端末からメール要求を受信したとする(図14に示すステップF1)。具体的には、メール要求受付手段700は、クライアント端末から、POP3等のメール要求を受信する。例えば、メール要求受付手段700は、「kobe@example.xxx.jp」のクライアント端末から、POP3等のメール要求を受信する。   First, it is assumed that the mail request receiving means 700 receives a mail request from the client terminal (step F1 shown in FIG. 14). Specifically, the mail request accepting unit 700 receives a mail request such as POP3 from the client terminal. For example, the mail request receiving means 700 receives a mail request such as POP3 from the client terminal “kobe@example.xxx.jp”.

メール要求受付手段700は、クライアント端末からメール要求を受信すると、個人メールボックス600を特定する(ステップF2)。具体的には、メール要求受付手段700は、メール要求に基づいて、メール要求元を特定する。そして、メール要求受付手段700は、メール要求元に対応する個人メールボックス600を特定する。例えば、電子メールの宛先「kobe@example.xxx.jp」から電子メールの要求を受信した場合、メール要求受付手段700は、アカウント「kobe」の個人メールボックス600を特定する。   When receiving the mail request from the client terminal, the mail request accepting unit 700 specifies the personal mailbox 600 (Step F2). Specifically, the mail request accepting unit 700 specifies a mail request source based on the mail request. Then, the mail request receiving means 700 identifies the personal mailbox 600 corresponding to the mail request source. For example, when an e-mail request is received from the e-mail destination “kobe@example.xxx.jp”, the e-mail request receiving unit 700 identifies the personal mailbox 600 of the account “kobe”.

ステップF3において、メール要求受付手段700は、ヘッダ部を要求する。具体的には、メール要求受付手段700は、特定した個人メールボックス600に対して、電子メールのヘッダ部を送信するように要求する。ここで、メール要求受付手段700は、メール要求元のクライアント端末が未受信である、2以上の電子メールに関して、各電子メールのヘッダ部を要求しても良い。   In step F3, the mail request receiving means 700 requests a header part. Specifically, the mail request receiving means 700 requests the specified personal mailbox 600 to transmit the header part of the electronic mail. Here, the mail request accepting means 700 may request the header part of each e-mail for two or more e-mails that have not been received by the mail request source client terminal.

ステップE2において、個人メールボックス600は、メール要求受付手段700にヘッダ部を送信する。具体的には、個人メールボックス600は、メール要求受付手段700からのヘッダ部の要求に応答し、格納するヘッダ部をメール要求受付手段700に送信する。   In step E2, the personal mailbox 600 transmits the header part to the mail request receiving means 700. Specifically, the personal mailbox 600 responds to the request for the header part from the mail request accepting unit 700 and transmits the header part to be stored to the mail request accepting unit 700.

ステップF4において、メール要求受付手段700は、ヘッダ部を取得する。ステッF5において、メール要求受付手段700は、メッセージIDを抽出する。具体的には、メール要求受付手段700は、取得したヘッダ部から、メッセージIDを抽出する。例えばメール要求受付手段700は、メール要求元のアカウント「kobe」の個人メールボックス600から、メッセージID「20150610123456789@xxx.example.am」の電子メールのヘッダ部を取得する。そして、メール要求受付手段700は、取得したヘッダ部から、メッセージID「20150610123456789@xxx.example.am」を抽出する。 In step F4, the mail request receiving means 700 acquires a header part. In Step F5, mail request receiving unit 700 extracts the message ID. Specifically, the mail request receiving unit 700 extracts the message ID from the acquired header part. For example, the mail request accepting unit 700 acquires the header part of the email with the message ID “20150610123456789@xxx.example.am” from the personal mailbox 600 of the account “kobe” of the mail request source. Then, the mail request receiving unit 700 extracts the message ID “20150610123456789@xxx.example.am” from the acquired header part.

ステップF6において、メール要求受付手段700は、メッセージIDを検索する。具体的には、メール要求受付手段700は、抽出したメッセージIDを含む、レコードを検索する命令を、メッセージIDデータベース400に送信する。   In step F6, the mail request receiving means 700 searches for the message ID. Specifically, the mail request reception unit 700 transmits a command for searching for a record including the extracted message ID to the message ID database 400.

ステップC6において、メッセージIDデータベース400は、レコードを応答する。具体的には、メッセージIDデータベース400は、メール要求受付手段700が出した命令を受けて、メッセージIDを含むレコードを検索し、メール要求受付手段700に検索結果を返す。例えば、メッセージIDデータベース400は、メッセージID「20150610123456789@xxx.example.am」を含む、図13に示すレコードを、メール要求受付手段700に返す。   In step C6, the message ID database 400 responds with a record. Specifically, the message ID database 400 receives a command issued by the mail request receiving unit 700, searches for a record including the message ID, and returns a search result to the mail request receiving unit 700. For example, the message ID database 400 returns the record shown in FIG. 13 including the message ID “20150610123456789@xxx.example.am” to the mail request receiving means 700.

ステップF7において、メール要求受付手段700は、共有メール格納部500の場所を特定する情報を取得する。具体的には、メール要求受付手段700は、メッセージIDデータベース400から入手した検索結果に基づいて、共有メール格納部500の場所を特定する情報を取得する。   In step F <b> 7, the mail request reception unit 700 acquires information for specifying the location of the shared mail storage unit 500. Specifically, the mail request receiving unit 700 acquires information for specifying the location of the shared mail storage unit 500 based on the search result obtained from the message ID database 400.

ステップF8において、メール要求受付手段700は、メール本文、及び添付ファイルを要求する。具体的には、メール要求受付手段700は、特定した共有メール格納部500に格納されているメール本文、及び添付ファイルを送信するように要求する。そして、ステップD2において、共有メール格納部500は、メール要求受付手段700に、メール本文、及び添付ファイルを送信する。例えば、メッセージID「20150610123456789@xxx.example.am」の電子メールに対応する、図3に示すメール本文が、共有メール格納部500に格納されているとする。その場合、メール要求受付手段700は、特定した共有メール格納部500から、図3に示すメール本文を取得する。   In step F8, the mail request receiving means 700 requests a mail text and an attached file. Specifically, the mail request accepting unit 700 requests to transmit the mail text and the attached file stored in the specified shared mail storage unit 500. In step D <b> 2, the shared mail storage unit 500 transmits the mail text and the attached file to the mail request receiving unit 700. For example, it is assumed that the mail body shown in FIG. 3 corresponding to the electronic mail with the message ID “20150610123456789@xxx.example.am” is stored in the shared mail storage unit 500. In that case, the mail request accepting unit 700 acquires the mail text shown in FIG. 3 from the specified shared mail storage unit 500.

ステップF9において、メール要求受付手段700は、ヘッダ部と、メール本文と、添付ファイルとを合成する。具体的には、メール要求受付手段700は、取得したヘッダ部と、取得したメール本文と、取得した添付ファイルとを合成し、電子メールを復元する。例えば、メッセージIDデータベース400が、図13に示すレコードを格納しているとする。そして、メールサーバ装置10が、アカウント「kobe」のクライアント端末から電子メールの要求を受信したとする。その場合、メール要求受付手段700は、上記の処理を実行し、図3に示す電子メールを復元する。   In step F9, the mail request accepting unit 700 combines the header part, the mail text, and the attached file. Specifically, the mail request accepting unit 700 combines the acquired header part, the acquired mail body, and the acquired attached file to restore the e-mail. For example, it is assumed that the message ID database 400 stores the record shown in FIG. Then, it is assumed that the mail server device 10 receives an e-mail request from the client terminal of the account “kobe”. In that case, the mail request accepting unit 700 executes the above-described processing and restores the electronic mail shown in FIG.

ステップF10において、メール要求受付手段700は、メール要求に応答する。具体的には、メール要求受付手段700は、復元した電子メールを、メール要求元のクライアント端末に送信する。なお、メール要求受付手段700が、図3に示す「osaka@example.xxx.jp」に対応するクライアント端末から、メール要求を受信した場合についても、上記の通りであるため、詳細な説明を省略する。   In step F10, the mail request receiving means 700 responds to the mail request. Specifically, the mail request receiving unit 700 transmits the restored electronic mail to the client terminal that is the mail request source. Note that the case where the mail request receiving unit 700 receives a mail request from the client terminal corresponding to “osaka@example.xxx.jp” shown in FIG. To do.

<メール削除>
次に、メールサーバ装置10が、クライアント端末から、メール削除要求を受信した場合の動作について、詳細に説明する。なお、以下の説明においては、メールサーバ装置10が、図3に示す電子メールを受信し、電子メールの宛先「kyoto@example.xxx.jp」から電子メールの削除要求を受信した場合を例示して説明する。
<Delete email>
Next, the operation when the mail server device 10 receives a mail deletion request from the client terminal will be described in detail. In the following description, a case where the mail server device 10 receives the email shown in FIG. 3 and receives an email deletion request from the email destination “kyoto@example.xxx.jp” is exemplified. I will explain.

図15、図16は、メールサーバ装置10が、電子メールの宛先から、電子メールの削除要求を受信した場合の動作の一例を示すフローチャートである。   FIGS. 15 and 16 are flowcharts showing an example of operations when the mail server device 10 receives an e-mail deletion request from an e-mail destination.

まず、メール要求受付手段700は、クライアント端末からのメール削除要求を受信したとする(図15に示すステップF11)。具体的には、メール要求受付手段700は、クライアント端末から、POP3等を用いたメール削除要求を受信する。   First, it is assumed that the mail request receiving means 700 receives a mail deletion request from the client terminal (step F11 shown in FIG. 15). Specifically, the mail request receiving unit 700 receives a mail deletion request using POP3 or the like from the client terminal.

メール要求受付手段700は、メール削除要求を受信すると、個人メールボックス600を特定する(ステップF12)。具体的には、メール要求受付手段700は、メール削除要求に基づいて、個人メールボックス600を特定する。例えば、メール要求受付手段700は、メール削除要求の送信元に関する情報に基づいて、個人メールボックス600を特定しても良い。電子メールの宛先「kyoto@example.xxx.jp」から電子メールの削除要求を受信した場合には、メール要求受付手段700は、アカウント「kyoto」に対応する、個人メールボックス600を特定する。   When receiving the mail deletion request, the mail request receiving means 700 identifies the personal mailbox 600 (Step F12). Specifically, the mail request receiving means 700 specifies the personal mailbox 600 based on the mail deletion request. For example, the mail request accepting unit 700 may specify the personal mailbox 600 based on information related to the transmission source of the mail deletion request. When the e-mail deletion request is received from the e-mail destination “kyoto@example.xxx.jp”, the e-mail request receiving unit 700 specifies the personal mailbox 600 corresponding to the account “kyoto”.

ステップF13において、メール要求受付手段700は、特定した個人メールボックス600に対して、ヘッダ部を要求する。具体的には、メール要求受付手段700は、特定した個人メールボックス600に対して、ヘッダ部を送信する要求する。   In step F <b> 13, the mail request receiving unit 700 requests a header part from the specified personal mailbox 600. Specifically, the mail request reception means 700 requests the specified personal mailbox 600 to transmit a header part.

ステップE3において、個人メールボックス600は、ヘッダ部を送信する。具体的には、メール要求受付手段700が特定した個人メールボックス600は、メール要求受付手段700からの要求に応じて、格納するヘッダ部を抽出し、抽出したヘッダ部をメール要求受付手段700に送信する。なお。個人メールボックス600は、2以上の電子メールのヘッダ部を、個人メールボックス600の記憶領域から抽出し、抽出した2以上のヘッダ部をメール要求受付手段700に送信しても良い。   In step E3, the personal mailbox 600 transmits the header part. Specifically, the personal mailbox 600 specified by the mail request accepting unit 700 extracts a header part to be stored in response to a request from the mail request accepting unit 700, and the extracted header part is sent to the mail request accepting unit 700. Send. Note that. The personal mailbox 600 may extract two or more header parts of the e-mail from the storage area of the personal mailbox 600 and transmit the extracted two or more header parts to the mail request receiving means 700.

ステップF14において、メール要求受付手段700は、ヘッダ部を取得する。そして、ステップF15において、メール要求受付手段700は、取得したヘッダ部からメッセージIDを抽出する。   In step F14, the mail request receiving means 700 acquires a header part. In step F15, the mail request receiving unit 700 extracts a message ID from the acquired header part.

ステップF16において、メール要求受付手段700は、個人メールボックス情報の削除を、メッセージIDデータベース400に要求する。具体的には、メール要求受付手段700は、抽出したメッセージIDを含む、レコードから、所定の個人メールボックス600を特定する情報を削除する命令を、メッセージIDデータベース400に送信する。ここで、所定の個人メールボックス600とは、メール削除要求元に対応する個人メールボックス600を意味する。なお、当該命令は、抽出したメッセージIDを含んで構成されるものとする。   In step F16, the mail request receiving means 700 requests the message ID database 400 to delete personal mailbox information. Specifically, the mail request accepting unit 700 transmits an instruction for deleting information for identifying a predetermined personal mailbox 600 from the record including the extracted message ID to the message ID database 400. Here, the predetermined personal mailbox 600 means a personal mailbox 600 corresponding to the mail deletion request source. Note that the command includes the extracted message ID.

例えば、電子メールの削除要求元のアカウントが「kyoto」であるとする。その場合、メール要求受付手段700は、アカウント「kyoto」の個人メールボックス600を特定する情報を、メッセージIDデータベース400から削除する命令を送信する。   For example, it is assumed that the account of the e-mail deletion request source is “kyoto”. In that case, the mail request accepting means 700 transmits a command for deleting the information specifying the personal mailbox 600 of the account “kyoto” from the message ID database 400.

ステップC7において、メッセージIDデータベース400は、レコードから、削除要求された、個人メールボックス情報を削除する。具体的には、メッセージIDデータベース400は、メール要求受付手段700が出した命令を受けて、当該命令に含まれるメッセージIDを検索キーとして、格納する、1又は2以上のレコードを検索する。そして、メッセージIDデータベース400は、検索キーであるメッセージIDを含む、レコードを特定する。そして、メッセージIDデータベース400は、特定したレコードから、メール削除要求元に対応する、個人メールボックス600を特定する情報を削除する。   In step C7, the message ID database 400 deletes the personal mailbox information requested for deletion from the record. Specifically, the message ID database 400 receives a command issued by the mail request receiving unit 700 and searches for one or more records to be stored using the message ID included in the command as a search key. Then, the message ID database 400 specifies a record including a message ID that is a search key. Then, the message ID database 400 deletes information specifying the personal mailbox 600 corresponding to the mail deletion request source from the specified record.

例えば、メールサーバ装置10は、図3に示す電子メールを受信済みであり、電子メールの削除要求を受信したとする。ここで、電子メールの削除要求元のアカウントが「kyoto」であるとする。そして、検索キーであるメッセージIDが、「20150610123456789@xxx.example.am」であるとする。その場合、メッセージIDデータベース400は、メッセージID「20150610123456789@xxx.example.am」を検索キーとして、図13に示すレコードを特定する。そして、メッセージIDデータベース400は、特定したレコードの個人メールボックス情報から、アカウント「kyoto」を削除し、図12に示すようにレコードを更新する。   For example, it is assumed that the mail server apparatus 10 has received the e-mail shown in FIG. 3 and has received an e-mail deletion request. Here, it is assumed that the account of the e-mail deletion request source is “kyoto”. Assume that the message ID that is the search key is “20150610123456789@xxx.example.am”. In that case, the message ID database 400 specifies the record shown in FIG. 13 using the message ID “20150610123456789@xxx.example.am” as a search key. Then, the message ID database 400 deletes the account “kyoto” from the personal mailbox information of the identified record, and updates the record as shown in FIG.

ステップF17において、メール要求受付手段700は、個人メールボックス600に格納される、ヘッダ部の削除を要求する。具体的には、メール要求受付手段700は、特定した個人メールボックス600に格納されているヘッダ部を削除するように、個人メールボックス600に要求する。   In step F <b> 17, the mail request receiving unit 700 requests deletion of the header part stored in the personal mailbox 600. Specifically, the mail request receiving means 700 requests the personal mailbox 600 to delete the header part stored in the specified personal mailbox 600.

ステップE4において、個人メールボックス600は、ヘッダ部を削除する。具体的には、個人メールボックス600は、格納済みのヘッダ部を削除する。そして、図16に示すステップF18に遷移する。   In step E4, the personal mailbox 600 deletes the header part. Specifically, the personal mailbox 600 deletes the stored header part. And it changes to step F18 shown in FIG.

図16に示すステップF18において、メール要求受付手段700は、メッセージIDの検索を、メッセージIDデータベース400に要求する。具体的には、メール要求受付手段700は、抽出したメッセージIDを検索する命令を、メッセージIDデータベース400に送信する。   In step F18 shown in FIG. 16, the mail request accepting means 700 requests the message ID database 400 to search for the message ID. Specifically, the mail request accepting unit 700 transmits a command for searching for the extracted message ID to the message ID database 400.

ステップC8において、メッセージIDデータベース400は、検索を実行する。具体的には、メッセージIDデータベース400は、検索キーのメッセージIDを含む、レコードを検索し、メール要求受付手段700に検索結果を送信する。   In step C8, the message ID database 400 performs a search. Specifically, the message ID database 400 searches for a record including the message ID of the search key, and transmits the search result to the mail request receiving unit 700.

ステップF19において、個人メールボックス情報に、情報が登録されているか否かを、メール要求受付手段700は判断する。具体的には、メッセージIDデータベース400から送信されたレコード(即ち、検索結果)において、個人メールボックス情報に、情報が登録されているか否かを、メール要求受付手段700は判断する。例えば、取得したレコードが、図12に示す状態である場合、個人メールボックス情報に情報が登録されている、とメール要求受付手段700は判断する。一方、取得したレコードが、図11に示す状態である場合、個人メールボックス情報に情報が登録されていない、とメール要求受付手段700は判断する。   In step F19, the mail request receiving means 700 determines whether information is registered in the personal mailbox information. Specifically, the mail request receiving means 700 determines whether or not information is registered in the personal mailbox information in the record (that is, the search result) transmitted from the message ID database 400. For example, if the acquired record is in the state shown in FIG. 12, the mail request receiving means 700 determines that information is registered in the personal mailbox information. On the other hand, if the acquired record is in the state shown in FIG. 11, the mail request receiving means 700 determines that no information is registered in the personal mailbox information.

個人メールボックス情報に情報が登録されている場合(ステップF19のYes分岐)には、メールサーバ装置10は、電子メールを削除する処理を終了する。   If the information is registered in the personal mailbox information (Yes branch of step F19), the mail server device 10 ends the process of deleting the electronic mail.

一方、個人メールボックス情報に、情報が登録されていない場合(ステップF19のNo分岐)には、メール要求受付手段700は、取得したレコードに対応する、共有メール情報を削除する命令を、共有メール格納部500に送信する(ステップF20)。   On the other hand, if the information is not registered in the personal mailbox information (No branch in step F19), the mail request receiving means 700 issues a command to delete the shared mail information corresponding to the acquired record. The data is transmitted to the storage unit 500 (step F20).

ステップD3において、共有メール格納部500は、共有メール情報を削除する。具体的には、共有メール格納部500は、取得したレコードに対応する、メール本文と、添付ファイルとを削除する。   In step D3, the shared mail storage unit 500 deletes the shared mail information. Specifically, the shared mail storage unit 500 deletes the mail text and the attached file corresponding to the acquired record.

ステップF21において、メール要求受付手段700は、レコードの削除命令を、メッセージIDデータベース400に送信する。具体的には、メール要求受付手段700は、取得したレコードを削除する命令を、メッセージIDデータベース400に送信する。   In step F <b> 21, the mail request receiving unit 700 transmits a record deletion command to the message ID database 400. Specifically, the mail request accepting unit 700 transmits a command to delete the acquired record to the message ID database 400.

ステップC9において、メッセージIDデータベース400は、削除を実行する。具体的には、メッセージIDデータベース400は、削除命令を受けたレコードを削除する。   In step C9, the message ID database 400 executes deletion. Specifically, the message ID database 400 deletes the record that has received the delete command.

[変形例1]
本実施形態に係るメールサーバ装置10の変形例1として、削除対象の電子メールを特定する情報を含む、メール削除要求を受信しても良い。例えば、削除対象の電子メールを特定する情報は、メッセージID、送信日時、受信日時、送信元に関する情報(メールアドレス、アカウント名等)等であっても良い。なお、削除対象の電子メールを特定する情報は、削除対象の電子メールを特定できれば良く、その詳細は問わない。
[Modification 1]
As a first modification of the mail server device 10 according to the present embodiment, a mail deletion request including information for specifying an electronic mail to be deleted may be received. For example, the information specifying the e-mail to be deleted may be a message ID, transmission date / time, reception date / time, information on the transmission source (e-mail address, account name, etc.), and the like. Note that the information for specifying the e-mail to be deleted is not particularly limited as long as the e-mail to be deleted can be specified.

メール削除要求が、削除対象の電子メールを特定する情報を含む場合には、ヘッダ部を送信する要求は、削除対象の電子メールを特定する情報を含むことが好ましい。または、メール削除要求が、削除対象の電子メールを特定する情報を含む場合には、個人メールボックス600は、削除対象の電子メールを特定する情報に基づいて、ヘッダ部を抽出し、抽出したヘッダ部をメール要求受付手段700に送信しても良い。例えば、メール削除要求が、削除対象の電子メールのメッセージIDを含む場合、個人メールボックス600は、当該メッセージIDを含むヘッダ部を抽出する。   When the mail deletion request includes information for specifying an email to be deleted, it is preferable that the request for transmitting the header portion includes information for specifying the email to be deleted. Alternatively, when the mail deletion request includes information for specifying the e-mail to be deleted, the personal mailbox 600 extracts the header portion based on the information for specifying the e-mail to be deleted, and extracts the extracted header. May be transmitted to the mail request receiving means 700. For example, when the mail deletion request includes a message ID of an electronic mail to be deleted, the personal mailbox 600 extracts a header portion including the message ID.

以上のように、本実施形態に係るメールサーバ装置10は、メッセージID毎に異なる第1の記憶領域(共有メール格納部500)に、メール本文を含む共有メール情報を格納する。また、本実施形態に係るメールサーバ装置10は、宛先毎に異なる第2の記憶領域(個人メールボックス600)に、ヘッダ部を格納する。例えば、メールサーバ装置10は、2以上の宛先に対する電子メールを受信した場合、当該電子メールのメール本文を、共有メール格納部500に格納し、ヘッダ部を、各宛先に対応する個人メールボックス600に格納する。そのため、本実施形態に係るメールサーバ装置10は、冗長なデータ(重複したデータ)を管理することを回避する。従って、本実施形態に係るメールサーバ装置10は、管理する電子メールのデータサイズの増大を抑制し、効率的に電子メールを管理することに貢献する。   As described above, the mail server device 10 according to the present embodiment stores the shared mail information including the mail text in the first storage area (shared mail storage unit 500) that is different for each message ID. Further, the mail server device 10 according to the present embodiment stores the header portion in the second storage area (personal mailbox 600) that is different for each destination. For example, when the mail server device 10 receives e-mails for two or more destinations, the mail server device 10 stores the mail body of the e-mails in the shared mail storage unit 500 and the header part as a personal mailbox 600 corresponding to each destination. To store. Therefore, the mail server device 10 according to the present embodiment avoids managing redundant data (duplicate data). Therefore, the mail server device 10 according to this embodiment suppresses an increase in the data size of the managed email and contributes to efficiently managing email.

[第2の実施形態]
次に、第2の実施形態について説明する。
[Second Embodiment]
Next, a second embodiment will be described.

本実施形態は、第1の記憶領域に、ヘッダ部と、共有メール情報とを格納し、第2の記憶領域に、ヘッダ部を格納する形態である。なお、本実施形態における説明では、上記の実施形態と重複する部分の説明は省略する。さらに、本実施形態における説明では、上記の実施形態と同一の構成要素には、同一の符号を付し、その説明を省略する。また、本実施形態における説明では、上記の実施形態と同一の作用効果についても、その説明を省略する。   In the present embodiment, the header portion and the shared mail information are stored in the first storage area, and the header portion is stored in the second storage area. In the description of the present embodiment, the description of the same part as the above embodiment is omitted. Further, in the description of the present embodiment, the same components as those of the above-described embodiment are denoted by the same reference numerals, and the description thereof is omitted. In the description of the present embodiment, the description of the same operational effects as those of the above-described embodiment is also omitted.

図17は、本実施形態に係るメールサーバ装置10aの全体構成の一例を示すブロック図である。以下の説明では、第1の実施形態に係るメールサーバ装置10との相違点について、詳細に説明する。   FIG. 17 is a block diagram showing an example of the overall configuration of the mail server device 10a according to the present embodiment. In the following description, differences from the mail server device 10 according to the first embodiment will be described in detail.

本実施形態に係るメールヘッダ解読手段300aは、受信メールから取得したヘッダ部と、共有メール情報とを、受信メールのメッセージIDに対応する第1の記憶領域(共有メール格納部500)に格納する。また、本実施形態に係るメールヘッダ解読手段300aは、受信メールの宛先毎の第2の記憶領域(個人メールボックス600)に、受信メールから取得したヘッダ部を格納する。   The mail header decoding unit 300a according to the present embodiment stores the header part acquired from the received mail and the shared mail information in the first storage area (shared mail storage unit 500) corresponding to the message ID of the received mail. . Further, the mail header decrypting means 300a according to the present embodiment stores the header portion acquired from the received mail in the second storage area (personal mail box 600) for each destination of the received mail.

ヘッダ部のデータサイズは、メール本文のデータサイズより小さい場合が多い。そのため、共有メール格納部500に、ヘッダ部とメール本文とを格納しても、共有メール格納部500の使用可能容量に与える影響は小さい。しかし、共有メール格納部500に、ヘッダ部とメール本文とを格納することで、ヘッダ部とメール本文とを結合し、電子メールを復元するための処理において、処理時間を削減することに貢献する。従って、本実施形態に係るメールサーバ装置10aは、管理する電子メールのデータサイズの増大を抑制しつつ、より一層、効率的に電子メールを管理することに貢献する。   The data size of the header part is often smaller than the data size of the mail body. Therefore, even if the header part and the mail text are stored in the shared mail storage unit 500, the influence on the usable capacity of the shared mail storage unit 500 is small. However, by storing the header part and the mail text in the shared mail storage unit 500, the header part and the mail text are combined to contribute to reducing the processing time in the process for restoring the email. . Therefore, the mail server device 10a according to the present embodiment contributes to more efficiently managing emails while suppressing an increase in the data size of emails to be managed.

[第3の実施形態]
次に、第3の実施形態について説明する。
[Third Embodiment]
Next, a third embodiment will be described.

本実施形態は、第1の記憶領域に、ヘッダ部と、共有メール情報とを格納し、第2の記憶領域に、ヘッダ部のうち、メッセージIDを格納する形態である。なお、本実施形態における説明では、上記の実施形態と重複する部分の説明は省略する。さらに、本実施形態における説明では、上記の実施形態と同一の構成要素には、同一の符号を付し、その説明を省略する。また、本実施形態における説明では、上記の実施形態と同一の作用効果についても、その説明を省略する。   In the present embodiment, the header part and the shared mail information are stored in the first storage area, and the message ID of the header part is stored in the second storage area. In the description of the present embodiment, the description of the same part as the above embodiment is omitted. Further, in the description of the present embodiment, the same components as those of the above-described embodiment are denoted by the same reference numerals, and the description thereof is omitted. In the description of the present embodiment, the description of the same operational effects as those of the above-described embodiment is also omitted.

本実施形態に係るメールサーバ装置10bの構成は、図18に示す通りである。以下の説明では、第1の実施形態に係るメールサーバ装置10との相違点について、詳細に説明する。   The configuration of the mail server device 10b according to the present embodiment is as shown in FIG. In the following description, differences from the mail server device 10 according to the first embodiment will be described in detail.

本実施形態に係るメールヘッダ解読手段300bは、受信メールから取得したヘッダ部と、共有メール情報とを、受信メールのメッセージIDに対応する第1の記憶領域(共有メール格納部500)に格納する。また、本実施形態に係るメールヘッダ解読手段300bは、受信メールの宛先毎の第2の記憶領域(個人メールボックス600)に、ヘッダ部のメッセージID304を格納する。   The mail header decoding unit 300b according to the present embodiment stores the header part acquired from the received mail and the shared mail information in the first storage area (shared mail storage unit 500) corresponding to the message ID of the received mail. . Further, the mail header decrypting means 300b according to the present embodiment stores the message ID 304 of the header part in the second storage area (personal mail box 600) for each destination of the received mail.

上記の通り、ヘッダ部のデータサイズは、メール本文のデータサイズより小さい場合が多い。そのため、共有メール格納部500に、ヘッダ部とメール本文とを格納しても、共有メール格納部500の使用可能容量に与える影響は小さい。さらに、個人メールボックス600に、ヘッダ部に替えて、メッセージIDを格納することで、第2の実施形態より、管理する電子メールのデータサイズの増大を抑制できる。従って、本実施形態に係るメールサーバ装置10bは、効率的に電子メールを管理しつつ、より一層、管理する電子メールのデータサイズの増大を抑制することに貢献する。   As described above, the data size of the header part is often smaller than the data size of the mail body. Therefore, even if the header part and the mail text are stored in the shared mail storage unit 500, the influence on the usable capacity of the shared mail storage unit 500 is small. Furthermore, by storing the message ID in the personal mailbox 600 instead of the header portion, it is possible to suppress an increase in the data size of the managed email from the second embodiment. Therefore, the mail server device 10b according to the present embodiment contributes to further suppressing an increase in the data size of the managed e-mail while efficiently managing the e-mail.

上述の実施形態の一部又は全部は、以下の形態のようにも記載され得るが、以下には限られない。   Part or all of the above-described embodiments may be described as in the following forms, but is not limited to the following.

(形態1)上記第1の視点に係るメールサーバ装置の通りである。   (Mode 1) Same as the mail server device according to the first aspect.

(形態2)前記受信メールのメッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報とを対応付けた情報を、レコードとして格納する、メッセージIDデータベースをさらに含んで構成される、付記1に記載のメールサーバ装置。   (Mode 2) Message ID for storing, as a record, information associating the message ID of the received mail, the information specifying the storage location of the shared mail information, and the information specifying the storage location of the header part The mail server device according to attachment 1, further comprising a database.

(形態3)前記メッセージIDデータベースは、前記メッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報として個人メールボックスを特定する情報とを対応付けた情報を、前記レコードとして格納する、付記2に記載のメールサーバ装置。 (Mode 3) The message ID database associates the message ID with information specifying the storage location of the shared mail information and information specifying a personal mailbox as information specifying the storage location of the header part. The mail server device according to attachment 2, wherein the information is stored as the record.

(形態4)メール要求を受信する、メール要求受付手段をさらに含んで構成され、前記メール要求受付手段は、前記メール要求を受信した場合、メール要求元に対応する前記第2の記憶領域から、前記ヘッダ部を取得し、前記取得したヘッダ部に含まれるメッセージIDと、前記メッセージIDデータベースとに基づいて、前記第1の記憶領域を特定し、前記特定した第1の記憶領域から、前記共有メール情報を取得し、前記取得したヘッダ部と、前記取得した共有メール情報とを結合し、電子メールを作成し、前記作成した電子メールを、前記メール要求元に送信する、付記1乃至3のいずれか一に記載のメールサーバ装置。 (Mode 4) A mail request receiving unit that receives a mail request is further included, and the mail request receiving unit receives the mail request from the second storage area corresponding to the mail request source, The header part is acquired, the first storage area is specified based on the message ID included in the acquired header part and the message ID database, and the shared information is determined from the specified first storage area. The mail information is acquired, the acquired header part and the acquired shared mail information are combined, an e-mail is created, and the created e-mail is transmitted to the mail request source. The mail server device according to any one of the above.

(形態5)前記メール要求受付手段は、メール削除要求を受信し、前記メール要求受付手段は、前記メール削除要求を受信した場合、削除対象のヘッダ部の格納場所、及び前記削除対象のヘッダ部を特定し、前記削除対象のヘッダ部に含まれるメッセージIDと、前記メッセージIDデータベースとに基づいて、前記共有メール情報の格納場所を特定する、付記4に記載のメールサーバ装置。
(Embodiment 5) When the mail request receiving unit receives a mail deletion request, and the mail request receiving unit receives the mail deletion request, the storage location of the header portion to be deleted and the header portion to be deleted The mail server device according to appendix 4, wherein the storage location of the shared mail information is specified based on the message ID included in the header part to be deleted and the message ID database .

(形態6)前記メールヘッダ解読手段は、前記受信メールのヘッダ部からメッセージIDを取得し、前記取得したメッセージIDが、前記メッセージIDデータベースに格納されているか否かを判断し、前記取得したメッセージIDが、前記メッセージIDデータベースに格納されていない場合、メッセージIDと、前記共有メール情報の格納場所を特定する情報と、取得したメッセージIDに対応するヘッダ部のうち、一の宛先に対応する、第2の記憶領域を特定する情報とを対応付けた前記レコードを作成し、前記作成したレコードを、前記メッセージIDデータベースに登録する、付記1乃至5のいずれか一に記載のメールサーバ装置。   (Mode 6) The mail header decoding means acquires a message ID from the header part of the received mail, determines whether or not the acquired message ID is stored in the message ID database, and acquires the acquired message. If the ID is not stored in the message ID database, the message ID, the information specifying the storage location of the shared mail information, and the header corresponding to the acquired message ID correspond to one destination. The mail server device according to any one of appendices 1 to 5, wherein the record that associates information specifying a second storage area is created, and the created record is registered in the message ID database.

(形態7)前記メールヘッダ解読手段は、前記取得したメッセージIDが、前記メッセージIDデータベースに格納されている場合、前記取得したメッセージIDに対応する前記レコードを特定し、前記メッセージIDに対応するヘッダ部のうち、前記一の宛先と異なる他の宛先に対応する、前記第2の記憶領域を特定する情報を、前記特定したレコードに追加する、付記6に記載のメールサーバ装置。   (Mode 7) When the acquired message ID is stored in the message ID database, the mail header decoding means specifies the record corresponding to the acquired message ID, and the header corresponding to the message ID The mail server device according to appendix 6, wherein information specifying the second storage area corresponding to another destination different from the one destination is added to the specified record.

(形態8)前記メールヘッダ解読手段は、前記受信メールから取得した前記ヘッダ部と、前記共有メール情報とを、前記受信メールのメッセージIDに対応する前記第1の記憶領域に格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールから取得した前記ヘッダ部を格納する、付記1乃至7のいずれか一に記載のメールサーバ装置。   (Mode 8) The mail header decoding means stores the header portion acquired from the received mail and the shared mail information in the first storage area corresponding to the message ID of the received mail, and receives the received mail. The mail server device according to any one of appendices 1 to 7, wherein the header section acquired from the received mail is stored in the second storage area for each mail destination.

(形態9)前記メールヘッダ解読手段は、前記受信メールから取得した前記ヘッダ部と、前記共有メール情報とを、前記受信メールのメッセージIDに対応する前記第1の記憶領域に格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールのメッセージIDを格納する、付記1乃至8のいずれか一に記載のメールサーバ装置。   (Mode 9) The mail header decoding means stores the header part acquired from the received mail and the shared mail information in the first storage area corresponding to the message ID of the received mail, and receives the received mail. The mail server device according to any one of appendices 1 to 8, wherein a message ID of the received mail is stored in the second storage area for each mail destination.

(形態10)上記第2の視点に係るメール管理方法の通りである。   (Mode 10) As in the mail management method according to the second aspect.

(形態11)前記受信メールのメッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報とを対応付けた情報を、レコードとして格納する工程をさらに含む、付記10に記載のメール管理方法。   (Mode 11) A step of storing, as a record, information associating the message ID of the received mail, information specifying the storage location of the shared mail information, and information specifying the storage location of the header part The mail management method according to appendix 10, including:

(形態12)前記レコードを格納する工程において、前記メッセージIDと、前記共有メール情報の格納場所を特定する情報と、個人メールボックスを特定する情報とを対応付けた情報を、前記レコードとして格納する、付記11に記載のメール管理方法。   (Mode 12) In the step of storing the record, information associating the message ID, information specifying a storage location of the shared mail information, and information specifying a personal mailbox is stored as the record. The mail management method according to attachment 11.

(形態13)メール要求を受信する工程と、前記メール要求を受信した場合、メール要求元に対応する前記第2の記憶領域から、前記ヘッダ部を取得する工程と、前記取得したヘッダ部に含まれるメッセージIDに基づいて、前記第1の記憶領域を特定する工程と、前記特定した第1の記憶領域から、前記共有メール情報を取得する工程と、前記取得したヘッダ部と、前記取得した共有メール情報とを結合し、電子メールを作成する工程と、前記作成した電子メールを、前記メール要求元に送信する工程と、をさらに含む、付記10乃至12のいずれか一に記載のメール管理方法。   (Mode 13) A step of receiving a mail request, and a step of obtaining the header portion from the second storage area corresponding to a mail request source when the mail request is received, and included in the obtained header portion A step of identifying the first storage area based on the message ID, a step of obtaining the shared mail information from the identified first storage area, the obtained header portion, and the obtained share The mail management method according to any one of appendices 10 to 12, further comprising: a step of creating e-mail by combining mail information; and a step of transmitting the created e-mail to the mail request source. .

(形態14)メール削除要求を受信する工程と、前記メール削除要求を受信した場合、削除対象のヘッダ部の格納場所、及び前記削除対象のヘッダ部を特定する工程と、前記削除対象のヘッダ部に含まれるメッセージIDに基づいて、前記共有メール情報の格納場所を特定する、付記13に記載のメール管理方法。   (Mode 14) A step of receiving a mail deletion request, a step of specifying a storage location of a header portion to be deleted and a header portion of the deletion target when the mail deletion request is received, and the header portion of the deletion target The mail management method according to attachment 13, wherein a storage location of the shared mail information is specified based on a message ID included in the mail.

(形態15)前記分離する工程において、前記受信メールのヘッダ部からメッセージIDを取得する工程と、前記取得したメッセージIDが、前記メッセージIDデータベースに格納されているか否かを判断する工程と、前記取得したメッセージIDが、前記メッセージIDデータベースに格納されていない場合、メッセージIDと、前記共有メール情報の格納場所を特定する情報と、取得したメッセージIDに対応するヘッダ部のうち、一の宛先に対応する、第2の記憶領域を特定する情報とを対応付けた前記レコードを作成し、前記作成したレコードを、前記メッセージIDデータベースに登録する工程と、をさらに含む、付記10乃至14のいずれか一に記載のメール管理方法。   (Mode 15) In the step of separating, the step of acquiring a message ID from the header portion of the received mail, the step of determining whether or not the acquired message ID is stored in the message ID database, If the acquired message ID is not stored in the message ID database, the message ID, the information for specifying the storage location of the shared mail information, and the header corresponding to the acquired message ID Any one of appendices 10 to 14, further comprising: creating the corresponding record associating with the corresponding information specifying the second storage area, and registering the created record in the message ID database. The mail management method described in 1.

(形態16)前記分離する工程において、前記取得したメッセージIDが、前記メッセージIDデータベースに格納されている場合、前記取得したメッセージIDに対応する前記レコードを特定する工程と、前記メッセージIDに対応するヘッダ部のうち、前記一の宛先と異なる他の宛先に対応する、前記第2の記憶領域を特定する情報を、前記特定したレコードに追加する工程と、をさらに含む、付記15に記載のメール管理方法。   (Mode 16) In the step of separating, when the acquired message ID is stored in the message ID database, the step of identifying the record corresponding to the acquired message ID and the message ID The mail according to claim 15, further comprising a step of adding information specifying the second storage area corresponding to another destination different from the one destination in the header portion to the specified record. Management method.

(形態17)前記分離する工程において、前記受信メールから取得した前記ヘッダ部と、前記共有メール情報とを、前記受信メールのメッセージIDに対応する前記第1の記憶領域に格納する工程と、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールから取得した前記ヘッダ部を格納する工程と、をさらに含む、付記10乃至16のいずれか一に記載のメール管理方法。   (Mode 17) In the separating step, storing the header part acquired from the received mail and the shared mail information in the first storage area corresponding to a message ID of the received mail; The mail management method according to any one of appendices 10 to 16, further comprising: storing the header portion acquired from the received mail in the second storage area for each destination of the received mail.

(形態18)前記分離する工程において、前記受信メールから取得した前記ヘッダ部と、前記共有メール情報とを、前記受信メールのメッセージIDに対応する前記第1の記憶領域に格納する工程と、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールのメッセージIDを格納する工程と、をさらに含む、付記10乃至17のいずれか一に記載のメール管理方法。   (Mode 18) In the separating step, storing the header part acquired from the received mail and the shared mail information in the first storage area corresponding to a message ID of the received mail; The mail management method according to any one of appendices 10 to 17, further comprising: storing the message ID of the received mail in the second storage area for each destination of the received mail.

(形態19)上記第3の視点に係るメール管理プログラムの通りである。   (Mode 19) As in the mail management program according to the third aspect.

上記の形態19に示す形態は、形態1に示す形態と同様に、形態2乃至9に示す形態に展開することが可能である   The form shown in the form 19 can be expanded to the forms shown in the forms 2 to 9 in the same manner as the form shown in the form 1.

なお、上記の特許文献の開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の全開示の枠内において種々の開示要素(各請求項の各要素、各実施形態の各要素、各図面の各要素等を含む)の多様な組み合わせ、ないし、選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。特に、本書に記載した数値範囲については、当該範囲内に含まれる任意の数値ないし小範囲が、別段の記載のない場合でも具体的に記載されているものと解釈されるべきである。なお、本願において、「メール受信手段」、「メールヘッダ解読手段」、「メール要求受付手段」等、「手段」として記載した機能手段は、夫々、当該機能ユニット、ないし、当該機能部としても表すことができる。   The disclosure of the above patent document is incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiment can be changed and adjusted based on the basic technical concept. Further, various combinations or selections of various disclosed elements (including each element of each claim, each element of each embodiment, each element of each drawing, etc.) are possible within the framework of the entire disclosure of the present invention. is there. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea. In particular, with respect to the numerical ranges described in this document, any numerical value or small range included in the range should be construed as being specifically described even if there is no specific description. In the present application, the functional means described as “means” such as “mail receiving means”, “mail header decrypting means”, “mail request accepting means”, etc. are also expressed as the functional unit or the functional part, respectively. be able to.

1、10、10a、10b メールサーバ装置
2、200 メール受信手段
3、300、300a、300b メールヘッダ解読手段
4 第1の記憶領域
5 第2の記憶領域
31、41、61 共有メール情報
32、51、62、301、701、4100、4300 ヘッダ部
100 他メールサーバ
302、702、4101、4301 メール本文
303、703、4102、4302 添付ファイル
304 ヘッダ部のメッセージID
400 メッセージIDデータベース
401 メッセージIDと、ヘッダ部と、共有メール情報とを対応付けた情報
500 共有メール格納部
600 個人メールボックス
700 メール要求受付手段
800 受信者メールソフト
3100、3410、3511〜3513、3700 メール
3200、3600 メールソフト
3300 xxx.example.amのメールサーバ
3310 送信先メールサーバ判定機能
3400 example.xxx.jpのメールサーバ
3501 kobeのメールボックス
3502 kyotoのメールボックス
3503 osakaのメールボックス
4000 メールサーバ
4310 1@a.b.cのメールボックス
4410 2@a.b.cのメールボックス
1, 10, 10a, 10b Mail server device 2, 200 Mail receiving means 3, 300, 300a, 300b Mail header decoding means 4 First storage area 5 Second storage areas 31, 41, 61 Shared mail information 32, 51 62, 301, 701, 4100, 4300 Header part 100 Other mail servers 302, 702, 4101, 4301 Mail text 303, 703, 4102, 4302 Attached file 304 Message ID of header part
400 Message ID database 401 Information in which message ID, header part, and shared mail information are associated 500 Shared mail storage unit 600 Personal mailbox 700 Mail request receiving means 800 Recipient mail software 3100, 3410, 3511-513, 3700 Mail 3200, 3600 Mail software 3300 Mail server 3310 of xxx.example.am Destination mail server determination function 3400 Mail server 3501 of example.xxx.jp Mailbox 3502 of Kobe Mailbox 3503 of kyoto Mailbox 4000 of osaka Mail server 4310 1 @ abc mailbox 4410 2 @ abc mailbox

Claims (9)

電子メールを受信する、メール受信手段と、
前記メール受信手段が前記電子メールを受信した場合、メール本文を含む共有メール情報と、ヘッダ部とに、受信メールを分離する、メールヘッダ解読手段と、
第1の記憶領域と、
電子メールの宛先毎に異なる第2の記憶領域と、
前記第1の記憶領域及び前記第2の記憶領域とは異なる、第3の記憶領域と、
を含んで構成され、
前記ヘッダ部は、前記受信メールの送信元アドレス、前記受信メールの表題のうち、少なくともいずれかの情報と、前記受信メールのメッセージIDとを含み、
前記メールヘッダ解読手段は、前記第1の記憶領域に、前記受信メールの前記共有メール情報を格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールの前記ヘッダ部を格納し、
前記第3の記憶領域は、前記メッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報とを対応付けた情報を、レコードとして格納する、メッセージIDデータベースを格納する、
メールサーバ装置。
A mail receiving means for receiving e-mail;
A mail header decoding means for separating the received mail into shared mail information including a mail body and a header portion when the mail receiving means receives the electronic mail;
A first storage area;
A second storage area that is different for each e-mail destination;
A third storage area different from the first storage area and the second storage area;
Comprising
The header portion includes at least one of the source address of the received mail and the title of the received mail, and the message ID of the received mail,
The mail header decoding means stores the shared mail information of the received mail in the first storage area, and stores the header portion of the received mail in the second storage area for each destination of the received mail. Store and
The third storage area stores, as a record, information associating the message ID, information for specifying the storage location of the shared mail information, and information for specifying the storage location of the header part. Store ID database,
Mail server device.
前記メッセージIDデータベースは、前記メッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報として個人メールボックスを特定する情報とを対応付けた情報を、前記レコードとして格納する、請求項1に記載のメールサーバ装置。 The message ID database includes information associating the message ID, information specifying the storage location of the shared mail information, and information specifying a personal mailbox as information specifying the storage location of the header part , The mail server device according to claim 1, wherein the mail server device is stored as the record. メール要求を受信する、メール要求受付手段をさらに含んで構成され、
前記メール要求受付手段は、
前記メール要求を受信した場合、メール要求元に対応する前記第2の記憶領域から、前記ヘッダ部を取得し、
前記取得したヘッダ部に含まれるメッセージIDと、前記メッセージIDデータベースとに基づいて、前記第1の記憶領域を特定し、前記特定した第1の記憶領域から、前記共有メール情報を取得し、
前記取得したヘッダ部と、前記取得した共有メール情報とを結合し、電子メールを作成し、
前記作成した電子メールを、前記メール要求元に送信する、請求項1又はに記載のメールサーバ装置。
It further includes an email request receiving means for receiving an email request,
The mail request receiving means
When the mail request is received, the header part is acquired from the second storage area corresponding to the mail request source,
Based on the message ID included in the acquired header part and the message ID database , the first storage area is specified, and the shared mail information is acquired from the specified first storage area,
Combining the acquired header part and the acquired shared mail information to create an email,
The created e-mail is transmitted to the mail requesting the mail server apparatus according to claim 1 or 2.
前記メール要求受付手段は、メール削除要求を受信し、
前記メール要求受付手段は、前記メール削除要求を受信した場合、前記メール削除要求に基づいて、前記ヘッダ部の格納場所、及び削除対象のヘッダ部を特定し、前記削除対象のヘッダ部に含まれるメッセージIDと、前記メッセージIDデータベースとに基づいて、前記共有メール情報の格納場所を特定する、請求項に記載のメールサーバ装置。
The mail request receiving means receives a mail deletion request,
The mail request reception means, when receiving the mail deletion request, specifies a storage location of the header part and a header part to be deleted based on the mail deletion request, and is included in the header part to be deleted The mail server device according to claim 3 , wherein a storage location of the shared mail information is specified based on a message ID and the message ID database .
前記メールヘッダ解読手段は、
前記受信メールのヘッダ部からメッセージIDを取得し、取得したメッセージIDが、前記メッセージIDデータベースに格納されているか否かを判断し、
前記取得したメッセージIDが、前記メッセージIDデータベースに格納されていない場合、メッセージIDと、前記共有メール情報の格納場所を特定する情報と、取得したメッセージIDに対応するヘッダ部のうち、一の宛先に対応する、第2の記憶領域を特定する情報とを対応付けた前記レコードを作成し、
前記作成したレコードを、前記メッセージIDデータベースに登録する、請求項1乃至のいずれか一に記載のメールサーバ装置。
The mail header decoding means includes
Obtaining a message ID from the header of the received mail, determining whether the obtained message ID is stored in the message ID database;
If the acquired message ID is not stored in the message ID database, one of the message ID, the information specifying the storage location of the shared mail information, and the header corresponding to the acquired message ID The record corresponding to the information for specifying the second storage area corresponding to is created,
The mail server device according to any one of claims 1 to 4 , wherein the created record is registered in the message ID database.
前記メールヘッダ解読手段は、
前記取得したメッセージIDが、前記メッセージIDデータベースに格納されている場合、前記取得したメッセージIDに対応する前記レコードを特定し、
前記メッセージIDに対応するヘッダ部のうち、前記一の宛先と異なる他の宛先に対応する、前記第2の記憶領域を特定する情報を、前記特定したレコードに追加する、請求項に記載のメールサーバ装置。
The mail header decoding means includes
If the acquired message ID is stored in the message ID database, the record corresponding to the acquired message ID is specified,
Wherein within the header part corresponding to the message ID, and corresponding to different other destinations and the one of the destination, the second information specifying a storage area of, adding to record the identified, according to claim 5 Mail server device.
前記メールヘッダ解読手段は、
前記受信メールから取得した前記ヘッダ部と、前記共有メール情報とを、前記受信メールのメッセージIDに対応する前記第1の記憶領域に格納し、
前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールから取得した前記ヘッダ部を格納する、請求項1乃至のいずれか一に記載のメールサーバ装置。
The mail header decoding means includes
Storing the header part acquired from the received mail and the shared mail information in the first storage area corresponding to the message ID of the received mail;
The mail server device according to any one of claims 1 to 6 , wherein the header part acquired from the received mail is stored in the second storage area for each destination of the received mail.
第1の記憶領域と、
電子メールの宛先毎に異なる第2の記憶領域と、
前記第1の記憶領域及び前記第2の記憶領域とは異なる、第3の記憶領域と、
を含んで構成されるメールサーバ装置が、
電子メールを受信する工程と、
メール本文を含む共有メール情報と、ヘッダ部とに、受信メールを分離する工程と、を含み、
前記ヘッダ部は、前記受信メールの送信元アドレス、前記受信メールの表題のうち、少なくともいずれかの情報と、前記受信メールのメッセージIDとを含み、
前記分離する工程において、前記メッセージIDに対応する、前記第1の記憶領域に、前記受信メールの前記共有メール情報を格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールの前記ヘッダ部を格納し、
前記メッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報とを対応付けた情報を、前記第3の記憶領域に格納する、メール管理方法。
A first storage area;
A second storage area that is different for each e-mail destination;
A third storage area different from the first storage area and the second storage area;
A mail server device configured to include
Receiving an email; and
Separating the received mail into the shared mail information including the mail body and the header part,
The header portion includes at least one of the source address of the received mail and the title of the received mail, and the message ID of the received mail,
In the separating step, the shared mail information of the received mail is stored in the first storage area corresponding to the message ID, and the reception is stored in the second storage area for each destination of the received mail. Store the header part of the email,
A mail management method for storing, in the third storage area, information in which the message ID, information for specifying the storage location of the shared mail information, and information for specifying the storage location of the header portion are associated with each other.
第1の記憶領域と、
電子メールの宛先毎に異なる第2の記憶領域と、
前記第1の記憶領域及び前記第2の記憶領域とは異なる、第3の記憶領域と、
を含んで構成されるメールサーバ装置を制御するコンピュータに実行させるメール管理プログラムであって、
電子メールを受信する処理と、
メール本文を含む共有メール情報と、ヘッダ部とに、受信メールを分離する処理と、を前記コンピュータに実行させ、
前記ヘッダ部は、前記受信メールの送信元アドレス、前記受信メールの表題のうち、少なくともいずれかの情報と、前記受信メールのメッセージIDとを含み、
前記分離する処理において、前記メッセージIDに対応する、前記第1の記憶領域に、前記受信メールの前記共有メール情報を格納し、前記受信メールの宛先毎の前記第2の記憶領域に、前記受信メールの前記ヘッダ部を格納する処理と、
前記メッセージIDと、前記共有メール情報の格納場所を特定する情報と、前記ヘッダ部の格納場所を特定する情報とを対応付けた情報を、前記第3の記憶領域に格納する処理とを、前記コンピュータに実行させるメール管理プログラム。
A first storage area;
A second storage area that is different for each e-mail destination;
A third storage area different from the first storage area and the second storage area;
A mail management program to be executed by a computer that controls a mail server device configured to include:
Processing to receive e-mail;
Causing the computer to execute the process of separating the received mail in the shared mail information including the mail text and the header part,
The header portion includes at least one of the source address of the received mail and the title of the received mail and the message ID of the received mail
In the separation process, the shared mail information of the received mail is stored in the first storage area corresponding to the message ID, and the reception is stored in the second storage area for each destination of the received mail. Processing to store the header part of the mail;
A process of storing, in the third storage area, information that associates the message ID, information that specifies the storage location of the shared mail information, and information that specifies the storage location of the header part, A mail management program to be executed by a computer.
JP2017555132A 2015-12-10 2016-12-08 Mail server device, mail management method, and mail management program Active JP6583934B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2015240987 2015-12-10
JP2015240987 2015-12-10
PCT/JP2016/086540 WO2017099176A1 (en) 2015-12-10 2016-12-08 Mail server device, mail management method, and mail management program

Publications (2)

Publication Number Publication Date
JPWO2017099176A1 JPWO2017099176A1 (en) 2018-10-04
JP6583934B2 true JP6583934B2 (en) 2019-10-02

Family

ID=59014199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017555132A Active JP6583934B2 (en) 2015-12-10 2016-12-08 Mail server device, mail management method, and mail management program

Country Status (3)

Country Link
JP (1) JP6583934B2 (en)
CN (1) CN108370344A (en)
WO (1) WO2017099176A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7347533B2 (en) * 2019-11-11 2023-09-20 日本電気株式会社 Management device, management method, and program

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60260253A (en) * 1984-06-06 1985-12-23 Fujitsu Ltd Electronic mail control system
JPH03104345A (en) * 1989-09-18 1991-05-01 Nec Corp Multiple address reception mail management system
JPH04222139A (en) * 1990-12-25 1992-08-12 Fuji Xerox Co Ltd Message storing system for mail data base
JP3166753B2 (en) * 1999-02-08 2001-05-14 日本電気株式会社 Facsimile apparatus and facsimile communication system
JP2001156831A (en) * 1999-11-29 2001-06-08 Mitsubishi Electric Corp Electronic mail system
US7212814B2 (en) * 2004-11-24 2007-05-01 Research In Motion Limited Methods and apparatus for efficiently managing the storage of e-mail message information for a mobile station
JP5607461B2 (en) * 2010-08-31 2014-10-15 株式会社日立製作所 System and gateway
CN103903124B (en) * 2012-12-27 2017-11-21 中国移动通信集团公司 A kind of E-mail processing method and device
CN104935503A (en) * 2015-06-17 2015-09-23 世纪龙信息网络有限责任公司 Mail storage method and system, and mail display method and system

Also Published As

Publication number Publication date
JPWO2017099176A1 (en) 2018-10-04
WO2017099176A1 (en) 2017-06-15
CN108370344A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
US8914856B1 (en) Synchronization of networked storage systems and third party systems
US8166112B2 (en) Virtual mail storage for mail distributed using corporate distribution lists
US9264393B2 (en) Mail server-based dynamic workflow management
CN106464572B (en) Message attachment management
US12229109B2 (en) Method and system for using external content type object types
JP2017062783A (en) Information and data framework in content centric network
JP5271925B2 (en) Cache information update method, computer, program, and storage medium
JP2004220259A (en) Attached file management system, program, information storage medium, and attached file management method
JP6583934B2 (en) Mail server device, mail management method, and mail management program
JP2007213338A (en) Mail server and electric mail communication system
JP2010061476A (en) Electronic mail system, mail server, program for mail server, and information sharing method by use of e-mail
JP2008250864A (en) Data storage method, data storage system, and information processing apparatus
JP5864133B2 (en) Program and server
JP7413887B2 (en) File management device and file management program
JP6398368B2 (en) Information processing apparatus, information processing system, and program
JP6083712B2 (en) Apparatus and method for supporting message sharing
US11226872B2 (en) Information processing apparatus, file management apparatus, and file management system
CN111488324B (en) Distributed network file system based on message middleware and working method thereof
CN114443677A (en) Object storage service system
JP5170595B2 (en) Relay processing device, control method therefor, and program
JP4692558B2 (en) Mail system, server device, mail management method, program, and recording medium
JP2007316852A (en) Mail display method, mail management method and mail system
KR102170232B1 (en) Method for providing email service and email system
JP6497246B2 (en) Information processing apparatus and information processing program
JP7183845B2 (en) Mail system, data recovery device, data recovery method, and program

Legal Events

Date Code Title Description
A524 Written submission of copy of amendment under article 19 pct

Free format text: JAPANESE INTERMEDIATE CODE: A527

Effective date: 20180608

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190708

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190829

R150 Certificate of patent or registration of utility model

Ref document number: 6583934

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350