]> 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:15 +0000 (13:09 +0000)
src/client/rspamc.c

index 42b995630a2272484fd0e9d7e03c888d1298b46d..d5accd8a80f6832931ce25bf20c8bca9d3e87a13 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;