1. 08 Jun, 2014 3 commits
    • Michael Kropat's avatar
      Populate default values before echoing help text · fb957d2d
      Michael Kropat authored
      Testing showed that it may take a few seconds for the default values to
      populate.  If the help text is shown, “Enter the public IP address…,”
      but no prompt is shown, the user may get confused and try to enter the
      IP address before mailinabox has had a chance to figure out and display
      a suitable default value.
      fb957d2d
    • Michael Kropat's avatar
      Support dual-stack IPv4/IPv6 mail servers · ae674096
      Michael Kropat authored
      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.
      ae674096
    • Joshua Tauberer's avatar
      Merge pull request #68 from mkropat/protect-key · ca34c1b1
      Joshua Tauberer authored
      Protect private key from being world-readable
      ca34c1b1
  2. 07 Jun, 2014 4 commits
    • Michael Kropat's avatar
      Protect private key from being world-readable · 42bf6240
      Michael Kropat authored
      Postfix, Dovecot, and nginx all read the key file while they're running
      as root — before dropping permissions — so no authorization is needed on
      the private key file beyond being root-readable.
      42bf6240
    • Joshua Tauberer's avatar
      improve hostname/IP default values · 3fa8e384
      Joshua Tauberer authored
      Merges branch 'mkropat-populate-hostname-ip'
      3fa8e384
    • Joshua Tauberer's avatar
      add comments to the new get_default_hostname etc. functions, and simplify the... · b60ca25e
      Joshua Tauberer authored
      add comments to the new get_default_hostname etc. functions, and simplify the logic in the Vagrantfile and start.sh so that we always call into the same two functions
      b60ca25e
    • Michael Kropat's avatar
      Improve hostname/IP default values · 43ef49c7
      Michael Kropat authored
      Default IP+hostname values were incorrect for my VPS provider. I
      improved the detection, which should give correct results results for
      almost any provider. Specific issues addressed:
      
      - icanhazip.com detection was only enabled in non-interactive mode
      - `hostname` is by convention a short (non-fqdn) name in Ubuntu
      - `hostname --fqdn` fails if provider does not pouplate `hosts` file
      - `hostname -i` fails if provider does not populate `hosts` file
      - `curl` without `--fail` will someday return crazy results
        when icanhazip.com returns 500 errors or similar
      43ef49c7
  3. 06 Jun, 2014 6 commits
  4. 05 Jun, 2014 2 commits
  5. 04 Jun, 2014 9 commits
  6. 03 Jun, 2014 8 commits
  7. 23 May, 2014 1 commit
  8. 17 May, 2014 1 commit
  9. 15 May, 2014 2 commits
  10. 14 May, 2014 1 commit
  11. 12 May, 2014 1 commit
  12. 10 May, 2014 2 commits