From: Vsevolod Stakhov Date: Fri, 13 Mar 2015 13:09:15 +0000 (+0000) Subject: Add default host and helo for a client. X-Git-Tag: 0.8.3~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da47ee6006ea1e93e7bbc10807aa8054ff60c570;p=rspamd.git Add default host and helo for a client. --- 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;