From 767d938586617fa66cef270b37b7e89a7c78830c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 13 Mar 2015 13:09:15 +0000 Subject: [PATCH] Add default host and helo for a client. --- src/client/rspamc.c | 6 +++--- 1 file 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; -- 2.39.5