diff options
author | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-02-17 18:57:05 +0300 |
---|---|---|
committer | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-02-17 18:57:05 +0300 |
commit | 94edb9f04b2144be4a78556653451456738ba767 (patch) | |
tree | 59418513a28438035b0cdde8ef408622ebb2f52b /src/spf.c | |
parent | 3ec2330431b62e442f4fdea41cacab152cbcee55 (diff) | |
download | rspamd-94edb9f04b2144be4a78556653451456738ba767.tar.gz rspamd-94edb9f04b2144be4a78556653451456738ba767.zip |
* Add ability to add custom messages to rspamd output
* Add messages from spf checks
Diffstat (limited to 'src/spf.c')
-rw-r--r-- | src/spf.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -887,6 +887,12 @@ parse_spf_record (struct worker_task *task, struct spf_record *rec) begin += sizeof (SPF_INCLUDE) - 1; res = parse_spf_include (task, begin, rec, new); } + else if (strncmp (begin, SPF_IP6, sizeof (SPF_IP4) - 1) == 0) { + begin += sizeof (SPF_IP6) - 1; + msg_info ("ignoring ip6 spf command as IPv6 is not supported: %s", begin); + new = NULL; + res = TRUE; + } else { msg_info ("bad spf command: %s", begin); } |