diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-03 20:29:27 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-03 20:29:27 +0300 |
commit | 65f15e69284e38d5bbf2177f4466975eca5779b8 (patch) | |
tree | 2966f19baebf839fe02b5823b054a9539d921e6c /src/cfg_xml.c | |
parent | 99cb83cd06ca693a032616361bd0b1ae1efabdba (diff) | |
download | rspamd-65f15e69284e38d5bbf2177f4466975eca5779b8.tar.gz rspamd-65f15e69284e38d5bbf2177f4466975eca5779b8.zip |
* New module for checking emails inside messages (rules based, like multimap)
* Emails now are separated from urls and urls checks
* Add ability to check text attachements if option is presented in a configuration
Version is 0.3.6 now
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c index 70f3ebda8..b4eaee045 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -112,6 +112,12 @@ static struct xml_parser_rule grammar[] = { NULL }, { + "check_attachements", + xml_handle_boolean, + G_STRUCT_OFFSET (struct config_file, check_text_attachements), + NULL + }, + { "tempdir", xml_handle_string, G_STRUCT_OFFSET (struct config_file, temp_dir), |