aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-22 21:17:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-22 21:17:00 +0000
commit07f08b196505009f1a5eaeed04642f64e57d2674 (patch)
tree15f8b18854ae724d61fb5cfb733d1ec330ded9b1 /src/libserver/spf.c
parente9f8d4f2797da204276de066cd64ff0f1c1a9c2f (diff)
downloadrspamd-07f08b196505009f1a5eaeed04642f64e57d2674.tar.gz
rspamd-07f08b196505009f1a5eaeed04642f64e57d2674.zip
[Minor] Increase log severity of some of the SPF errors
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r--src/libserver/spf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index e4462cd66..f8514a1ca 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -991,7 +991,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
case SPF_RESOLVE_MX:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
cb->addr->flags |= RSPAMD_SPF_FLAG_PERMFAIL;
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot find MX"
" record for %s: %s",
cb->rec->sender_domain,
@@ -1003,7 +1003,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
case SPF_RESOLVE_A:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
cb->addr->flags |= RSPAMD_SPF_FLAG_PERMFAIL;
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot resolve A"
" record for %s: %s",
cb->rec->sender_domain,
@@ -1018,7 +1018,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
case SPF_RESOLVE_AAA:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
cb->addr->flags |= RSPAMD_SPF_FLAG_PERMFAIL;
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot resolve AAAA"
" record for %s: %s",
cb->rec->sender_domain,
@@ -1031,7 +1031,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
break;
case SPF_RESOLVE_PTR:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot resolve PTR"
" record for %s: %s",
cb->rec->sender_domain,
@@ -1045,7 +1045,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
case SPF_RESOLVE_REDIRECT:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
cb->addr->flags |= RSPAMD_SPF_FLAG_PERMFAIL;
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot resolve REDIRECT"
" record for %s: %s",
cb->rec->sender_domain,
@@ -1056,7 +1056,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
break;
case SPF_RESOLVE_INCLUDE:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot resolve INCLUDE"
" record for %s: %s",
cb->rec->sender_domain,
@@ -1070,7 +1070,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
break;
case SPF_RESOLVE_EXISTS:
if (!(cb->addr->flags & RSPAMD_SPF_FLAG_RESOLVED)) {
- msg_debug_spf (
+ msg_info_spf (
"spf error for domain %s: cannot resolve EXISTS"
" record for %s: %s",
cb->rec->sender_domain,