Mercurial > masqmail
comparison src/conf.c @ 329:5ce2b1280679
Switched back from 127.0.0.1 to localhost
Better be straight-forward than too clever.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 13 Jul 2011 10:24:45 +0200 |
parents | d41fb3b9ed3e |
children | f899ca0835a8 |
comparison
equal
deleted
inserted
replaced
328:a777ddf67c86 | 329:5ce2b1280679 |
---|---|
457 conf.localpartcmp = strcmp; | 457 conf.localpartcmp = strcmp; |
458 conf.max_defer_time = 86400 * 4; /* 4 days */ | 458 conf.max_defer_time = 86400 * 4; /* 4 days */ |
459 conf.max_msg_size = 0; /* no limit on msg size */ | 459 conf.max_msg_size = 0; /* no limit on msg size */ |
460 conf.spool_dir = SPOOL_DIR; | 460 conf.spool_dir = SPOOL_DIR; |
461 conf.mail_dir = "/var/mail"; | 461 conf.mail_dir = "/var/mail"; |
462 /* we use 127.0.0.1 because `localhost' could be bound to some | 462 conf.listen_addresses = g_list_append(NULL, parse_interface("localhost", 25)); |
463 other IP address. This is unlikely but could be. Using | |
464 127.0.0.1 is more safe. See mailing list for details */ | |
465 conf.listen_addresses = g_list_append(NULL, parse_interface("127.0.0.1", 25)); | |
466 | 463 |
467 if ((in = fopen(filename, "r")) == NULL) { | 464 if ((in = fopen(filename, "r")) == NULL) { |
468 logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno)); | 465 logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno)); |
469 return FALSE; | 466 return FALSE; |
470 } | 467 } |