diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-06 15:44:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-06 15:44:36 +0100 |
commit | ad2bf4e3fba9d39b8bc01b9faa9c1e4a1fb028e8 (patch) | |
tree | 361974c58bef718df75923cfca5d768ef0b648ba /src/client | |
parent | acd1247854f9071ad3316ce04651ec83d22720f4 (diff) | |
download | rspamd-ad2bf4e3fba9d39b8bc01b9faa9c1e4a1fb028e8.tar.gz rspamd-ad2bf4e3fba9d39b8bc01b9faa9c1e4a1fb028e8.zip |
[Feature] Show DKIM signature in rspamc client
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamc.c | 4 |
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); |