claws-mail/src/plugins/spamassassin
2018-08-25 11:35:48 +02:00
..
libspamc.c Fix a couple of unused variable warnings 2018-05-06 23:31:10 +02:00
libspamc.h Updated Apache SpamAssassin code (libspam.[ch], utils.[ch]) from 3.0.x 2018-04-13 20:08:03 +02:00
Makefile.am Fix various plugins including generated .h files when building outside of source dir. 2018-08-25 11:35:48 +02:00
NOTICE Add SpamAssassin's NOTICE file. 2018-04-13 20:08:59 +02:00
README 2006-11-12 [paul] 2.6.0cvs34 2006-11-12 08:19:11 +00:00
spamassassin.c Fix some plugins' code indentation. 2018-05-06 23:28:20 +02:00
spamassassin.h Spamassassin plug-in: add support for compression (server must have 2018-04-13 20:09:20 +02:00
spamassassin_gtk.c Fix some plugins' code indentation. 2018-05-06 23:28:20 +02:00
spamassassin_gtk.deps 2005-07-14 [colin] 1.9.12cvs51 2005-07-14 13:37:35 +00:00
utils.c Updated Apache SpamAssassin code (libspam.[ch], utils.[ch]) from 3.0.x 2018-04-13 20:08:03 +02:00
utils.h Updated Apache SpamAssassin code (libspam.[ch], utils.[ch]) from 3.0.x 2018-04-13 20:08:03 +02:00

SpamAssassin Plugin
-------------------

This plugin will filter incoming messages using SpamAssassin. Like the
spamc command from the SpamAssassin package, the message is sent to a
spamd server that decides if the message is spam or not. Filtering of
spam at incorporation time can be turned off.

The plugin also provides the ability to teach spamd to recognize spam and ham,
using the external command sa-learn in local modes or spamc in TCP mode
(this one requires SpamAssassin >=3.1.x). A toolbar button for marking
messages as spam or ham can be added to the main window or the message
window (see "Configuration/Preferences/Customize toolbars).

The plugin is built automatically if you have the required libraries
available.

Message that are classified as spam can be deleted or moved to a folder
that can be specified in the configuration, if the folder is not
specified or not found the default trash folder will be used.

Plugin preferences can be found under "/Configuration/Preferences/Plugins
/SpamAssassin". 

The SpamAssassin plugin uses it's own block in the clawsrc file in your
~/.claws-mail/ directory, and define the following options:

[SpamAssassin]
transport=0				transport type (to reach spamd)
					0 is to disable all features
					1 is using a local spamd
					2 is using a TCP connection
					3 is using a Unix socket
					[default: 0]

hostname=localhost			hostname of the spamd server
					[default: localhost]

port=783				port the spamd server uses
					[default: 783]

timeout=30				max time (in seconds) a transaction with spamd
					should last
					[default: 30]

max_size=250				maximum size a mail can have (in kB)
					larger mails will not be filtered
					[default: 250]

process_emails=1			enable to filter incoming emails (POP, IMAP, local)
					[default: 1]

receive_spam=1				enable to save spam to a mailfolder
					if not enabled the mails will be deleted,
					please note that this is dangerout and you
					might lose an important mail that is
					classified as spam by mistake
					[default: 1]

save_folder=#mh/Mail/trash/Spam		the folder that should be used to save
					spam mails, if empty the default trash
					folder is used
					[default: none, use default trash]

username=<empty>			user the spamd server have to use
					[default: user name of the current user]

libspamc.[ch] and utils.[ch] are files from the SpamAssassin distribution.
The copyright holders and license information can be found inside the files.
The SpamAssassin distribution can be downloaded from http://spamassassin.apache.org/.