# HG changeset patch # User markus schnalke # Date 1310545485 -7200 # Node ID 5ce2b12806798235934eb1a4f8e85cf60b53ea97 # Parent a777ddf67c86279736aad0ca418657224e4c5f1c Switched back from 127.0.0.1 to localhost Better be straight-forward than too clever. diff -r a777ddf67c86 -r 5ce2b1280679 man/masqmail.conf.5 --- a/man/masqmail.conf.5 Fri Jun 03 13:30:28 2011 +0200 +++ b/man/masqmail.conf.5 Wed Jul 13 10:24:45 2011 +0200 @@ -177,7 +177,7 @@ If your host has different names which resolve to the same IP, use only one of them, otherwise you will get an error message. -Default: \fI127.0.0.1:25\fR (i.e. only local processes can connect) +Default: \fIlocalhost:25\fR (i.e. only local processes can connect) .TP \fBdo_save_envelope_to = \fIboolean\fR diff -r a777ddf67c86 -r 5ce2b1280679 src/conf.c --- a/src/conf.c Fri Jun 03 13:30:28 2011 +0200 +++ b/src/conf.c Wed Jul 13 10:24:45 2011 +0200 @@ -459,10 +459,7 @@ conf.max_msg_size = 0; /* no limit on msg size */ conf.spool_dir = SPOOL_DIR; conf.mail_dir = "/var/mail"; - /* we use 127.0.0.1 because `localhost' could be bound to some - other IP address. This is unlikely but could be. Using - 127.0.0.1 is more safe. See mailing list for details */ - conf.listen_addresses = g_list_append(NULL, parse_interface("127.0.0.1", 25)); + conf.listen_addresses = g_list_append(NULL, parse_interface("localhost", 25)); if ((in = fopen(filename, "r")) == NULL) { logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno));