Mercurial > masqmail
comparison 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 |
comparison
equal
deleted
inserted
replaced
160:60c92aa59911 | 161:6dd3a289989b |
---|---|
432 conf.alias_local_cmp = strcmp; | 432 conf.alias_local_cmp = strcmp; |
433 conf.max_defer_time = 86400 * 4; /* 4 days */ | 433 conf.max_defer_time = 86400 * 4; /* 4 days */ |
434 conf.max_msg_size = 0; /* no limit on msg size */ | 434 conf.max_msg_size = 0; /* no limit on msg size */ |
435 conf.spool_dir = SPOOL_DIR; | 435 conf.spool_dir = SPOOL_DIR; |
436 conf.mail_dir = "/var/mail"; | 436 conf.mail_dir = "/var/mail"; |
437 conf.listen_addresses = g_list_append(NULL, parse_interface("localhost", 25)); | |
437 | 438 |
438 if ((in = fopen(filename, "r")) == NULL) { | 439 if ((in = fopen(filename, "r")) == NULL) { |
439 logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno)); | 440 logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno)); |
440 return FALSE; | 441 return FALSE; |
441 } | 442 } |