1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00
mailinabox/setup
Joshua Tauberer 6d259a6e12 use "127.0.0.1" throughout rather than mixing use of an IP address and "localhost"
On some machines localhost is defined as something other than 127.0.0.1, and if we mix "127.0.0.1" and "localhost" then some connections won't be to to the address a service is actually running on.

This was the case with DKIM: It was running on "localhost" but Postfix was connecting to it at 127.0.0.1. (https://discourse.mailinabox.email/t/opendkim-is-not-running-port-8891/1188/12.)

I suppose "localhost" could be an alias to an IPv6 address? We don't really want local services binding on IPv6, so use "127.0.0.1" to be explicit and don't use "localhost" to be sure we get an IPv4 address.

Fixes #797
2016-05-06 09:10:38 -04:00
..
bootstrap.sh v0.17c 2016-04-01 07:58:28 -04:00
dkim.sh use "127.0.0.1" throughout rather than mixing use of an IP address and "localhost" 2016-05-06 09:10:38 -04:00
dns.sh use /dev/urandom for DNSSEC key generation, fixes #596, partially reverts #115 (69f0e1d07a) 2015-11-19 07:00:33 -05:00
firstuser.sh suppress some status output regarding new automatic aliases on first installation 2015-08-19 16:30:32 -04:00
functions.sh silence all of the installing/already installed package messages on installation 2015-08-19 15:58:35 -04:00
mail-dovecot.sh Allow remote client for Sieve 2015-12-31 18:22:31 +01:00
mail-postfix.sh merge #685 - tweak postfix mail queue/warn/bounce times 2016-02-15 18:44:56 -05:00
mail-users.sh various cleanup related to the new permitted_senders column for aliases 2015-08-14 23:05:08 +00:00
management.sh clean up apt_install lines and comments in setup/management.sh 2016-02-18 06:59:38 -05:00
migrate.py make the system SSL certificate a symlink so we never have to replace a certificate file, and flatten the directory structure of user-installed certificates 2015-11-29 02:02:01 +00:00
munin.sh needed libcgi-fast-perl and chown log files 2016-01-13 23:55:45 -05:00
network-checks.sh prevent apt from asking the user any questions 2015-02-13 13:41:52 +00:00
owncloud.sh use "127.0.0.1" throughout rather than mixing use of an IP address and "localhost" 2016-05-06 09:10:38 -04:00
preflight.sh Improve preflight message 2016-03-14 07:14:09 +01:00
questions.sh spelling box->Box 2016-02-14 20:24:00 +01:00
spamassassin.sh Configure bayes_file_mode in spamassassin/local.cf 2016-03-20 05:55:58 +01:00
ssl.sh drop the CSR_COUNTRY setting and ask within the control panel 2015-12-26 11:48:23 -05:00
start.sh use "127.0.0.1" throughout rather than mixing use of an IP address and "localhost" 2016-05-06 09:10:38 -04:00
system.sh Remove comment about loopback interface 2016-04-07 10:55:20 +02:00
web.sh move nginx-ssl to be a global configuration file rather than including it into each server block 2015-09-27 17:13:11 +00:00
webmail.sh use "127.0.0.1" throughout rather than mixing use of an IP address and "localhost" 2016-05-06 09:10:38 -04:00
zpush.sh Change Z-Push log level to error 2015-11-18 21:39:17 +01:00