aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-23 15:40:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-23 15:40:48 +0100
commit0f67ab52981f2c96abd2a43b9768b8e2df1eb777 (patch)
treefbf84cc57406e7df1f5c54b02de108ac48a1177e /src/client
parenta8780ddc7c628bd2f5be3d7d795ac347bfd9a25c (diff)
downloadrspamd-0f67ab52981f2c96abd2a43b9768b8e2df1eb777.tar.gz
rspamd-0f67ab52981f2c96abd2a43b9768b8e2df1eb777.zip
[Feature] Add user-agent for rspamc
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 7a3e2061c..1d2dd39ca 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -433,6 +433,7 @@ add_options (GQueue *opts)
GString *numbuf;
gchar **hdr, **rcpt;
+ ADD_CLIENT_HEADER (opts, "User-Agent", "rspamc");
if (ip != NULL) {
ADD_CLIENT_HEADER (opts, "Ip", ip);
}