masqmail

changeset 153:51d8eadf3c79

local_hosts defaults to `localhost' now this is a very basic setting you really should set it to something like "localhost;foo;foo.example.org"
author meillo@marmaro.de
date Wed, 07 Jul 2010 13:38:33 +0200
parents dfb6143e7832
children fc1e5aa286ed
files man/masqmail.conf.5 src/conf.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/man/masqmail.conf.5	Wed Jul 07 13:34:19 2010 +0200
     1.2 +++ b/man/masqmail.conf.5	Wed Jul 07 13:38:33 2010 +0200
     1.3 @@ -123,9 +123,11 @@
     1.4  \fBlocal_hosts = \fIlist\fR
     1.5  
     1.6  A semicolon `;' separated list of hostnames which are considered local.
     1.7 -Normally you set it to "localhost;foo;foo.bar.com" if your host has the
     1.8 +Normally you should set it to "localhost;foo;foo.bar.com" if your host has the
     1.9  fully qualified domain name `foo.bar.com'.
    1.10  
    1.11 +Default: \fIlocalhost\fR
    1.12 +
    1.13  .TP
    1.14  \fBlocal_nets = \fIlist\fR
    1.15  
     2.1 --- a/src/conf.c	Wed Jul 07 13:34:19 2010 +0200
     2.2 +++ b/src/conf.c	Wed Jul 07 13:38:33 2010 +0200
     2.3 @@ -434,6 +434,7 @@
     2.4  	conf.max_msg_size = 0; /* no limit on msg size */
     2.5  	conf.spool_dir = SPOOL_DIR;
     2.6  	conf.log_dir = LOG_DIR;
     2.7 +	conf.local_hosts = parse_list("localhost", FALSE);
     2.8  	conf.mail_dir = "/var/mail";
     2.9  
    2.10  	if ((in = fopen(filename, "r")) == NULL) {