From 2dd2e06fc2ae1205d0e1913bb33ce5d5c6e28925 Mon Sep 17 00:00:00 2001 From: Aaron Weber Date: Fri, 6 Dec 2002 20:50:39 +0000 Subject: add spam filtering help. 2002-12-06 Aaron Weber * C/usage-mail-org.xml: add spam filtering help. svn path=/trunk/; revision=19044 --- help/C/config-prefs.xml | 2 +- help/C/usage-mail-org.xml | 169 +++++++++++++++++++++++++++++++++++----------- 2 files changed, 132 insertions(+), 39 deletions(-) (limited to 'help') diff --git a/help/C/config-prefs.xml b/help/C/config-prefs.xml index ab1af1bb0d..03a78ab0a5 100644 --- a/help/C/config-prefs.xml +++ b/help/C/config-prefs.xml @@ -435,7 +435,7 @@ smtp.omniport.com:143 linkend="usage-mail-getnsend-get-attach-html"/>. - To hange the font which Ximian + To change the font which Ximian Evolution uses to display mail, do the following: diff --git a/help/C/usage-mail-org.xml b/help/C/usage-mail-org.xml index bb21abcf17..3b992a4bbd 100644 --- a/help/C/usage-mail-org.xml +++ b/help/C/usage-mail-org.xml @@ -701,18 +701,6 @@ When Are Filters Applied? - - If you move mail from your server into your local system - using POP mail, filters are applied to incoming mail every - time you check for mail. - - - If you store your mail on the mail server and check your - mail with IMAP, filters are applied to the INBOX when you - open it. In some cases, you will see a number of unread - messages in the INBOX, click the INBOX, and then have the - messages move elsewhere as they are filtered out. - If you use Ximian Connector to store your mail on an Exchange server, filters are not applied until you open @@ -722,22 +710,34 @@ CtrlY + Using a Filter to Avoid Spam - A good deal of bulk mail is eventually tagged with the - Precedence: Bulk header at - one point or another. Not all of it is, of course, and - there are "good" messages (mailing lists you subscribe to, - for example) that are also considered "Bulk" mail. - However, if you filter out all the mail with that header, - you'll catch a lot of the mail you don't want to get. + Spam, also known as unsolicited commercial email (UCE), is + the bane of many email boxes, but it doesn't have to + be. Using Ximian Evolution filters and an external Spam + detection tool like SpamAssassin (http://spamassassin.org/), + you can catch the vast majority of junk mail and drop it + directly into the trash. + + + The easiest way to do this is to get your system + administrator to install SpamAssassin (or its equivalent) + on your mail server. There, it will flag messages it + suspects of being Spam with the "X-Spam-Status" header to + your mail, which you can then search for in a + filter. Because SpamAssassin scores mails based on the + likelyhood that messages are junk, you can even choose how + strict you want it to be. If you don't have a friendly + network administrator, never fear: you can install + SpamAssassin on your own system, then pipe messages through + it before reading them. - - To catch them and automatically mark them for deletion, do - the following: + If your system administrator or ISP has SpamAssassin, here's how to siphon off the junk mail: @@ -745,15 +745,15 @@ - Click New. + Click Add. - Set the first part of your search critera to look in a Specific header. + Set the first part of your search criterion to look in a Specific header. - Enter Precedence as the name of the header. + Enter X-Spam-Flag as the name of the header. @@ -761,31 +761,124 @@ - Enter Bulk as the content to search for. - You're now working with all email that has the word "Bulk" in the - "Precedence" header. + Enter YES as the content to search for. + You're now working with all email that has the word "YES" in the + "X-Spam-Status" header. - For actions, select "Move to Folder" and choose the - folder where you'd like to place bulk mail. + For actions, choose what you'd like to do with the + messages. You can delete the messages automatically, but + it's more prudent to place them in a "Possible Junk Mail" + folder, and check them over just to make sure a genuine + message didn't get flagged by accident. - If you like, add another action and - choose Delete. - - Click OK. You're done. - - + + If you don't have SpamAssassin or other junk mail filtering + on your mail server, there's still hope, although it's not + quite as simple. First, download + and install SpamAssassin from http://spamassassin.org. Instructions + for installation are on the site; you'll need to download the "spamassassin" + and "perl-Mail-SpamAssassin" + packages. You can install them with Red Carpet by selecting + Install Local Packages from the + File menu.) Once you have the software + installed, do the following: + + + + Open a new create a text file with any text editor ( + + + Programs + + + Accessories + + + Text Editor + + is the most convenient) and paste in the following: + + spamassassin -e < + + This will run the SpamAssassin command and report back 0 + if the message is not junk. + + + + + Create a directory called "bin" in your home directory, and save the file there as "spam-filter.sh" + + + + + Mark the file as an executable program: + Open your home directory in Nautilus, right click on + filterscript.sh there, and select + Properties. Then, click the + "Permissions" tab and check the box in the + Execute column and the + Owner row. Alternately, open a terminal + ( + + Programs + + + Accessories + + + Terminal + + ) and enter the command: chmod +x bin/spam-filter.sh. + + + + + Back in Evolution, create a new filter: Select + ToolsFilters, + then click Add. + + - - + + Select "Pipe Message to Shell Command" as the first portion of the criterion. + + + + Enter "/home/username/bin/spam-filter.sh" as the shell command, then select + "Does Not Return" and "0" as the remaining two + items. Substitute your username for "username" so that + Evolution can find the script. + + + + For actions, choose what you'd like to do with the + messages. You can delete the messages automatically, but + it's more prudent to place them in a "Possible Junk Mail" + folder, and check them over just to make sure a genuine + message didn't get flagged by accident. + + + + You're done. Click "OK" to close the filter and "OK" to + close the filter editor. + + + + + + + + Editing Filters To edit a filter: -- cgit v1.2.3