Since this is now a project about a POP3 proxy, and not a IM/XMPP proxy,
the project and program name, as well as the configuration filename, the
default port and the log init function name have been changed.
-bin_PROGRAMS = improxy
-improxy_SOURCES = improxy.c log.c log.h nethook.c nethook.h proto_detect.c proto_detect.h jabber.c jabber.h jabber_server.c iksemel_extra.c iksemel_extra.h
-sysconf_DATA = improxy.conf
+bin_PROGRAMS = popproxy
+popproxy_SOURCES = popproxy.c log.c log.h nethook.c nethook.h proto_detect.c proto_detect.h jabber.c jabber.h jabber_server.c iksemel_extra.c iksemel_extra.h
+sysconf_DATA = popproxy.conf
-AC_INIT(improxy,0.1,cascardo@holoscopio.com)
+AC_INIT(popproxy,0.1,cascardo@holoscopio.com)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
AC_PROG_CC
AC_PROG_INSTALL
syslog (map_level (level), "%s", message);
}
-void im_log_init ()
+void pop_log_init ()
{
- openlog ("improxy", LOG_NDELAY | LOG_NOWAIT, LOG_DAEMON);
+ openlog ("popproxy", LOG_NDELAY | LOG_NOWAIT, LOG_DAEMON);
g_log_set_handler (NULL, G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL
| G_LOG_FLAG_RECURSION, log_func, NULL);
}
#ifndef LOG_H
#define LOG_H
-void im_log_init ();
+void pop_log_init ();
#endif
#include "nethook.h"
#include "proto_detect.h"
-#define CONFFILE SYSCONFDIR "/improxy.conf"
+#define CONFFILE SYSCONFDIR "/popproxy.conf"
void new_client (GServer* server, GConn* conn, gpointer data)
{
gint port;
gnet_init ();
- im_log_init ();
+ pop_log_init ();
configfile = CONFFILE;
opt_ctx = g_option_context_new ("");
[global]
address = 0.0.0.0
-port = 5222
+port = 110