]> source.dussan.org Git - rspamd.git/commitdiff
Add default host and helo for a client.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 Mar 2015 13:09:15 +0000 (13:09 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 Mar 2015 13:09:45 +0000 (13:09 +0000)
src/client/rspamc.c

index 5432aeae7d676f14d7f6c742cf16c4cbb58166f6..09182f59f182350bd69b2d01f29f8913c926bd32 100644 (file)
 
 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;