return TRUE;
}
+ else {
+ msg_info_spf ("unresolvable A element for %s: %s", addr->spf_string,
+ rec->sender_domain);
+ }
return FALSE;
rspamd_mempool_add_destructor (task->task_pool, free, ptr);
msg_debug_spf ("resolve ptr %s for %s", ptr, host);
- rec->ttl = 0;
- msg_debug_spf ("disable SPF caching as there is PTR expansion");
-
if (rspamd_dns_resolver_request_task_forced (task,
spf_record_dns_callback, (void *) cb, RDNS_REQUEST_PTR, ptr)) {
rec->requests_inflight++;
+ rec->ttl = 0;
+ msg_debug_spf ("disable SPF caching as there is PTR expansion");
return TRUE;
}
+ else {
+ msg_info_spf ("unresolvable PTR element for %s: %s", addr->spf_string,
+ rec->sender_domain);
+ }
return FALSE;
}
return TRUE;
}
+ else {
+ msg_info_spf ("unresolvable include element for %s: %s", addr->spf_string,
+ rec->sender_domain);
+ }
return FALSE;
return TRUE;
}
+ else {
+ msg_info_spf ("unresolvable redirect element for %s: %s", addr->spf_string,
+ rec->sender_domain);
+ }
return FALSE;
}
return TRUE;
}
+ else {
+ msg_info_spf ("unresolvable exists element for %s: %s", addr->spf_string,
+ rec->sender_domain);
+ }
return FALSE;
}