1. 08 May, 2015 1 commit
    • Joshua Tauberer's avatar
      v0.09 · 837d327c
      Joshua Tauberer authored
      =====
      
      May 8, 2015
      
      Mail:
      
      * Spam checking is now performed on messages larger than the previous limit of 64KB.
      * POP3S is now enabled (port 995).
      * Roundcube is updated to version 1.1.1.
      * Minor security improvements (more mail headers with user agent info are anonymized; crypto settings were tightened).
      
      ownCloud:
      
      * Downloading files you uploaded to ownCloud broke because of a change in ownCloud 8.
      
      DNS:
      
      * Internationalized Domain Names (IDNs) should now work in email. If you had custom DNS or custom web settings for internationalized domains, check that they are still working.
      * It is now possible to set multiple TXT and other types of records on the same domain in the control panel.
      * The custom DNS API was completely rewritten to support setting multiple records of the same type on a domain. Any existing client code using the DNS API will have to be rewritten. (Existing code will just get 404s back.)
      * On some systems the `nsd` service failed to start if network inferfaces were not ready.
      
      System / Control Panel:
      
      * In order to guard against misconfiguration that can lead to domain control validation hijacking, email addresses that begin with admin, administrator, postmaster, hostmaster, and webmaster can no longer be used for (new) mail user accounts, and aliases for these addresses may direct mail only to the box's administrator(s).
      * Backups now use duplicity's built-in gpg symmetric AES256 encryption rather than my home-brewed encryption. Old backups will be incorporated inside the first backup after this update but then deleted from disk (i.e. your backups from the previous few days will be backed up).
      * There was a race condition between backups and the new nightly status checks.
      * The control panel would sometimes lock up with an unnecessary loading indicator.
      * You can no longer delete your own account from the control panel.
      
      Setup:
      
      * All Mail-in-a-Box release tags are now signed on github, instructions for verifying the signature are added to the README, and the integrity of some packages downloaded during setup is now verified against a SHA1 hash stored in the tag itself.
      * Bugs in first user account creation were fixed.
      837d327c
  2. 06 May, 2015 1 commit
  3. 05 May, 2015 2 commits
    • Joshua Tauberer's avatar
      drop legacy, export-grade, and anonymous ciphers from SMTP (port 25, opportunistic) · 7ca42489
      Joshua Tauberer authored
      Even though SMTP (on port 25) is typically opportunistic and a MitM attack can't be prevented, we may as well only offer ciphers that provide some level of security. If a client is so old or misconfigured that it doesn't support newer ciphers, it should hopefully fall back to a non-TLS connection.
      
      Postfix's default was basically anything goes (anonymous and 40-bit ciphers!). Google's MTA's only offer ciphers at 112 bits at greater, and this change approximates that with Postfix's "medium" setting.
      
      Fixes #371
      7ca42489
    • Joshua Tauberer's avatar
      bad ciphers were allowed in smtp submssion · 8c6363f7
      Joshua Tauberer authored
      This disallows aNULL and other bad ciphers in the Postfix submission server.
      
      I missed an option in 45e93f7d recommended by the blog post I was reading.
      
      Fixes #389.
      8c6363f7
  4. 04 May, 2015 3 commits
  5. 03 May, 2015 9 commits
  6. 29 Apr, 2015 2 commits
  7. 28 Apr, 2015 3 commits
  8. 21 Apr, 2015 1 commit
  9. 20 Apr, 2015 1 commit
  10. 19 Apr, 2015 2 commits
  11. 16 Apr, 2015 2 commits
  12. 11 Apr, 2015 8 commits
  13. 09 Apr, 2015 5 commits
    • Joshua Tauberer's avatar
    • Joshua Tauberer's avatar
      prevent accidental domain control validation hijacking by limiting use of... · 072aeca1
      Joshua Tauberer authored
      prevent accidental domain control validation hijacking by limiting use of admin@ etc. addresses in users/aliases
      072aeca1
    • Joshua Tauberer's avatar
    • Joshua Tauberer's avatar
      store IDNs (internationalized domain names) in IDNA (ASCII) in our database, not in Unicode · 322a5779
      Joshua Tauberer authored
      I changed my mind. In 1bf8f199 I allowed Unicode domain names to go into the database. I thought that was nice because it's what the user *means*. But it's not how the web works. Web and DNS were working, but mail wasn't. Postfix (as shipped with Ubuntu 14.04 without support for SMTPUTF8) exists in an ASCII-only world. When it goes to the users/aliases table, it queries in ASCII (IDNA) only and had no hope of delivering mail if the domain was in full Unicode in the database. I was thinking ahead to SMTPUTF8, where we *could* put Unicode in the database (though that would prevent IDNA-encoded addressing from being deliverable) not realizing it isn't well supported yet anyway.
      
      It's IDNA that goes on the wire in most places anyway (SMTP without SMTPUTF8 (and therefore how Postfix queries our users/aliases tables), DNS zone files, nginx config, CSR 'CN' field, X509 Common Name and Subject Alternative Names fields), so we should really be talking in terms of IDNA (i.e. ASCII).
      
      This partially reverts commit 1bf8f199, where I added a lot of Unicode=>IDNA conversions when writing configuration files. Instead I'm doing Unicode=>IDNA before email addresses get into the users/aliases table. Now we assume the database uses IDNA-encoded ASCII domain names. When adding/removing aliases, addresses are converted to ASCII (w/ IDNA). User accounts must be ASCII-only anyway because of Dovecot's auth limitations, so we don't do any IDNA conversion (don't want to change the user's login info behind their back!). The aliases control panel page converts domains back to Unicode for display to be nice. The status checks converts the domains to Unicode just for the output headings.
      
      A migration is added to convert existing aliases with Unicode domains into IDNA. Any custom DNS or web settings with Unicode may need to be changed.
      
      Future support for SMTPUTF8 will probably need to add columns in the users/aliases table so that it lists both IDNA and Unicode forms.
      322a5779
    • Joshua Tauberer's avatar
      e41df28b