masqmail

changeset 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 a777ddf67c86
children f899ca0835a8
files man/masqmail.conf.5 src/conf.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line diff
     1.1 --- a/man/masqmail.conf.5	Fri Jun 03 13:30:28 2011 +0200
     1.2 +++ b/man/masqmail.conf.5	Wed Jul 13 10:24:45 2011 +0200
     1.3 @@ -177,7 +177,7 @@
     1.4  If your host has different names which resolve to the same IP,
     1.5  use only one of them, otherwise you will get an error message.
     1.6  
     1.7 -Default: \fI127.0.0.1:25\fR (i.e. only local processes can connect)
     1.8 +Default: \fIlocalhost:25\fR (i.e. only local processes can connect)
     1.9  
    1.10  .TP
    1.11  \fBdo_save_envelope_to = \fIboolean\fR
     2.1 --- a/src/conf.c	Fri Jun 03 13:30:28 2011 +0200
     2.2 +++ b/src/conf.c	Wed Jul 13 10:24:45 2011 +0200
     2.3 @@ -459,10 +459,7 @@
     2.4  	conf.max_msg_size = 0; /* no limit on msg size */
     2.5  	conf.spool_dir = SPOOL_DIR;
     2.6  	conf.mail_dir = "/var/mail";
     2.7 -	/* we use 127.0.0.1 because `localhost' could be bound to some
     2.8 -	   other IP address. This is unlikely but could be. Using
     2.9 -	   127.0.0.1 is more safe. See mailing list for details */
    2.10 -	conf.listen_addresses = g_list_append(NULL, parse_interface("127.0.0.1", 25));
    2.11 +	conf.listen_addresses = g_list_append(NULL, parse_interface("localhost", 25));
    2.12  
    2.13  	if ((in = fopen(filename, "r")) == NULL) {
    2.14  		logwrite(LOG_ALERT, "could not open config file %s: %s\n", filename, strerror(errno));