summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-13 13:09:15 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-13 13:09:15 +0000
commit767d938586617fa66cef270b37b7e89a7c78830c (patch)
treecfbe42b72bfb944f0b8d337ed15481a451f8d07f /src/client
parent5c66e1f907dd39f0b24e7ffad16a02f022f427da (diff)
downloadrspamd-767d938586617fa66cef270b37b7e89a7c78830c.tar.gz
rspamd-767d938586617fa66cef270b37b7e89a7c78830c.zip
Add default host and helo for a client.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 42b995630..d5accd8a8 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -36,13 +36,13 @@
static gchar *connect_str = "localhost";
static gchar *password = NULL;
-static gchar *ip = NULL;
+static gchar *ip = "127.0.0.1";
static gchar *from = NULL;
static gchar *deliver_to = NULL;
static gchar *rcpt = NULL;
static gchar *user = NULL;
-static gchar *helo = NULL;
-static gchar *hostname = NULL;
+static gchar *helo = "localhost.localdomain";
+static gchar *hostname = "localhost";
static gchar *classifier = "bayes";
static gchar *local_addr = NULL;
static gint weight = 0;