1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

Support dual-stack IPv4/IPv6 mail servers

Addresses #3

Added support by adding parallel code wherever `$PUBLIC_IP` was used.
Providing an IPv6 address is completely optional.

Playing around on my IPv6-enabled mail server revealed that — before
this change — mailinabox might try to use an IPv6 address as the value
for `$PUBLIC_IP`, which wouldn't work out well.
This commit is contained in:
Michael Kropat
2014-06-08 18:32:52 -04:00
parent ca34c1b1ae
commit ae67409603
4 changed files with 58 additions and 4 deletions

1
Vagrantfile vendored
View File

@@ -19,6 +19,7 @@ Vagrant.configure("2") do |config|
# subdomain on our justtesting.email domain so we can get
# started quickly.
export PUBLIC_IP=auto
export PUBLIC_IPV6=auto
export PUBLIC_HOSTNAME=auto-easy
export CSR_COUNTRY=US