[go: up one dir, main page]

JP2004171169A - Mail filtering method, mail server and mail filtering program - Google Patents

Mail filtering method, mail server and mail filtering program Download PDF

Info

Publication number
JP2004171169A
JP2004171169A JP2002334635A JP2002334635A JP2004171169A JP 2004171169 A JP2004171169 A JP 2004171169A JP 2002334635 A JP2002334635 A JP 2002334635A JP 2002334635 A JP2002334635 A JP 2002334635A JP 2004171169 A JP2004171169 A JP 2004171169A
Authority
JP
Japan
Prior art keywords
mail
filtering
server
terminal
header information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002334635A
Other languages
Japanese (ja)
Inventor
Takeshi Kato
毅 加藤
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.)
MSD JAPAN KK
Original Assignee
MSD JAPAN KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MSD JAPAN KK filed Critical MSD JAPAN KK
Priority to JP2002334635A priority Critical patent/JP2004171169A/en
Publication of JP2004171169A publication Critical patent/JP2004171169A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a mail filtering method, a mail server and a mail filtering program capable of effectively filtering a, so called, annoying mail. <P>SOLUTION: This filtering method for an electronic mail stored in a mail server comprises: a step where a terminal having filtering conditions associated with the transmission address and return address of an electronic mail requests the header information of an electronic mail stored in the mail server; a step where the terminal receives the header information of the electronic mail stored in the mail server; a step where the terminal decides the received header information of the electronic mail based on a filtering condition; a step where the terminal transmits a filtering instruction based on the decision result to the mail server; and a step where the mail server executes the filtering processing based on the filtering instruction. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、メールサーバ内に蓄積された電子メールのフィルタリングに関するものである。
【0002】
【従来の技術】
電子メールが情報交換の手段として発達するのに伴って、いわゆるスパムメールやウィルスメールなど、受信が望まれない迷惑メールが増加している。これは送信者から受信者への電子メールの中継が、宛先に指定された電子メールアドレスにのみ基づき、迷惑メールを送信するには、宛先のメールアドレスがあれば、簡単に送信できることに由来する。
【0003】
図9は、従来のメールサーバの実施の形態を示すブロック図である。
サーバ100は、メール受信部11、メール蓄積部12、メール送信部13とを有してなる。サーバ100は、インターネットなどの通信ネットワーク4を介してサーバ2、及び端末30と接続する。
サーバ2は、図示しない送信者が受信者宛に送信した電子メールをサーバ100に中継する、いわゆるメールサーバである。
端末30は、サーバ100内に蓄積された自分宛の電子メールを受信するために受信者が用いる端末であり、メール受信部31を有してなる。
電子メールの中継において、サーバ100とサーバ2は、MTA(Mail Transfer Agent)やMDA(Mail Delivery Agent)機能を提供し、端末30はMUA(Mail User Agent)機能を提供する。
なお、図9では、サーバ100に電子メールを中継するサーバは、サーバ2の1台のみを例示しているが、受信者宛の電子メールをサーバ100に中継するサーバは、1台に限らない。
【0004】
図10は、サーバ100が、サーバ2から受信した電子メールを端末30に中継する実施の形態を示すシーケンス図である。
サーバ100は、サーバ2から電子メールを受信(S1)して、いわゆるメールボックスであるところのメール蓄積部12に蓄積(S2)しておき、受信者からの要求(S10)に応じて、蓄積された電子メールを抽出(S11)し、端末30に送信する(S12)。
ここで、サーバ100とサーバ2との間は、たとえば、SMTP(Simple Message Transfer Protocol)により、またサーバ100と端末30との間は、たとえば、POP3(Post Office Protocol Version3)により、電子メールが中継される。
SMTPやPOP3では、送信アドレス、つまり電子メールのヘッダ情報の「From」フィールドを参照する必要はなく、宛先アドレス、つまり「To」フィールドのみを参照して電子メールを中継する。なお、電子メールのヘッダ情報などは、RFC(Request For Comments)2822に規定されている。
【0005】
このように、電子メールは宛先アドレスのみによって中継されるため、いわゆる迷惑メールを排除、つまりフィルタリングをするには、宛先アドレス以外の情報に基づき、電子メールを中継する必要がある。
これまでにも、電子メールのフィルタリングに関する提案はなされている。
たとえば、同一の送信アドレスから送信可能な電子メールの件数の制限や、受信者があらかじめ登録しておいた送信アドレスが指定された電子メールのみを受信する、などのフィルタリング方法が提案されている(たとえば、特許文献1参照。)。
また、予め受信者が送信アドレスとプライオリティとの関係を登録しておき、電子メールを受信した際に、受信した電子メールの送信アドレスを確認し、先に登録した関係に基づき電子メールのプライオリティを変更することで、受信者が必要とする電子メールを容易に取り出すことができる方法が提案されている(たとえば、特許文献2参照。)。
【0006】
【特許文献1】
特開2000−163341号公報
【特許文献2】
特開平11−98177号公報
【0007】
【発明が解決しようとする課題】
このように従来は、同一の送信アドレスから送信される大量の電子メールをフィルタリングする、あるいは、受信者が知らない送信者からの電子メールをフィルタリングするなど、「From」フィールドを参照して電子メールのフィルタリングを実施するものであった。
しかしながら、電子メールの「From」フィールドは、送信者が自由に、しかも、送信者とは全く無関係の電子メールアドレスを指定することができるため、フィルタリングの効果を得るには不十分であった。
一方、本願発明者による研究の結果、迷惑メールはヘッダ情報の「From」フィールドと「Return−Path」フィールドが不一致であることが多いことが判明した。また、「From」フィールドと「Return−Path」フィールドに関連したフィルタリング条件を用いた実験の結果、迷惑メールを排除する効果が高いことが判明した。
【0008】
本発明は以上のような従来の実情に鑑みてなされたもので、いわゆる迷惑メールを効果的にフィルタリングすることができる、メールフィルタリング方法とメールサーバ、並びにメールフィルタリングプログラムを提供することを目的とする。
【0009】
【課題を解決するための手段】
請求項1記載の発明は、メールサーバ内に蓄積された電子メールのフィルタリング方法であって、電子メールの送信アドレスと返信アドレスとに関連したフィルタリング条件を有する端末が、メールサーバに、蓄積された電子メールのヘッダ情報を要求するステップと、端末が、メールサーバから、蓄積された電子メールのヘッダ情報を受信するステップと、端末が、フィルタリング条件に基づき受信した電子メールのヘッダ情報を判定するステップと、端末が、メールサーバに、判定の結果に基づくフィルタリング指示を送信するステップと、メールサーバが、フィルタリング指示に基づきフィルタリング処理を実行するステップ、とを有することを特徴とする。
【0010】
請求項2記載の発明は、請求項1記載の発明において、フィルタリング条件は、電子メールの送信アドレスと返信アドレスが不一致の場合とし、フィルタリング処理は、電子メールの削除であることを特徴とする。
【0011】
請求項3記載の発明は、通信ネットワークを介して転送された電子メールを受信して蓄積しておき、この電子メールの受信者からの要求に基づいて、蓄積しておいた電子メールを受信者の端末に送信するメールサーバであって、電子メールの送信アドレスと返信アドレスとに関連したフィルタリング条件に基づくフィルタリング処理を実行する手段を有してなることを特徴とする。
【0012】
請求項4記載の発明は、請求項3記載の発明において、フィルタリング条件は、電子メールの送信アドレスと返信アドレスが不一致の場合とし、フィルタリング処理は、電子メールの削除であることを特徴とする。
【0013】
請求項5記載の発明は、請求項3または4記載の発明において、フィルタリング条件は、メールサーバとは別の端末が有しており、端末に電子メールのヘッダ情報を送信する手段と、端末からフィルタリング指示を受信する手段、とをさらに有してなり、フィルタリング処理は、端末からのフィルタリング指示に基づき実行されることを特徴とする。
【0014】
請求項6記載の発明は、請求項3乃至5のいずれかに記載の発明において、フィルタリング指示は、POP3コマンドのDELEコマンドであることを特徴とする。
【0015】
請求項7記載の発明は、請求項5または6記載の発明において、受信者の端末と、フィルタリング条件を有する端末とが異なることを特徴とする。
【0016】
請求項8記載の発明は、蓄積された電子メールのフィルタリングの実行をメールサーバに指示するためのコンピュータを、電子メールの送信アドレスと返信アドレスとに関連したフィルタリング条件を記憶する手段、メールサーバ内に蓄積された電子メールのヘッダ情報を取得する手段、記憶されたフィルタリング条件に基づき、取得した電子メールのヘッダ情報を判定する手段、判定の結果に基づきフィルタリング指示をメールサーバに送信する手段、として機能させることを特徴とする。
【0017】
【発明の実施の形態】
以下、図面を参照しながら本発明にかかるメールフィルタリング方法とメールサーバ、並びにメールフィルタリングプログラムの実施の形態について説明する。なお、以下に説明する実施の形態は、電子メールの受信者Aがメールサーバに蓄積された受信者A宛の電子メールを受信するのに先立って、メールサーバ内に蓄積された電子メールのうち、送信アドレスと返信アドレスが不一致の電子メールを削除する場合を例として説明する。つまり、フィルタリング条件は、送信アドレスと返信アドレスが不一致の場合とし、フィルタリング処理は、フィルタリング条件に該当する電子メールの削除、とした例である。
ここで、受信者A宛の電子メールとは、電子メールのヘッダ情報の「To」フィールドに受信者Aの電子メールアドレスが指定されている電子メールを指す。また、送信アドレス及び返信アドレスとは、電子メールのヘッダ情報の「From」フィールドと「Return−Path」フィールドに指定された電子メールアドレスを指す。さらに、電子メールの削除とは、受信者から受付けた電子メールの送信要求に対して電子メールを受信者の端末に送信しない状態にすることを指す。
【0018】
図1は、本発明にかかるメールサーバ(以下、「本サーバ」という。)の実施の形態を示すブロック図である。
符号1は本サーバを示し、通信ネットワーク4を介してサーバ2から転送された受信者A宛の電子メールを受信して蓄積しておき、受信者Aからの要求に基づいて、蓄積しておいた電子メールを受信者Aの端末3に送信する、いわゆるメールサーバである。本サーバ1は、通信ネットワーク4を介してサーバ2、及び端末3と接続する。
【0019】
通信ネットワーク4の例としては、インターネットやLANなどのコンピュータ通信網がある。本サーバ1、サーバ2、端末3は、図示しない専用線、公衆交換電話網(PSTN)、無線電話網、CATV網、衛星通信網等の通信回線を介して通信ネットワーク4と接続している。
【0020】
本サーバ1とサーバ2は、通信ネットワーク4を介して電子メールを中継することができる情報処理装置であればよく、たとえば、パーソナルコンピュータなどがある。
また、端末3は、通信ネットワーク4を介して本サーバ1から電子メールを受信することができる情報処理装置であればよく、たとえば、パーソナルコンピュータをはじめ、データ通信機能を有するPDA(Personal Digital Assistant)や携帯電話機などがある。
【0021】
なお、端末3では、本サーバ1から電子メールを受信するために用いる、いわゆるメールソフトウェアと共に、本発明にかかるメールフィルタリングプログラム(以下、「本プログラム」という)が動作して後述する端末3内部の各手段を制御することで、本サーバ1と連携して、本発明にかかるメールフィルタリング方法(以下、「本方法」という)を実現する。
【0022】
本サーバ1は、メール受信部11、メール蓄積部12、メール送信部13、コマンド処理部14、とを有してなる。
ここで、メール受信部11、メール蓄積部12、メール送信部13は、それぞれ、図9に示したものと同様である。すなわち、メール受信部11とは、通信ネットワーク4を介してサーバ2から転送された電子メールを受信する手段である。メール蓄積部12とは、メール受信部11で受信した電子メールを受信者ごと、つまり電子メールの宛先アドレスごとに蓄積する手段である。メール送信部13とは、電子メールの受信者Aからの要求に基づいて、メール蓄積部12に蓄積された電子メールを受信者Aの端末に送信する手段である。
本サーバ1は、コマンド処理部14を有していることを特徴とする。コマンド処理部14とは、フィルタリング条件に基づくフィルタリング処理を実行する手段である。
ここでは、コマンド処理部14は、後述するように、POP3コマンド(STAT、TOP、DELEなど)を受付けて処理する機能を提供する。すなわち、本方法を実現するためには、本サーバ1がPOP3コマンドを受付けて処理する機能、つまり、通常のMTA機能を有すれば足りる。
なお、コマンド処理部14が受付けて処理するコマンドは、POP3コマンドに限定するものではなく、後述の本方法を実現することができるコマンド、たとえば、IMAP4(Internet Message Access Protocol version4)コマンドであってもよい。
【0023】
端末3は、メール受信部31、判定部32、条件記憶部33、履歴記録部34とを有してなる。
メール受信部31は、図9に示したものと同様であり、本サーバ1内に蓄積された電子メールを受信する手段である。
【0024】
判定部32とは、本サーバ1内に蓄積された電子メールのヘッダ情報を取得して判定し、その結果に基づくフィルタリング指示を本サーバ1に送信する手段である。
ここで、電子メールのヘッダ情報を取得するには、たとえば、STATコマンドを本サーバ1に入力してメール蓄積部12に蓄積された受信者A宛の電子メールの総数を取得し、取得したメールの総数からパラメータを生成してTOPコマンドを本サーバ1に入力する。
判定とは、本サーバ1内に蓄積された電子メールのうち、フィルタリング条件に該当する電子メールを抽出する処理である。本実施の形態では、電子メールの送信アドレスと返信アドレスが不一致、つまり、ヘッダ情報の「From」フィールドと「Return−Path」フィールドが一致しない電子メールを抽出する。
フィルタリング指示とは、本サーバ1にフィルタリング処理の実行を指示する処理である。本実施の形態では、判定により抽出された電子メールのメール番号をパラメータとしたDELEコマンドを本サーバ1に入力して行う。
【0025】
条件記憶部33とは、フィルタリング条件を記憶する手段である。フィルタリング条件は、本プログラムの動作に先立って、受信者Aが条件記憶部33に記憶しておく。
【0026】
履歴記録部34とは、フィルタリング処理の履歴情報を記録する手段である。履歴情報の例としては、フィルタリング条件に該当して削除された電子メールに関する情報であり、送信アドレス、件名、送信日時などである。受信者Aは、端末3の図示しない手段を用いて履歴記録部34を参照することで、削除された電子メールについて確認することができる。なお、履歴を参照しない場合などは、履歴記録部34は不要である。
【0027】
以下、本方法について図1乃至4を参照しながら説明する。図2は、本方法の実施の形態を示すシーケンス図である。図3,4については、後述する。
【0028】
先ず、本サーバ1は、メール受信部11を用いて、サーバ2から電子メールを受信し(S1)、受信した電子メールをメール蓄積部12に蓄積する(S2)。
メール蓄積部12に蓄積された電子メールは、受信者Aからの要求に基づいて、受信者Aの端末3に送信される。つまり、本サーバ1は、メール送信部13を用いて、メール送信要求を受付け(S10)、メール蓄積部12から受信者A宛の電子メールを抽出して(S11)、端末3に送信する(S12)。
【0029】
ここで、電子メールが蓄積(S2)されてからメール送信が要求(S10)される間に、本サーバ1と端末3とが連携して、フィルタリング処理が実行され、フィルタリング条件に該当する電子メールが端末3に送信されるのを防ぐ。
【0030】
フィルタリング処理について、図2を参照しながら説明する。
本サーバ1は、コマンド処理部14を用いて、端末3からメール蓄積部12に蓄積された電子メールのヘッダ情報の要求を受信すると(S3)、メール蓄積部12を参照してヘッダ情報を抽出して(S4)、端末3に送信する(S5)。
端末3は、判定部32を用いて、ヘッダ情報を受信して判定し(S6)、図示しない手段を用いて、その結果を出力して(S7)受信者Aからの電子メールの削除指示を受付ける。
本サーバ1は、コマンド処理部14を用いて、端末3から電子メールの削除要求を受信する(S8)と、該当する電子メールをメール蓄積部12から削除する(S9)。
【0031】
以上説明したように、フィルタリング処理は、本サーバ1と端末3とが連携して実行される。つまり、本サーバ1が、フィルタリング条件に該当する電子メールをメール蓄積部12から削除するが、削除の対象となる電子メールを特定し、本サーバ1に削除を要求するのは、端末3上で動作する本プログラムである。
【0032】
図3は、本プログラムの実施の形態を示すフローチャートである。
本プログラムは、起動すると一定時間が経過するのを待つ(T1)。一定時間が経過すると、ヘッダ情報を本サーバ1に要求する(T2)。一定時間の起算点の例としては、本プログラムの起動時点や前回のヘッダ情報の要求時点などがある。本サーバ1からヘッダ情報を受信すると(T3)、条件記憶部33からフィルタリング条件を読込み(T4)、判定を行って(T5)、結果を出力する(T6)。その後、削除指示を待ち(T7)、削除指示があると本サーバ1に電子メールの削除を要求する(T8)。本サーバ1から削除が完了した旨の結果を受信すると(T9)、削除履歴を履歴記録部34に記録する(T10)。本プログラムは、上記処理T1〜T10を繰り返す。
なお、上記T2,T3,T5,T6,T8の各処理は、図2に示したS3,S5,S6,S7,S8の各処理に対応する。
【0033】
判定結果の出力(T6)の方法として、たとえば、端末3に接続された図示しないディスプレイ装置の画面に、本サーバ1内に蓄積された電子メールのヘッダ情報の一覧を判定結果と共に表示する。図4は、判定結果を表示した画面の例を示す模式図である。画面Pには、本サーバ1内に蓄積された、つまり前回電子メールを受信した時からヘッダ情報を取得する時までに自分宛に中継された電子メールに対する判定結果が表形式で表示されており、表の各行が電子メール1件に関する情報である。
【0034】
画面Pは、本サーバ1内に蓄積された、電子メールが5件(No.1〜5)あること、及びその5件のうち3件(No.2,3,4)がフィルタリング条件に該当することを示している。
画面Pの判定結果の欄は、無印はフィルタリング条件に該当しない電子メールであること、「×」はフィルタリング条件に該当する電子メールであること、「▲」はフィルタリング条件に該当するが前回は削除せずに受信した電子メールであること、を示す記号である。
画面Pには、判定結果の他に、ヘッダ情報の全部または一部、たとえば、件名や差出人などの情報が表示される。
なお、画面Pにおいて、判定結果の欄を設ける代りに、たとえば、フィルタリング条件に該当する電子メールに係る行は、色を変えて表示するなどとしてもよい。
【0035】
受信者Aは、画面Pを確認して、フィルタリング処理を実行するか否かの判断を行う。つまり、画面Pに表示された状態でフィルタリング処理を実行すれば、判定結果の欄が「×」であるNo.3,4の電子メールが削除され受信されなくなることを確認することができる。
フィルタリング指示、つまり削除要求は、受信者Aが画面Pの「フィルタリング処理実行」ボタンを押下することで、端末3から本サーバ1にDELEコマンドが送信されて行われる。本サーバ1は、コマンド処理部14を用いて、DELEコマンドを受付け、メール蓄積部12内の該当の電子メールを削除する。
【0036】
本サーバ1は、メール送信要求を受付ける(S10)と、削除されずにメール蓄積部12に蓄積されている電子メール、つまり図4に示すNo.1,2,5の3件を抽出(S11)し、端末3に送信する(S12)。
【0037】
以上説明した実施の形態によれば、受信者Aは、電子メールの受信に先立って、本サーバ1内に蓄積された自分宛の電子メールのうち、送信アドレスと返信アドレスとが不一致の電子メールを確認した上で削除することができるので、いわゆる迷惑メールの可能性の高い電子メールの受信を未然に防止することができる。
【0038】
なお、以上説明した実施の形態では、フィルタリング条件は、送信アドレスと返信アドレスの不一致の場合としたが、本発明においてフィルタリング条件はこれに限定するものではない。すなわち、たとえば、送信アドレスと返信アドレスとが不一致の場合であっても、特定の送信アドレスや件名(「Subject」フィールド)についてはフィルタリング条件に含めないようにしてもよい。
このようにすれば、たとえば、受信者Aが受信を希望する、いわゆるメーリングリスト(送信アドレスと返信アドレスとが不一致である場合が多い)をフィルタリング処理の対象から外すことができる。
なお、フィルタリング条件に含めない特定の送信アドレスなどは条件記憶部33に記憶しておき、判定の際に判定部32がこれらの情報を読み込むように本プログラムを構成するとよい。また、図4に示したフィルタリング条件に該当するが前回はフィルタリング処理の対象から外した電子メール(図中の「▲」に相当する)を特定する情報、たとえば、送信アドレスや件名などについても、同様に条件記憶部33に記憶しておき、判定部32が読み込むように本プログラムを構成するとよい。
【0039】
また、以上説明した実施の形態では、フィルタリング条件は、電子メールの送信アドレスと返信アドレスに関連するものであったが、これに加えて、たとえば、添付ファイルの有無、メッセージ本文の種類、あるいは、件名の言語など、つまり、ヘッダ情報の「Content−Type」や「Subject」フィールドなどを組み合わせて判定してもよい。
このようにすれば、たとえば、「ファイルが添付されている」「メッセージ本文がHTML形式である」「件名が英語である」など、いわゆるウィルスメールの可能性の高い電子メールの受信を未然に防止することもできる。
【0040】
なお、受信者Aが、画面Pを参照して、フィルタリング処理を実行する前に、フィルタリング処理の対象となる電子メールを変更、つまりフィルタリング条件に該当する電子メールの削除を中止する、あるいはフィルタリング条件に該当しない電子メールを削除することができるように本プログラムを構成してもよい。
【0041】
また、図3の例では、本プログラムは、一定時間の経過を待ってヘッダ情報を本サーバ1から取得するように構成されている(T1,T2)が、ヘッダ情報の取得の時期は、これに代えて、受信者Aが任意に設定できるようにしてもよい。
【0042】
さらに、フィルタリング条件の読込(T4)の時期は、判定(T5)の前であれば、たとえば、ヘッダ情報の要求(T2)の前であってもよい。
【0043】
さらにまた、削除履歴の記録(T10)は、本プログラムにおいて必須の構成要件ではない。したがって、削除履歴を記録しないのであれば、端末3内の履歴記録部34は不要である。
【0044】
さらにまた、判定結果として表示する画面に、フィルタリング条件に該当しない電子メールに関する情報は表示しないようにしてもよい。つまり、図4に示した例であれば、No.3,4,5の3件のみを表示して、受信者Aにフィルタリング処理の対象となる電子メールのみを確認させるようにしてもよい。なお、その際は、たとえば、判定結果の欄は設けなくともよい。
【0045】
次に、本発明の別の実施の形態について、先に説明した実施の形態と異なる点を中心に説明する。
先に説明した実施の形態は、本プログラムが動作して本サーバ1にフィルタリング指示を送信する端末と、本サーバ1から電子メールを受信する端末とが同一であったが、本実施の形態は、本プログラムが動作する端末と、本サーバ1から電子メールを受信する端末とが異なるものである。
【0046】
図5は本サーバの別の実施の形態を示すブロック図、図6は本方法の別の実施の形態を示すシーケンス図であり、図1,2と同じ部分には同一の符号を付している。
図5に示す端末5は、本プログラムが動作する端末であり、本サーバ1と連携してフィルタリング処理を実現する。すなわち、図6に示すように、本サーバ1は、コマンド処理部14を用いて、端末5からメール蓄積部12に蓄積された電子メールのヘッダ情報の要求を受信すると(S3x)、メール蓄積部12を参照してヘッダ情報を抽出して(S4)、端末5に送信する(S5x)。端末5は、判定部32を用いて、ヘッダ情報を受信して判定し(S6x)、図示しない手段を用いて、その結果を出力して(S7x)受信者Aからの電子メールの削除指示を受付ける。本サーバ1は、コマンド処理部14を用いて、端末5から電子メールの削除要求を受信する(S8x)と、該当する電子メールをメール蓄積部12から削除する(S9)。
【0047】
なお、本プログラムは、判定結果を受信者Aに提示して削除指示を受付けるように構成するのに代えて、判定の結果、フィルタリング条件に該当する電子メールについて、直ちにフィルタリング指示を本サーバ1に送信するように構成してもよい。
このようにすれば、たとえば、受信者Aは、職場の端末30で電子メールを受信する前に、自宅の端末5で定期的に本プログラムを動作させて、本サーバ1内に蓄積された電子メールのフィルタリング処理を本サーバ1に指示することで、迷惑メールなどを端末30で受信するのを防止することができる。
また、電子メールを受信する端末と本プログラムが動作する端末とは1対1の関係にある必要はない。すなわち、たとえば、企業内に設置された複数台の従業者の端末で電子メールを受信する前に、企業内に設置された別の1台の端末で本プログラムを動作させて従業員宛の電子メールのフィルタリング処理を実行することで、迷惑メールなどを従業員の端末で受信するのを防止することもできる。
【0048】
次に、本発明のさらに別の実施の形態について、先に説明した実施の形態と異なる点を中心に説明する。
先に説明した実施の形態では、フィルタリング条件を有している端末は、本サーバ1とは別の端末、つまり図1の例では端末3、図5の例では端末5であったが、本実施の形態は、本サーバ自身がフィルタリング条件を有する場合である。
【0049】
図7は本サーバのさらに別の実施の形態を示すブロック図、図8は本方法のさらに別の実施の形態を示すシーケンス図であり、図1,2,5,6と同じ部分には同一の符号を付している。
図7に示す符号10は、本サーバであり、メール受信部11、メール蓄積部12、メール送信部13、コマンド処理部14に加えて、判定部32、条件記憶部33、履歴記録部34を有してなる。
本実施の形態では、本プログラムは本サーバ10上で動作しており、蓄積された受信者A宛の電子メールに対して定期的にフィルタリング処理を実行している。すなわち、図8に示すように、判定部32は、メール蓄積部12に蓄積された電子メールのヘッダ情報をコマンド処理部14に要求する(S3y)。コマンド処理部14は、メール蓄積部12を参照してヘッダ情報を抽出する(S4)。判定部32は、コマンド処理部14が抽出したヘッダ情報を取得(S5y)して判定し(S6y)、フィルタリング条件に該当する電子メールの削除をコマンド処理部14に要求する(S8y)。コマンド処理部14は、要求された電子メールをメール蓄積部12から削除する(S9)。
【0050】
なお、本プログラムは、一定時間の経過を待ってヘッダ情報を取得するのに代えて、メール蓄積部12に電子メールが蓄積され、受信者Aからの要求を受付ける前に、ヘッダ情報を取得するように構成してもよい。
このようにすれば、本サーバ10は、フィルタリング処理の済んだ電子メールのみを受信者Aに送信することができる。
【0051】
【発明の効果】
本発明によれば、電子メールの受信に先立って、メールサーバ内に蓄積された電子メールのうち、あらかじめ設定しておいた送信アドレスと返信アドレスとに関連したフィルタリング条件に該当する電子メールのフィルタリング処理を実行することで、いわゆる迷惑メールの可能性の高い電子メールの受信を未然に防止することができる。
【図面の簡単な説明】
【図1】本発明にかかるメールサーバの実施の形態を示すブロック図である。
【図2】本発明にかかるメールフィルタリング方法の実施の形態を示すシーケンス図である。
【図3】本発明にかかるメールフィルタリングプログラムの実施の形態を示すフローチャートである。
【図4】上記プログラムが出力するフィルタリング条件の判定結果を表示する画面の例を示す模式図である。
【図5】本発明にかかるメールサーバの別の実施の形態を示すブロック図である。
【図6】本発明にかかるメールフィルタリング方法の別の実施の形態を示すシーケンス図である。
【図7】本発明にかかるメールサーバのさらに別の実施の形態を示すブロック図である。
【図8】本発明にかかるメールフィルタリング方法のさらに別の実施の形態を示すシーケンス図である。
【図9】従来のメールサーバの実施の形態を示すブロック図である。
【図10】従来の電子メールの中継の実施の形態を示すシーケンス図である。
【符号の説明】
1 メールサーバ
2 サーバ
3 端末
4 通信ネットワーク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to filtering of email stored in a mail server.
[0002]
[Prior art]
With the development of electronic mail as a means of exchanging information, unsolicited junk mail such as so-called spam mail and virus mail is increasing. This is because relaying e-mail from the sender to the recipient is based only on the e-mail address specified as the destination, and it is easy to send spam if there is an e-mail address of the destination .
[0003]
FIG. 9 is a block diagram showing an embodiment of a conventional mail server.
The server 100 includes a mail receiving unit 11, a mail storage unit 12, and a mail transmitting unit 13. The server 100 connects to the server 2 and the terminal 30 via a communication network 4 such as the Internet.
The server 2 is a so-called mail server that relays an e-mail transmitted by a sender (not shown) to a recipient to the server 100.
The terminal 30 is a terminal used by the recipient to receive the e-mail addressed to the user stored in the server 100, and includes a mail receiving unit 31.
In relaying an e-mail, the server 100 and the server 2 provide an MTA (Mail Transfer Agent) or an MDA (Mail Delivery Agent) function, and the terminal 30 provides an MUA (Mail User Agent) function.
Note that FIG. 9 illustrates only one server 2 that relays e-mail to server 100, but the number of servers that relay e-mail addressed to a recipient to server 100 is not limited to one. .
[0004]
FIG. 10 is a sequence diagram showing an embodiment in which the server 100 relays the e-mail received from the server 2 to the terminal 30.
The server 100 receives the e-mail from the server 2 (S1), stores the e-mail in the mail storage unit 12 which is a so-called mailbox (S2), and stores the e-mail in response to a request from the recipient (S10). The extracted e-mail is extracted (S11) and transmitted to the terminal 30 (S12).
Here, the e-mail is relayed between the server 100 and the server 2 by, for example, Simple Message Transfer Protocol (SMTP), and between the server 100 and the terminal 30 by, for example, POP3 (Post Office Protocol Version 3). Is done.
In SMTP and POP3, it is not necessary to refer to the transmission address, that is, the “From” field of the header information of the e-mail, and the e-mail is relayed by referring only to the destination address, that is, the “To” field. Note that the header information of the e-mail is specified in RFC (Request For Comments) 2822.
[0005]
As described above, since the electronic mail is relayed only by the destination address, it is necessary to relay the electronic mail based on information other than the destination address in order to eliminate so-called junk mail, that is, perform filtering.
There have been proposals for e-mail filtering.
For example, filtering methods have been proposed, such as limiting the number of e-mails that can be transmitted from the same transmission address, and receiving only e-mails whose transmission addresses have been registered in advance by recipients ( For example, see Patent Document 1.)
In addition, the receiver registers the relationship between the transmission address and the priority in advance, and when receiving the e-mail, confirms the transmission address of the received e-mail, and determines the priority of the e-mail based on the previously registered relation. A method has been proposed in which an e-mail required by a recipient can be easily retrieved by changing the e-mail (for example, see Patent Document 2).
[0006]
[Patent Document 1]
JP 2000-163341 A
[Patent Document 2]
JP-A-11-98177
[0007]
[Problems to be solved by the invention]
As described above, conventionally, a large amount of e-mails transmitted from the same transmission address are filtered, or e-mails from a sender unknown to the recipient are filtered. Was implemented.
However, the “From” field of the e-mail is insufficient for obtaining the effect of filtering because the sender can freely specify an e-mail address completely independent of the sender.
On the other hand, as a result of research conducted by the inventor of the present invention, it has been found that the “From” field of the header information and the “Return-Path” field of the spam mail often do not match. In addition, as a result of an experiment using filtering conditions related to the “From” field and the “Return-Path” field, it was found that the effect of eliminating spam was high.
[0008]
The present invention has been made in view of the above-described conventional circumstances, and has as its object to provide a mail filtering method, a mail server, and a mail filtering program that can effectively filter so-called junk mail. .
[0009]
[Means for Solving the Problems]
The invention according to claim 1 is a filtering method for e-mail stored in a mail server, wherein a terminal having filtering conditions related to an e-mail transmission address and a reply address is stored in the mail server. Requesting header information of the email, a terminal receiving the header information of the stored email from the mail server, and determining the header information of the received email based on the filtering condition. And a step in which the terminal sends a filtering instruction based on the result of the determination to the mail server, and the mail server executes a filtering process based on the filtering instruction.
[0010]
The invention according to claim 2 is characterized in that, in the invention according to claim 1, the filtering condition is that the transmission address of the e-mail and the return address do not match, and the filtering processing is the deletion of the e-mail.
[0011]
According to a third aspect of the present invention, an e-mail transferred via a communication network is received and stored, and the stored e-mail is transmitted to the receiver based on a request from the receiver of the e-mail. A mail server that transmits to the terminal, and has means for executing a filtering process based on a filtering condition related to the transmission address and the return address of the e-mail.
[0012]
According to a fourth aspect of the present invention, in the third aspect of the present invention, the filtering condition is that the transmission address of the e-mail does not match the return address, and the filtering process is to delete the e-mail.
[0013]
According to a fifth aspect of the present invention, in the third or fourth aspect, the filtering condition is provided in a terminal different from the mail server, and means for transmitting e-mail header information to the terminal; Means for receiving a filtering instruction, wherein the filtering process is executed based on the filtering instruction from the terminal.
[0014]
The invention according to claim 6 is the invention according to any one of claims 3 to 5, wherein the filtering instruction is a DELE command of a POP3 command.
[0015]
The invention according to claim 7 is characterized in that, in the invention according to claim 5 or 6, the terminal of the receiver is different from the terminal having the filtering condition.
[0016]
According to the present invention, a computer for instructing the mail server to execute filtering of the stored e-mail is provided with means for storing filtering conditions associated with the transmission address and the return address of the e-mail. Means for acquiring the header information of the e-mail stored in the e-mail, means for determining the header information of the acquired e-mail based on the stored filtering conditions, and means for transmitting a filtering instruction to the mail server based on the result of the determination. It is characterized by functioning.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of a mail filtering method, a mail server, and a mail filtering program according to the present invention will be described with reference to the drawings. Note that, in the embodiment described below, the electronic mail stored in the mail server is received before the electronic mail recipient A receives the electronic mail addressed to the receiver A stored in the mail server. A case will be described as an example where an electronic mail whose transmission address and reply address do not match is deleted. That is, the filtering condition is an example in which the transmission address and the reply address do not match, and the filtering process is to delete an e-mail corresponding to the filtering condition.
Here, the e-mail addressed to the recipient A refers to an e-mail in which the e-mail address of the recipient A is specified in the “To” field of the e-mail header information. Further, the transmission address and the reply address indicate the e-mail addresses specified in the “From” field and the “Return-Path” field of the e-mail header information. Further, the deletion of the e-mail indicates that the e-mail is not transmitted to the terminal of the recipient in response to the transmission request of the e-mail received from the recipient.
[0018]
FIG. 1 is a block diagram showing an embodiment of a mail server according to the present invention (hereinafter, referred to as “this server”).
Reference numeral 1 denotes this server, which receives and stores e-mail addressed to the recipient A transferred from the server 2 via the communication network 4, and accumulates the e-mail based on a request from the recipient A. This is a so-called mail server that sends the received e-mail to the terminal 3 of the receiver A. The server 1 is connected to the server 2 and the terminal 3 via a communication network 4.
[0019]
Examples of the communication network 4 include a computer communication network such as the Internet and a LAN. The server 1, server 2, and terminal 3 are connected to a communication network 4 via a communication line such as a dedicated line (not shown), a public switched telephone network (PSTN), a wireless telephone network, a CATV network, or a satellite communication network.
[0020]
The server 1 and the server 2 may be any information processing device that can relay an e-mail via the communication network 4, such as a personal computer.
The terminal 3 may be any information processing device that can receive an electronic mail from the server 1 via the communication network 4. For example, a personal computer or a PDA (Personal Digital Assistant) having a data communication function may be used. And mobile phones.
[0021]
In the terminal 3, a mail filtering program according to the present invention (hereinafter, referred to as "the program") operates together with so-called mail software used for receiving an e-mail from the server 1 so as to operate the terminal 3. By controlling each unit, the mail filtering method according to the present invention (hereinafter, referred to as “the present method”) is realized in cooperation with the present server 1.
[0022]
The server 1 includes a mail receiving unit 11, a mail storage unit 12, a mail transmitting unit 13, and a command processing unit 14.
Here, the mail receiving unit 11, the mail storing unit 12, and the mail transmitting unit 13 are respectively the same as those shown in FIG. That is, the mail receiving unit 11 is a unit that receives the electronic mail transferred from the server 2 via the communication network 4. The mail storage unit 12 is a unit that stores the electronic mail received by the mail receiving unit 11 for each recipient, that is, for each destination address of the electronic mail. The mail transmission unit 13 is a unit that transmits the electronic mail stored in the mail storage unit 12 to the terminal of the recipient A based on a request from the recipient A of the electronic mail.
The server 1 has a command processing unit 14. The command processing unit 14 is a unit that executes a filtering process based on a filtering condition.
Here, the command processing unit 14 provides a function of receiving and processing a POP3 command (STAT, TOP, DELE, etc.) as described later. That is, in order to realize this method, it is sufficient that the server 1 has a function of receiving and processing a POP3 command, that is, a normal MTA function.
The command to be received and processed by the command processing unit 14 is not limited to the POP3 command, but may be a command capable of realizing the present method described later, for example, an IMAP4 (Internet Message Access Protocol version 4) command. Good.
[0023]
The terminal 3 includes a mail receiving unit 31, a determination unit 32, a condition storage unit 33, and a history recording unit 34.
The mail receiving section 31 is the same as that shown in FIG. 9 and is a means for receiving the electronic mail stored in the server 1.
[0024]
The determining unit 32 is a unit that obtains and determines the header information of the electronic mail stored in the server 1 and transmits a filtering instruction based on the result to the server 1.
Here, in order to obtain the header information of the e-mail, for example, a STAT command is input to the server 1 to obtain the total number of e-mails addressed to the recipient A stored in the mail storage unit 12, and the obtained mail is obtained. A parameter is generated from the total number of commands and a TOP command is input to the server 1.
The determination is a process of extracting, from the emails stored in the server 1, an email that meets the filtering condition. In the present embodiment, an e-mail in which the transmission address of the e-mail does not match the reply address, that is, the e-mail in which the “From” field and the “Return-Path” field of the header information do not match is extracted.
The filtering instruction is a process for instructing the server 1 to execute a filtering process. In the present embodiment, a DELE command using the mail number of the e-mail extracted by the determination as a parameter is input to the server 1 for execution.
[0025]
The condition storage unit 33 is a unit that stores filtering conditions. The filtering conditions are stored in the condition storage unit 33 by the receiver A prior to the operation of this program.
[0026]
The history recording unit 34 is a unit that records history information of the filtering process. An example of the history information is information related to an e-mail deleted according to the filtering condition, such as a transmission address, a subject, and a transmission date and time. The recipient A can confirm the deleted e-mail by referring to the history recording unit 34 using a unit (not shown) of the terminal 3. Note that the history recording unit 34 is unnecessary when the history is not referred to.
[0027]
Hereinafter, the method will be described with reference to FIGS. FIG. 2 is a sequence diagram showing an embodiment of the present method. 3 and 4 will be described later.
[0028]
First, the server 1 receives an e-mail from the server 2 using the mail receiving unit 11 (S1), and stores the received e-mail in the mail storage unit 12 (S2).
The electronic mail stored in the mail storage unit 12 is transmitted to the terminal 3 of the receiver A based on a request from the receiver A. That is, the server 1 uses the mail transmission unit 13 to receive a mail transmission request (S10), extracts an e-mail addressed to the recipient A from the mail storage unit 12 (S11), and transmits it to the terminal 3 (S11). S12).
[0029]
Here, the server 1 and the terminal 3 cooperate with each other to perform a filtering process during a period from when the e-mail is accumulated (S2) to a request for e-mail transmission (S10), and the e-mail corresponding to the filtering condition is executed. Is transmitted to the terminal 3.
[0030]
The filtering process will be described with reference to FIG.
When the server 1 receives a request for header information of the electronic mail stored in the mail storage unit 12 from the terminal 3 using the command processing unit 14 (S3), the server 1 refers to the mail storage unit 12 and extracts the header information. Then, the data is transmitted to the terminal 3 (S5).
The terminal 3 receives the header information and makes a determination using the determination unit 32 (S6), outputs the result using means (not shown) (S7), and issues an instruction to delete the electronic mail from the recipient A. Accept.
When the server 1 receives an e-mail deletion request from the terminal 3 using the command processing unit 14 (S8), the server 1 deletes the corresponding e-mail from the mail storage unit 12 (S9).
[0031]
As described above, the filtering process is executed by the server 1 and the terminal 3 in cooperation with each other. That is, the server 1 deletes the e-mail corresponding to the filtering condition from the mail storage unit 12, but specifies the e-mail to be deleted and requests the server 1 to delete on the terminal 3. This is a working program.
[0032]
FIG. 3 is a flowchart showing an embodiment of the present program.
When the program starts, it waits for a certain time to elapse (T1). After a certain period of time, the server 1 requests the server 1 for header information (T2). Examples of the starting point of the certain time include the starting point of the program and the last request for header information. When the header information is received from the server 1 (T3), the filtering condition is read from the condition storage unit 33 (T4), the judgment is performed (T5), and the result is output (T6). After that, it waits for a delete instruction (T7), and when there is a delete instruction, requests the server 1 to delete the electronic mail (T8). When a result indicating that the deletion is completed is received from the server 1 (T9), the deletion history is recorded in the history recording unit 34 (T10). This program repeats the above processes T1 to T10.
The processes of T2, T3, T5, T6, and T8 correspond to the processes of S3, S5, S6, S7, and S8 shown in FIG.
[0033]
As a method of outputting the determination result (T6), for example, a list of the header information of the electronic mail stored in the server 1 is displayed together with the determination result on a screen of a display device (not shown) connected to the terminal 3. FIG. 4 is a schematic diagram illustrating an example of a screen displaying a determination result. On the screen P, the judgment results for the e-mails accumulated in the server 1, that is, relayed to the user from the time when the e-mail was received last time to the time when the header information was obtained are displayed in a table format. , Each row of the table is information on one electronic mail.
[0034]
The screen P indicates that there are five e-mails (No. 1 to 5) stored in the server 1 and three of the five e-mails (No. 2, 3, and 4) correspond to the filtering condition. It indicates that you want to.
In the column of the judgment result on the screen P, the blank indicates that the e-mail does not correspond to the filtering condition, the “x” indicates that the e-mail corresponds to the filtering condition, and the “▲” indicates that the filtering condition is satisfied. This is a symbol indicating that the received e-mail is received without being sent.
On the screen P, in addition to the determination result, all or part of the header information, for example, information such as a subject and a sender are displayed.
Note that, instead of providing the column of the determination result on the screen P, for example, a line related to an email corresponding to the filtering condition may be displayed in a different color.
[0035]
The recipient A checks the screen P and determines whether or not to execute the filtering process. That is, if the filtering process is executed while being displayed on the screen P, the column of the determination result is No. It can be confirmed that the e-mails 3 and 4 are deleted and no longer received.
The filtering instruction, that is, the deletion request, is performed by transmitting the DELE command from the terminal 3 to the server 1 when the receiver A presses the “execute filtering process” button on the screen P. The server 1 receives the DELE command using the command processing unit 14 and deletes the corresponding electronic mail in the mail storage unit 12.
[0036]
When the server 1 receives the mail transmission request (S10), the electronic mail stored in the mail storage unit 12 without being deleted, that is, the electronic mail shown in FIG. The three items 1, 2, and 5 are extracted (S11) and transmitted to the terminal 3 (S12).
[0037]
According to the embodiment described above, the recipient A, prior to receiving the e-mail, among the e-mails stored in the server 1 for which the transmission address and the reply address do not match, Can be deleted after confirmation, so that it is possible to prevent the reception of an e-mail having a high possibility of so-called unsolicited e-mail.
[0038]
In the embodiment described above, the filtering condition is a case where the transmission address does not match the return address. However, the filtering condition is not limited to this in the present invention. That is, for example, even when the transmission address and the reply address do not match, a specific transmission address and a subject (“Subject” field) may not be included in the filtering condition.
In this way, for example, a so-called mailing list (the sending address and the reply address often do not match) that the receiver A desires to receive can be excluded from the filtering process.
Note that a specific transmission address not included in the filtering conditions is stored in the condition storage unit 33, and the present program may be configured so that the determination unit 32 reads such information at the time of determination. In addition, information for identifying an e-mail (corresponding to “▲” in the figure) that corresponds to the filtering conditions shown in FIG. 4 but was excluded from the filtering processing last time, such as a transmission address and a subject, is also used. Similarly, the program may be stored in the condition storage unit 33 so that the determination unit 32 reads the program.
[0039]
Further, in the embodiment described above, the filtering condition is related to the sending address and the reply address of the e-mail. In addition, for example, the presence or absence of the attached file, the type of the message body, or The determination may be made by combining the language of the subject, that is, the “Content-Type” or “Subject” fields of the header information.
In this way, for example, it is possible to prevent the reception of an e-mail having a high possibility of a so-called virus mail, such as "attached file", "message body is in HTML format", and "subject is in English". You can also.
[0040]
Before the recipient A refers to the screen P and executes the filtering process, the recipient A changes the email to be subjected to the filtering process, that is, stops deleting the email corresponding to the filtering condition, or The program may be configured so that an e-mail that does not correspond to the above can be deleted.
[0041]
Further, in the example of FIG. 3, the present program is configured to acquire the header information from the server 1 after a certain period of time has elapsed (T1, T2). Instead, the recipient A may be able to set it arbitrarily.
[0042]
Furthermore, the timing of reading the filtering condition (T4) may be before the determination (T5), for example, before the request for the header information (T2).
[0043]
Furthermore, recording of the deletion history (T10) is not an essential component of the program. Therefore, if the deletion history is not recorded, the history recording unit 34 in the terminal 3 is unnecessary.
[0044]
Furthermore, information about an email that does not satisfy the filtering condition may not be displayed on the screen displayed as the determination result. That is, in the example shown in FIG. It is also possible to display only the three cases 3, 4, and 5, and make the receiver A confirm only the e-mail to be filtered. In this case, for example, the column of the determination result need not be provided.
[0045]
Next, another embodiment of the present invention will be described focusing on differences from the above-described embodiment.
In the embodiment described above, the terminal that executes the program and transmits the filtering instruction to the server 1 is the same as the terminal that receives the e-mail from the server 1. The terminal on which this program operates is different from the terminal that receives e-mail from the server 1.
[0046]
FIG. 5 is a block diagram showing another embodiment of the present server, and FIG. 6 is a sequence diagram showing another embodiment of the present method. The same parts as those in FIGS. I have.
The terminal 5 shown in FIG. 5 is a terminal on which this program operates, and realizes a filtering process in cooperation with the server 1. That is, as shown in FIG. 6, when the server 1 receives a request for the header information of the electronic mail stored in the mail storage unit 12 from the terminal 5 using the command processing unit 14 (S3x), the mail storage unit 12, header information is extracted (S4) and transmitted to the terminal 5 (S5x). The terminal 5 receives the header information and makes a determination using the determination unit 32 (S6x), outputs the result using means (not shown) (S7x), and issues an instruction to delete the electronic mail from the recipient A. Accept. When the server 1 receives an e-mail deletion request from the terminal 5 using the command processing unit 14 (S8x), the server 1 deletes the corresponding e-mail from the mail storage unit 12 (S9).
[0047]
Note that the present program, instead of presenting the determination result to the recipient A and accepting the deletion instruction, immediately sends a filtering instruction to the server 1 for the e-mail corresponding to the filtering condition as a result of the determination. It may be configured to transmit.
By doing so, for example, the receiver A operates the program periodically at the terminal 5 at home before receiving the e-mail at the terminal 30 at the workplace, and the electronic mail stored in the server 1 By instructing the server 1 to perform the mail filtering process, it is possible to prevent the terminal 30 from receiving unsolicited mail or the like.
It is not necessary that the terminal that receives the e-mail and the terminal on which this program operates have a one-to-one relationship. That is, for example, before receiving an e-mail on the terminals of a plurality of employees installed in the company, the program is operated on another terminal installed in the company and the electronic mail addressed to the employees is received. By executing the mail filtering process, it is possible to prevent unsolicited mail and the like from being received at the employee's terminal.
[0048]
Next, still another embodiment of the present invention will be described focusing on differences from the above-described embodiment.
In the embodiment described above, the terminal having the filtering condition is a terminal different from the server 1, that is, the terminal 3 in the example of FIG. 1 and the terminal 5 in the example of FIG. The embodiment is a case where the server itself has a filtering condition.
[0049]
FIG. 7 is a block diagram showing still another embodiment of the present server, and FIG. 8 is a sequence diagram showing still another embodiment of the present method. The same parts as those in FIGS. Are given.
Reference numeral 10 shown in FIG. 7 denotes this server, which includes a determination unit 32, a condition storage unit 33, and a history recording unit 34 in addition to the mail reception unit 11, the mail storage unit 12, the mail transmission unit 13, and the command processing unit 14. Have.
In the present embodiment, the program runs on the server 10 and periodically executes the filtering process on the stored e-mail addressed to the recipient A. That is, as shown in FIG. 8, the determination unit 32 requests the command processing unit 14 for the header information of the electronic mail stored in the mail storage unit 12 (S3y). The command processing unit 14 extracts the header information with reference to the mail storage unit 12 (S4). The determination unit 32 obtains (S5y) the header information extracted by the command processing unit 14 and makes a determination (S6y), and requests the command processing unit 14 to delete an email corresponding to the filtering condition (S8y). The command processing unit 14 deletes the requested electronic mail from the mail storage unit 12 (S9).
[0050]
Note that, instead of acquiring the header information after a certain period of time, the program accumulates the e-mail in the mail accumulation unit 12 and acquires the header information before accepting the request from the recipient A. It may be configured as follows.
In this way, the server 10 can transmit only the e-mail that has been subjected to the filtering process to the recipient A.
[0051]
【The invention's effect】
According to the present invention, prior to receiving an e-mail, of e-mails stored in a mail server, e-mail filtering corresponding to a filtering condition related to a preset sending address and a reply address is performed. By executing the processing, it is possible to prevent the reception of an e-mail having a high possibility of a so-called unsolicited e-mail.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a mail server according to the present invention.
FIG. 2 is a sequence diagram showing an embodiment of a mail filtering method according to the present invention.
FIG. 3 is a flowchart showing an embodiment of a mail filtering program according to the present invention.
FIG. 4 is a schematic diagram showing an example of a screen displaying a filtering condition determination result output by the program.
FIG. 5 is a block diagram showing another embodiment of the mail server according to the present invention.
FIG. 6 is a sequence diagram showing another embodiment of the mail filtering method according to the present invention.
FIG. 7 is a block diagram showing still another embodiment of the mail server according to the present invention.
FIG. 8 is a sequence diagram showing still another embodiment of the mail filtering method according to the present invention.
FIG. 9 is a block diagram showing an embodiment of a conventional mail server.
FIG. 10 is a sequence diagram showing an embodiment of a conventional electronic mail relay.
[Explanation of symbols]
1 mail server
2 server
3 terminal
4 Communication network

Claims (8)

メールサーバ内に蓄積された電子メールのフィルタリング方法であって、
電子メールの送信アドレスと返信アドレスとに関連したフィルタリング条件を有する端末が、上記メールサーバに、上記蓄積された電子メールのヘッダ情報を要求するステップと、
上記端末が、上記メールサーバから、上記蓄積された電子メールのヘッダ情報を受信するステップと、
上記端末が、上記フィルタリング条件に基づき上記受信した電子メールのヘッダ情報を判定するステップと、
上記端末が、上記メールサーバに、上記判定の結果に基づくフィルタリング指示を送信するステップと、
上記メールサーバが、上記フィルタリング指示に基づきフィルタリング処理を実行するステップ、とを有することを特徴とするメールフィルタリング方法。
A method of filtering e-mail stored in a mail server,
A terminal having filtering conditions related to an e-mail sending address and a reply address, requesting the mail server for header information of the stored e-mail;
The terminal receiving, from the mail server, header information of the stored electronic mail;
A step in which the terminal determines header information of the received email based on the filtering condition;
The terminal transmitting, to the mail server, a filtering instruction based on a result of the determination;
A step of the mail server executing a filtering process based on the filtering instruction.
フィルタリング条件は、電子メールの送信アドレスと返信アドレスが不一致の場合とし、フィルタリング処理は、上記電子メールの削除である、請求項1記載のメールフィルタリング方法。2. The mail filtering method according to claim 1, wherein the filtering condition is a case where the transmission address of the e-mail does not match the reply address, and the filtering processing is the deletion of the e-mail. 通信ネットワークを介して転送された電子メールを受信して蓄積しておき、この電子メールの受信者からの要求に基づいて、上記蓄積しておいた電子メールを上記受信者の端末に送信するメールサーバであって、
電子メールの送信アドレスと返信アドレスとに関連したフィルタリング条件に基づくフィルタリング処理を実行する手段を有してなることを特徴とするメールサーバ。
An e-mail that receives and accumulates the e-mail transferred through the communication network, and transmits the stored e-mail to the terminal of the recipient based on a request from the recipient of the e-mail. A server,
A mail server comprising means for executing a filtering process based on a filtering condition associated with an e-mail transmission address and a return address.
フィルタリング条件は、電子メールの送信アドレスと返信アドレスが不一致の場合とし、フィルタリング処理は、上記電子メールの削除である、請求項3記載のメールサーバ。4. The mail server according to claim 3, wherein the filtering condition is a case where the transmission address of the e-mail does not match the reply address, and the filtering process is the deletion of the e-mail. フィルタリング条件は、メールサーバとは別の端末が有しており、
上記端末に電子メールのヘッダ情報を送信する手段と、
上記端末からフィルタリング指示を受信する手段、とをさらに有してなり、
フィルタリング処理は、上記端末からのフィルタリング指示に基づき実行される請求項3または4記載のメールサーバ。
Filtering conditions are held by a terminal different from the mail server,
Means for transmitting header information of the e-mail to the terminal,
Means for receiving a filtering instruction from the terminal,
5. The mail server according to claim 3, wherein the filtering process is performed based on a filtering instruction from the terminal.
フィルタリング指示は、POP3コマンドのDELEコマンドである請求項3乃至5のいずれかに記載のメールサーバ。6. The mail server according to claim 3, wherein the filtering instruction is a DELE command of a POP3 command. 受信者の端末と、フィルタリング条件を有する端末とが異なる請求項5または6記載のメールサーバ。7. The mail server according to claim 5, wherein a terminal of the receiver is different from a terminal having a filtering condition. 蓄積された電子メールのフィルタリングの実行をメールサーバに指示するためのコンピュータを、
電子メールの送信アドレスと返信アドレスとに関連したフィルタリング条件を記憶する手段、
メールサーバ内に蓄積された電子メールのヘッダ情報を取得する手段、
上記記憶されたフィルタリング条件に基づき、上記取得した電子メールのヘッダ情報を判定する手段、
上記判定の結果に基づきフィルタリング指示を上記メールサーバに送信する手段、として機能させることを特徴とするメールフィルタリングプログラム。
A computer for instructing the mail server to execute filtering of the accumulated e-mail,
Means for storing filtering conditions associated with the email sending address and the reply address,
Means for acquiring header information of the e-mail stored in the mail server,
Means for determining the header information of the obtained email based on the stored filtering conditions,
A mail filtering program functioning as means for transmitting a filtering instruction to the mail server based on a result of the determination.
JP2002334635A 2002-11-19 2002-11-19 Mail filtering method, mail server and mail filtering program Pending JP2004171169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002334635A JP2004171169A (en) 2002-11-19 2002-11-19 Mail filtering method, mail server and mail filtering program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002334635A JP2004171169A (en) 2002-11-19 2002-11-19 Mail filtering method, mail server and mail filtering program

Publications (1)

Publication Number Publication Date
JP2004171169A true JP2004171169A (en) 2004-06-17

Family

ID=32698964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002334635A Pending JP2004171169A (en) 2002-11-19 2002-11-19 Mail filtering method, mail server and mail filtering program

Country Status (1)

Country Link
JP (1) JP2004171169A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006066444A1 (en) * 2004-12-21 2006-06-29 Zte Corporation Connection-oriented junk mail filtering system and method
WO2007077603A1 (en) * 2005-12-28 2007-07-12 Fujitsu Limited Information processing device, information processing method and program
JP2008210254A (en) * 2007-02-27 2008-09-11 Rakuten Inc Continuous mail countermeasure system
JP2009104400A (en) * 2007-10-23 2009-05-14 Kddi Corp E-mail filtering device, e-mail filtering method and program
JP2010128944A (en) * 2008-11-28 2010-06-10 Nec Access Technica Ltd Mail reception system, terminal, method and program
JP2010239241A (en) * 2009-03-30 2010-10-21 Fujitsu Ltd E-mail reception refusal method and mobile terminal in mobile phone network
US8237966B2 (en) 2008-02-26 2012-08-07 Brother Kogyo Kabushiki Kaisha Printing device and computer-readable record medium storing program for printing device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006066444A1 (en) * 2004-12-21 2006-06-29 Zte Corporation Connection-oriented junk mail filtering system and method
WO2007077603A1 (en) * 2005-12-28 2007-07-12 Fujitsu Limited Information processing device, information processing method and program
JPWO2007077603A1 (en) * 2005-12-28 2009-06-04 富士通株式会社 Information processing apparatus, information processing method, and program
JP2008210254A (en) * 2007-02-27 2008-09-11 Rakuten Inc Continuous mail countermeasure system
JP2009104400A (en) * 2007-10-23 2009-05-14 Kddi Corp E-mail filtering device, e-mail filtering method and program
US8237966B2 (en) 2008-02-26 2012-08-07 Brother Kogyo Kabushiki Kaisha Printing device and computer-readable record medium storing program for printing device
JP2010128944A (en) * 2008-11-28 2010-06-10 Nec Access Technica Ltd Mail reception system, terminal, method and program
JP2010239241A (en) * 2009-03-30 2010-10-21 Fujitsu Ltd E-mail reception refusal method and mobile terminal in mobile phone network

Similar Documents

Publication Publication Date Title
US7945629B2 (en) Active removal of e-mail recipient from replies and subsequent threads
JP2008500665A (en) Messaging protocol for processing messages with attachments
CN101903870A (en) Method and system for expiry disposition in an electronic messaging system
JP2007080273A (en) System, method and program for controlling the presentation of e-mail messages after delivery (easy to present and monitor e-mail messages including replies for each constraint)
WO2011103748A1 (en) Method and mobile communication terminal for managing email
KR100784474B1 (en) System and method for knock notification to an unsolicited message
JP2006311344A (en) Data communication device and program
JP4521480B1 (en) Method, system, and computer program for correcting an email message with unsent recipients
JP4857246B2 (en) Approval device, approval method, and program
JPH11298520A (en) Electronic mail transfer device, recording medium storing electronic mail transfer program, and mail server system
JP2004171169A (en) Mail filtering method, mail server and mail filtering program
TWI262682B (en) Message gateway and method and system for message dispatching based on group communication
CN104011752A (en) Method and apparatus for displaying email messages
JP2009169866A (en) E-mail client, control method therefor, and computer program
CN102132264A (en) Relay device, relay method, and recording medium
JP2006331003A (en) Information processing apparatus and e-mail control method
US9083558B2 (en) Control E-mail download through instructional requests
JP5130057B2 (en) Mail transmission / reception system
CN101552742A (en) e-mail receiving device
KR20030055817A (en) Mail control method of receiving and deleting mails selectively using mail header information and mail client terminal
JP2003125004A (en) Refusal system for reception of electronic mail, and method therefor, and control program thereof
JP4080664B2 (en) Network facsimile machine
JP2012194822A (en) Image processing device and image processing system
US7606935B1 (en) Systems and methods of automatic retransmission of electronic mail
JP4477396B2 (en) E-mail transmission / reception system