summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-06 15:44:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-06 15:44:36 +0100
commitad2bf4e3fba9d39b8bc01b9faa9c1e4a1fb028e8 (patch)
tree361974c58bef718df75923cfca5d768ef0b648ba /src/client
parentacd1247854f9071ad3316ce04651ec83d22720f4 (diff)
downloadrspamd-ad2bf4e3fba9d39b8bc01b9faa9c1e4a1fb028e8.tar.gz
rspamd-ad2bf4e3fba9d39b8bc01b9faa9c1e4a1fb028e8.zip
[Feature] Show DKIM signature in rspamc client
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 6c99f9984..592971b73 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -638,6 +638,10 @@ rspamc_symbols_output (FILE *out, ucl_object_t *obj)
}
}
}
+ else if (g_ascii_strcasecmp (ucl_object_key (cur), "dkim-signature") == 0) {
+ rspamd_fprintf (out, "DKIM-Signature: %s\n", ucl_object_tostring (
+ cur));
+ }
else if (cur->type == UCL_OBJECT) {
/* Parse metric */
rspamc_metric_output (out, cur);