From da47ee6006ea1e93e7bbc10807aa8054ff60c570 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 5432aeae7..09182f59f 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