个人工具

“UbuntuHelp:HowToEnableSpamFilteringInEvolution”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/HowToEnableSpamFilteringInEvolution}}
 
{{From|https://help.ubuntu.com/community/HowToEnableSpamFilteringInEvolution}}
 
{{Languages|UbuntuHelp:HowToEnableSpamFilteringInEvolution}}
 
{{Languages|UbuntuHelp:HowToEnableSpamFilteringInEvolution}}
Parent page: [[UbuntuHelp:InternetAndNetworking| Internet and Networking]]
+
== Introduction ==
Spam filtering may be achieved by using ''spamassassin'' or ''bogofilter''.  The method for setting this up differs slightly on different versions of Ubuntu.
+
Evolution filters out spam e-mail using the ''spamassassin'' package.
=== All versions of Ubuntu ===
+
=== Installation ===
Follow the 5.10 part below to install spamassassin from Synaptic.  Installing bogofilter is almost the same, except that you have to replace "spamassassin" by "bogofilter", of course.
+
SpamAssassin is not included with Evolution, but it is very easy to install using Synaptic or the command line.
=== Ubuntu 7.04 (Feisty Fawn) ===
+
* Open Synaptic using '''System -> Administration -> Synaptic Package Manager'''.
As 6.06 Below.
+
=== Ubuntu 6.06 LTS (Dapper Drake) ===
+
There are 2 spam filter plugins for Evolution: the bogofilter plugin and the spamassassin plugin.  Spam filtering doesn't work if more than one spam filter is enabled, so go to '''Edit -> Plugins''' (within Evolution) and make sure only one of them is enabled, then restart Evolution.
+
For bogofilter, spam filtering will start after at least one message has been marked as spam and at least one has been marked as not spam ("ham").  You might have to mark a good message as spam to be able to mark it as non-spam again.
+
If you have multiple accounts repeat this for every account.
+
=== Previous Releases (5.10 and Below) ===
+
* On the top panel, visit '''System -> Administration -> Synaptic Package Manager'''.
+
 
* Search for "''spamassassin''".
 
* Search for "''spamassassin''".
 
* Install "''spamassassin''" and any dependencies it requires.
 
* Install "''spamassassin''" and any dependencies it requires.
 
* Or write in terminal
 
* Or write in terminal
 
<pre><nowiki>
 
<pre><nowiki>
   apt-get install spamassassin
+
   sudo apt-get install spamassassin
 
   </nowiki></pre>
 
   </nowiki></pre>
* Launch Evolution.
+
=== Set Up ===
* Go to '''Edit -> Preferences -> Mail Preferences -> Junk'''.
+
Open Evolution and change two settings:
* Enable at least the first option box, "''Check incoming mail for junk''."
+
* '''Edit -> Plugins -> SpamAssassin junk plugin''' should be '''checked'''
Spamassassin itself requires no setup in most cases.  If you really wanted to know all that, open the Gnome Help browser ('''System -> Help'''), type ''Ctrl-l'' (for "'''L'''ocation), and in the box type "''man:spamassassin''".  Alternatively, you could open a terminal ('''Applications -> Accessories -> Terminal''') and type "''man spamassassin''". There is additional documentation in "''/usr/share/doc/spamassassin''". ('''Places -> Home Folder''', type ''Ctrl-l'' ('''L'''ocation), then enter "''/usr/share/doc/spamassassin''".)
+
* '''Edit -> Preferences -> Mail Preferences -> Junk'''
[[category:CategoryDocumentation]]
+
* '''Check incoming messages for junk''' should be '''checked'''
 +
* '''Default junk plugin:''' should be '''Spamassasin''', with the note "''Spamassasin plugin is available and the binary is installed''"
 +
=== Using SpamAssassin ===
 +
While reading your e-mail, use the 'Junk' and 'Not Junk' buttons to train SpamAssassin. Be patient, it may take a week or two - SpamAssassin requires a minimum of 200 junk '''and non-junk''' messages to begin functioning.
 +
Even after the filter begins to work, it's still learning. Make sure to check your 'Junk' folder occasionally, since some non-spam messages may have been miscategorized.
 +
You ''can'' speed up the training process if you have a pool of known spam and known not-spam messages handy for training the filter. ''Tip'': Drag the non-spam messages into the ''empty'' junk folder, highlight the group, and click 'Not Junk'. Similarly, drag a bunch of spam into an empty in-box, highlight the group, and click 'Junk'.
 +
=== Installing Other Filters ===
 +
Other filters, such as Bogofilter, are available in the repositories. These can be used with Evolution, but the installation, setup, and use of each will vary.
 +
=== Advanced SpamAssassin Options ===
 +
SpamAssassin can be used with other mail clients, as a standalone application, or as a server for heavy-duty mailserver use. For more information on SpamAssassin's advanced options the man page is available in Terminal   
 +
<pre><nowiki>
 +
man spamassassin
 +
</nowiki></pre>
 +
----
 +
[[category:CategoryEmail]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 05:55的最新版本


Introduction

Evolution filters out spam e-mail using the spamassassin package.

Installation

SpamAssassin is not included with Evolution, but it is very easy to install using Synaptic or the command line.

  • Open Synaptic using System -> Administration -> Synaptic Package Manager.
  • Search for "spamassassin".
  • Install "spamassassin" and any dependencies it requires.
  • Or write in terminal
   sudo apt-get install spamassassin
   

Set Up

Open Evolution and change two settings:

  • Edit -> Plugins -> SpamAssassin junk plugin should be checked
  • Edit -> Preferences -> Mail Preferences -> Junk
  • Check incoming messages for junk should be checked
  • Default junk plugin: should be Spamassasin, with the note "Spamassasin plugin is available and the binary is installed"

Using SpamAssassin

While reading your e-mail, use the 'Junk' and 'Not Junk' buttons to train SpamAssassin. Be patient, it may take a week or two - SpamAssassin requires a minimum of 200 junk and non-junk messages to begin functioning. Even after the filter begins to work, it's still learning. Make sure to check your 'Junk' folder occasionally, since some non-spam messages may have been miscategorized. You can speed up the training process if you have a pool of known spam and known not-spam messages handy for training the filter. Tip: Drag the non-spam messages into the empty junk folder, highlight the group, and click 'Not Junk'. Similarly, drag a bunch of spam into an empty in-box, highlight the group, and click 'Junk'.

Installing Other Filters

Other filters, such as Bogofilter, are available in the repositories. These can be used with Evolution, but the installation, setup, and use of each will vary.

Advanced SpamAssassin Options

SpamAssassin can be used with other mail clients, as a standalone application, or as a server for heavy-duty mailserver use. For more information on SpamAssassin's advanced options the man page is available in Terminal

man spamassassin