masqmail

diff src/conf.c @ 161:6dd3a289989b

listen per default on localhost:25 now this is a typical setup for the security POV it might be better to not listen on any interface by default, but listening on local interfaces seems to not be a problem
author meillo@marmaro.de
date Thu, 08 Jul 2010 11:53:07 +0200
parents 586f001f5bbd
children 5b621742b2e7
line diff
     1.1 --- a/src/conf.c	Thu Jul 08 11:27:03 2010 +0200
     1.2 +++ b/src/conf.c	Thu Jul 08 11:53:07 2010 +0200
     1.3 @@ -434,6 +434,7 @@
     1.4  	conf.max_msg_size = 0; /* no limit on msg size */
     1.5  	conf.spool_dir = SPOOL_DIR;
     1.6  	conf.mail_dir = "/var/mail";
     1.7 +	conf.listen_addresses = g_list_append(NULL, parse_interface("localhost", 25));
     1.8  
     1.9  	if ((in = fopen(filename, "r")) == NULL) {
    1.10  		logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno));