# HG changeset patch # User meillo@marmaro.de # Date 1278502713 -7200 # Node ID 51d8eadf3c79c6c291d1d1eae103fb36faa63ded # Parent dfb6143e7832018401dbe9184a3da0f90a85f7d8 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" diff -r dfb6143e7832 -r 51d8eadf3c79 man/masqmail.conf.5 --- a/man/masqmail.conf.5 Wed Jul 07 13:34:19 2010 +0200 +++ b/man/masqmail.conf.5 Wed Jul 07 13:38:33 2010 +0200 @@ -123,9 +123,11 @@ \fBlocal_hosts = \fIlist\fR A semicolon `;' separated list of hostnames which are considered local. -Normally you set it to "localhost;foo;foo.bar.com" if your host has the +Normally you should set it to "localhost;foo;foo.bar.com" if your host has the fully qualified domain name `foo.bar.com'. +Default: \fIlocalhost\fR + .TP \fBlocal_nets = \fIlist\fR diff -r dfb6143e7832 -r 51d8eadf3c79 src/conf.c --- a/src/conf.c Wed Jul 07 13:34:19 2010 +0200 +++ b/src/conf.c Wed Jul 07 13:38:33 2010 +0200 @@ -434,6 +434,7 @@ conf.max_msg_size = 0; /* no limit on msg size */ conf.spool_dir = SPOOL_DIR; conf.log_dir = LOG_DIR; + conf.local_hosts = parse_list("localhost", FALSE); conf.mail_dir = "/var/mail"; if ((in = fopen(filename, "r")) == NULL) {