diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-06-05 02:39:21 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-06-05 02:39:21 +0400 |
commit | 1d8da7cd96a810bc6119a8f604e934235e68f9cf (patch) | |
tree | dc5429eff1a4fdd0e7e932d4fc8675b94ebf8398 /src/cfg_xml.c | |
parent | 75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e (diff) | |
download | rspamd-1d8da7cd96a810bc6119a8f604e934235e68f9cf.tar.gz rspamd-1d8da7cd96a810bc6119a8f604e934235e68f9cf.zip |
* DKIM module now check only first signature as others must be rejected or skipped by definition.
* Add 'trusted_only' and 'skip_multi' options to DKIM module.
* Improve flags parsing to support strings like: 'true', 'false', '1', '0', 'yes', 'no', 'y', 'n'.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c index d681ec252..6c21fa14d 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -2224,6 +2224,11 @@ check_module_option (const gchar *mname, const gchar *optname, const gchar *data return FALSE; } break; + case MODULE_OPT_TYPE_FLAG: + if (parse_flag (data) == -1) { + return FALSE; + } + break; } return TRUE; |