# HG changeset patch # User meillo@marmaro.de # Date 1278582787 -7200 # Node ID 6dd3a289989bbf007a55c77208f5b20e99a5e97d # Parent 60c92aa599114fa2f91ad5158be09ed436d299be listen per default on localhost:25 now this is a typical setup for the security POV it might be better to not listen on any interface by default, but listening on local interfaces seems to not be a problem diff -r 60c92aa59911 -r 6dd3a289989b man/masqmail.conf.5 --- a/man/masqmail.conf.5 Thu Jul 08 11:27:03 2010 +0200 +++ b/man/masqmail.conf.5 Thu Jul 08 11:53:07 2010 +0200 @@ -185,6 +185,8 @@ 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: \fIlocalhost:25\fR (i.e. only local processes can connect) + .TP \fBdo_save_envelope_to = \fIboolean\fR diff -r 60c92aa59911 -r 6dd3a289989b src/conf.c --- a/src/conf.c Thu Jul 08 11:27:03 2010 +0200 +++ b/src/conf.c Thu Jul 08 11:53:07 2010 +0200 @@ -434,6 +434,7 @@ conf.max_msg_size = 0; /* no limit on msg size */ conf.spool_dir = SPOOL_DIR; conf.mail_dir = "/var/mail"; + 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));