aboutsummaryrefslogtreecommitdiffstats
path: root/src/spf.c
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-17 18:57:05 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-17 18:57:05 +0300
commit94edb9f04b2144be4a78556653451456738ba767 (patch)
tree59418513a28438035b0cdde8ef408622ebb2f52b /src/spf.c
parent3ec2330431b62e442f4fdea41cacab152cbcee55 (diff)
downloadrspamd-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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/spf.c b/src/spf.c
index d9f64310d..50ad3176e 100644
--- a/src/spf.c
+++ b/src/spf.c
@@ -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);
}