}
static void
-rspamd_milter_process_rmilter_block (struct rspamd_milter_session *session,
+rspamd_milter_process_milter_block (struct rspamd_milter_session *session,
const ucl_object_t *obj)
{
const ucl_object_t *elt, *cur, *cur_elt;
}
/* Deal with milter headers */
- elt = ucl_object_lookup (results, "rmilter");
+ elt = ucl_object_lookup (results, "milter");
+
if (elt) {
- rspamd_milter_process_rmilter_block (session, elt);
+ rspamd_milter_process_milter_block (session, elt);
}
/* DKIM-Signature */
elt = ucl_object_lookup (results, "dkim-signature");
+
if (elt) {
hname = g_string_new (RSPAMD_MILTER_DKIM_HEADER);
hvalue = g_string_new (ucl_object_tostring (elt));