diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-15 19:42:28 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-15 19:42:28 +0400 |
commit | c76bd2e9ab2506ef06cc291c3e4b6b57ae08ea65 (patch) | |
tree | deb00c3ceb9659a1d8b80845a7218b93cea4cbab /rspamd.conf.sample | |
parent | c9d11a65b5c801a27f154091aebe86cbd08fd319 (diff) | |
download | rspamd-c76bd2e9ab2506ef06cc291c3e4b6b57ae08ea65.tar.gz rspamd-c76bd2e9ab2506ef06cc291c3e4b6b57ae08ea65.zip |
* Add module for blacklisting emails (self documented in sample config)
* Add command 'emails' for extracting emails from a message
* Rework protocol layout to allow expanding rspamd protocol by custom commands that can be added from anywhere in code
* Allow rspamc to work without strictly parameter 'command'. Command by default is 'symbols'.
* Update version to 0.1.8
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r-- | rspamd.conf.sample | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample index 5184aef09..2b70cbd7c 100644 --- a/rspamd.conf.sample +++ b/rspamd.conf.sample @@ -146,6 +146,12 @@ $subject_blah = "Subject=/blah/H"; threshold = "0.1"; }; +.module 'emails' { + metric = "default"; + symbold = "R_BAD_EMAIL"; + blacklist = "file:///some/path/emails.lst"; +}; + # If enables threat each regexp as raw regex and do not try to convert # each text part to utf8 encoding. Save a lot of resources but less # portable. @@ -154,4 +160,4 @@ raw_mode = yes; url_filters = "surbl"; header_filters = "regexp"; -mime_filters = "chartable"; +mime_filters = "chartable,emails"; |