Commit | Line | Data |
---|---|---|
97d3e8cd PR |
1 | ;;; rmail-spam-filter.el --- spam filter for rmail, the emacs mail reader. |
2 | ||
3 | ;; Copyright (C) 2002 | |
4 | ;; Free Software Foundation, Inc. | |
5 | ;; Keywords: email, spam, filter, rmail | |
6 | ;; Author: Eli Tziperman <eli@beach.weizmann.ac.il> | |
7 | ||
8 | ;; This file is part of GNU Emacs. | |
9 | ||
10 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 | ;; it under the terms of the GNU General Public License as published by | |
12 | ;; the Free Software Foundation; either version 2, or (at your option) | |
13 | ;; any later version. | |
14 | ||
15 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | ;; GNU General Public License for more details. | |
19 | ||
20 | ;; You should have received a copy of the GNU General Public License | |
21 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
22 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 | ;; Boston, MA 02111-1307, USA. | |
24 | ||
25 | ;;; Commentary: | |
26 | ;;; ----------- | |
27 | ||
28 | ;;; Automatically recognize and delete junk email before it is | |
29 | ;;; displayed in rmail/rmail-summary. Spam emails are defined by | |
30 | ;;; specifying one or more of the sender, subject and contents. | |
31 | ;;; URL: http://www.weizmann.ac.il/~eli/Downloads/rmail-spam-filter/ | |
32 | ||
33 | ;;; Usage: | |
34 | ;;; ------ | |
35 | ||
36 | ;;; put in your .emacs: | |
37 | ||
38 | ;;; (load "rmail-spam-filter.el") | |
39 | ||
40 | ;;; and use customize (in rmail-spam-filter group) to: | |
41 | ||
42 | ;;; (*) turn on the variable rmail-use-spam-filter, | |
43 | ||
44 | ;;; (*) specify in variable rmail-spam-definitions-alist what sender, | |
45 | ;;; subject and contents make an email be considered spam. | |
46 | ||
47 | ;;; in addition, you may: | |
48 | ||
49 | ;;; (*) Block future mail with the subject or sender of a message | |
50 | ;;; while reading it in RMAIL: just click on the "Spam" item on the | |
51 | ;;; menubar, and add the subject or sender to the list of spam | |
52 | Content-type: text/html