diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-29 19:32:31 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-29 19:32:31 +0400 |
commit | 025f2000d515244e085cd82ac089d7f0271fc531 (patch) | |
tree | 1ce03cdd34717418194aaf5fdee6584ad241cc1c /rspamd.conf.sample | |
parent | 21a2da8ea3da88fe2e54785189c0a328fcab4a2a (diff) | |
download | rspamd-025f2000d515244e085cd82ac089d7f0271fc531.tar.gz rspamd-025f2000d515244e085cd82ac089d7f0271fc531.zip |
* Add views support (not completely tested yet)
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r-- | rspamd.conf.sample | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample index 23f31353a..290fa2513 100644 --- a/rspamd.conf.sample +++ b/rspamd.conf.sample @@ -294,3 +294,17 @@ raw_mode = yes; url_filters = "surbl"; header_filters = "regexp"; mime_filters = "chartable,emails"; + +# Definition of view, views may allow to customize rules for different messages +view { + # All directives here may be duplicated to add specific elements or regexp/files + # List of ip/mask for this view + ip = "file://@CMAKE_INSTALL_PREFIX@/etc/rspamd/ip_internal.inc"; + # From addresses for this view: + # list is placed in file: + #from = "file://@CMAKE_INSTALL_PREFIX@/etc/rspamd/from_internal.inc"; + # list is regexp: + #from = "/^.+@example.com$/i"; + # Symbols to check, can also be list of files or regexp: + symbols = "/^[A-Z]{2}_SURBL_MULTI$/i"; +}; |