Joshua Tauberer
30c89be982
merge #771 - stop fail2ban recidive emails
...
The emails were not deliverable anyway.
2016-04-06 19:03:44 -04:00
Joshua Tauberer
853b641d1b
Merge #787 - Add SRV record to the Custom DNS page
2016-04-05 07:17:12 -04:00
Joshua Tauberer
1a1d125b31
merge hotfix release tag 'v0.17c' into master
...
The hotfixes were all already applied to master in original PRs. This merge merely brings over the CHANGELOG and the updated install instructions (v0.17b=>v0.17c), including to bootstrap.sh which is what triggers v0.17c being the latest release.
2016-04-01 08:00:10 -04:00
Joshua Tauberer
86881c0107
v0.17c
2016-04-01 07:58:28 -04:00
Joshua Tauberer
e65c77588e
hotfix merge #776 - some owncloud paths were improperly exposed over http
2016-04-01 07:58:24 -04:00
Joshua Tauberer
3843f63416
hotfix merge #772 - yodax/generic-login-message
...
Make control panel login failed messages generic - don't reveal if an email address has an account on the system.
2016-03-31 10:46:38 -04:00
Joshua Tauberer
703e6795e8
hotfix merge #769 - update the Roundcube html5_notifier plugin from version 0.6 to 0.6.2
...
fixes Roundcube getting stuck for some people, hopefully fixes #693
2016-03-31 10:46:34 -04:00
Joshua Tauberer
b3223136f4
hotfix - install roundcube from our own mirror, hosted in Josh's AWS S3 account, because sourceforge is down all the time
...
fixes #750 , see #701 , see #370
was df92a10eba
2016-03-31 10:35:48 -04:00
Joshua Tauberer
aa1fdaddaf
hotfix merge #755 - Prevent click jacking of the management interface
2016-03-31 10:34:52 -04:00
Joshua Tauberer
7fa9baf308
hotfix merge #744 - Fix for putty Line Drawing issues
2016-03-31 10:33:42 -04:00
Joshua Tauberer
36d51bbde0
merge #776 - some owncloud paths were improperly exposed over http
2016-03-31 10:20:21 -04:00
Joshua Tauberer
eb8cfaab75
changelog entry for html5_notifier bump
2016-03-31 10:20:13 -04:00
Joshua Tauberer
252c35c66e
Merge pull request #772 from yodax/generic-login-message
...
Make control panel login failed messages generic - don't reveal if an email address has an account on the system.
2016-03-26 09:22:02 -04:00
Joshua Tauberer
1e1c3cbd00
Merge pull request #768 from yodax/web
...
Static web hosting, instructions weren't rendered
2016-03-26 07:46:49 -04:00
Joshua Tauberer
611e9cc84d
merges #769 - update the Roundcube html5_notifier plugin from version 0.6 to 0.6.2
...
fixes Roundcube getting stuck for some people, hopefully fixes #693
2016-03-26 07:43:22 -04:00
Joshua Tauberer
df92a10eba
install roundcube from our own mirror, hosted in Josh's AWS S3 account, because sourceforge is down all the time
...
fixes #750 , see #701 , see #370
2016-03-23 17:31:24 -04:00
Joshua Tauberer
74a0359cec
Merge pull request #763 from Neopallium/master
...
Fix creation of custom MX records.
2016-03-23 17:22:42 -04:00
Joshua Tauberer
336b95b3d5
Merge pull request #756 from yodax/preflight_arm
...
Add a preflight check for supported architecture
2016-03-23 17:19:21 -04:00
Joshua Tauberer
56591abbc2
merge #766 - Configure bayes_file_mode in spamassassin/local.cf
2016-03-23 17:17:30 -04:00
Joshua Tauberer
313a86d0fa
add changelog entry for bayes file permissions
2016-03-23 17:16:50 -04:00
Joshua Tauberer
083e3cf755
merge #757 (squashed) - add swap space to low-memory systems
2016-03-23 17:07:40 -04:00
Joshua Tauberer
3d4cabbcd5
merge #755 - Prevent click jacking of the management interface
2016-03-23 16:53:48 -04:00
Joshua Tauberer
cdedaed3b0
merge #744 - Fix for putty Line Drawing issues
2016-03-23 16:51:01 -04:00
Joshua Tauberer
c01f903413
edit NCURSES_NO_UTF8_ACS's comment, add changelog entry
2016-03-23 16:50:27 -04:00
Joshua Tauberer
5edefbec27
merge #735 - Allow a server to be rebooted when a reboot is required
2016-03-23 16:39:40 -04:00
Joshua Tauberer
67555679bd
move the reboot button, fix grammar, refactor check for DRY, add changelog entry
2016-03-23 16:37:15 -04:00
Joshua Tauberer
546d6f0026
merge #674 - Support munin's cgi dynazoom
2016-03-23 16:10:30 -04:00
Joshua Tauberer
bd86d44c8b
simplify the munin_cgi wrapper / add changelog entry
2016-03-23 16:09:19 -04:00
Joshua Tauberer
65add24e2a
Merge pull request #751 from yodax/wgetrc
...
Add a preflight check for ~/.wgetrc
2016-03-11 10:29:24 -05:00
Joshua Tauberer
49ea9cddd1
ssl_certificates: also forgot to catch free_tls_certificates.client.RateLimited
2016-03-06 14:39:34 -05:00
Joshua Tauberer
f78f039776
merge point release v0.17b
...
ownCloud moved their source code to a new location, breaking our installation script.
2016-03-01 07:24:06 -05:00
Joshua Tauberer
d881487d68
v0.17b
2016-03-01 07:23:20 -05:00
Joshua Tauberer
33d07b2b54
ownCloud moved their source code to a new location, breaking our installation script.
...
Fixes #741 .
2016-03-01 07:23:16 -05:00
Joshua Tauberer
3bbec18ac6
Merge pull request #734 from yodax/dynamicpool
...
Create a temporary multiprocessing pool
2016-02-28 12:39:11 -05:00
Joshua Tauberer
fc5c198646
Merge pull request #728 from yodax/noexec
...
Add check to preflight for exec on tmp
2016-02-28 12:38:43 -05:00
Joshua Tauberer
2be373fd06
Merge pull request #727 from yodax/userlist
...
Allow files in /home/user-data/mail/mailboxes
2016-02-28 12:33:38 -05:00
Joshua Tauberer
f9ca440ce8
v0.17
2016-02-25 18:36:14 -05:00
Joshua Tauberer
d880f088be
fix changelog description of a bug, see #725
2016-02-23 10:24:26 -05:00
Joshua Tauberer
5cabfd591b
(re-fix) mail sent from an address on a subdomain of a domain hosted by the box (a non-zone domain) would never be DKIM-signed because only zones were included in the openDKIM configuration, mistakenly
...
This was originally fixed in 143bbf37f4 (February 16, 2015). Then I broke it in 7a93d219ef (November 2015) while doing some refactoring ahead of v0.15.
2016-02-23 10:16:04 -05:00
Joshua Tauberer
af80849857
Merge pull request #732 from yodax/memory
...
Reduce percentages for required free memory checks
2016-02-22 15:02:50 -05:00
Joshua Tauberer
4b2e48f2c0
Merge pull request #726 from yodax/login
...
When previous panel was login, move to system_status
2016-02-22 14:44:23 -05:00
Joshua Tauberer
eb545d7941
Merge pull request #733 from yodax/daemons
...
Reduce number of processes in the pool to 5
2016-02-22 14:42:20 -05:00
Joshua Tauberer
3d933c16d0
Merge pull request #718 from shakaran/patch-1
...
Fix small typo in comments
2016-02-18 17:49:35 -05:00
Joshua Tauberer
23ecff04b8
the logic in 4ed23f44e6 for taking backups more often was partly backward
2016-02-18 07:50:59 -05:00
Joshua Tauberer
a0bae5db5c
update changelog
2016-02-18 07:18:51 -05:00
Joshua Tauberer
86368ed165
clean up apt_install lines and comments in setup/management.sh
2016-02-18 06:59:38 -05:00
Joshua Tauberer
5e4c0ed825
Revert "install boto (py2) via the package manager, not pip (used by duplicity)"
...
This reverts commit b32cb6229b .
Fixes #627 . Fixes #653 . Closes #714 .
2016-02-18 06:54:23 -05:00
Joshua Tauberer
ffa9dc5d67
Merge pull request #716 from pra85/patch-1
...
Fix a typo in Readme
2016-02-18 06:44:25 -05:00
Joshua Tauberer
36cb2ef41d
missing elif
2016-02-16 09:11:54 -05:00
Joshua Tauberer
098e250cc4
bump free_tls_certificates, fixes #695 , if a challenge fails dont cache it permanently (or at all)
2016-02-16 09:08:58 -05:00
Joshua Tauberer
3d5a35b184
typo
2016-02-15 18:47:19 -05:00
Joshua Tauberer
87d3f2641d
merge #685 - tweak postfix mail queue/warn/bounce times
2016-02-15 18:44:56 -05:00
Joshua Tauberer
c6c75c5a17
document the default values for delay_warning_time, maximal_queue_lifetime, bounce_queue_lifetime
2016-02-15 18:38:55 -05:00
Joshua Tauberer
1ba44b02d4
forgot to catch free_tls_certificates.client.ChallengeFailed
...
Provisioning could crash if, e.g., the DNS we see is different from the DNS Let's Encrypt sees.
see #695 , probably fixes it
2016-02-15 18:22:16 -05:00
Joshua Tauberer
6fd4cd85ca
Merge pull request #712 from s4wny/patch-2
...
Added a warning to the installation / setup script
2016-02-14 14:29:13 -05:00
Joshua Tauberer
2f24328608
before the user agrees to Let's Encrypt's ToS the admin could get a nightly email with weird interactive text
...
Made a mistake refactoring the headless variable earlier.
fixes #696
2016-02-13 12:38:16 -05:00
Joshua Tauberer
8ea42847da
nightly status checks could fail if any domains had non-ASCII characters
...
https://discourse.mailinabox.email/t/status-check-emails-empty-after-upgrading-to-v0-16/1082/3
A user on that thread suggests an alternate solution, adding `PYTHONIOENCODING=utf-8` to `/etc/environment`. Python docs say that affects stdin/out/err. But we also use these environment variables elsewhere to ensure that config files we read/write are opened with UTF8 too. Maybe all that can be simplified too.
2016-02-13 11:51:06 -05:00
Joshua Tauberer
4ed23f44e6
take a full backup more often so we don't keep backups around for so long
2016-02-05 11:08:33 -05:00
Joshua Tauberer
178527dab1
convert the backup increment time to the local timezone, fixes #700
...
Duplicity gives times in UTC. We were assuming times were in local time.
2016-02-05 08:58:07 -05:00
Joshua Tauberer
f5c376dca8
Merge pull request #699 from BastianPoe/patch-1
...
Fix: Correct IP is reported when using custom DNS
2016-02-04 15:42:10 -05:00
Joshua Tauberer
4e18f66db6
tls control panel: only show integral seconds while waiting the requested time from Lets Encrypt, in case we got back a non-integral number of seconds to wait
2016-02-03 08:21:22 -05:00
Joshua Tauberer
77937df955
bind postfix to the right network interface when sending outbound mail so that SPF checks on the receiving end will pass
...
fixes #3 (again)
2016-02-01 12:36:52 -05:00
Joshua Tauberer
4db8efa0df
bump Roundcube to 1.1.4
2016-02-01 12:31:42 -05:00
Joshua Tauberer
66c80bd16a
Merge pull request #688 from OmgImAlexis/patch-1
...
fixed typo
2016-01-30 19:31:47 -05:00
Joshua Tauberer
83ffc99b9c
change the public URL of bootstrap.sh to setup.sh
2016-01-30 11:19:51 -05:00
Joshua Tauberer
3615772b2d
v0.16
2016-01-30 11:15:14 -05:00
Joshua Tauberer
78729bd277
update CHANGELOG
2016-01-27 20:23:41 -05:00
Joshua Tauberer
62b6117638
Merge pull request #675 from jeroenj/patch-1
...
Removes border and rounded corners from navbar
2016-01-14 09:53:36 -05:00
Joshua Tauberer
faaa74c3a7
tls: hide extra reasons why domains aren't getting a new certificate during setup
2016-01-14 07:21:08 -05:00
Joshua Tauberer
2ad7d0830e
add exception handling for what_version_is_this, fixes #659
2016-01-09 09:23:07 -05:00
Joshua Tauberer
5045e206c2
roundcube file ownership should not preserve uid/gid from the release tarball, tar (when run as root) should always extract using --no-same-owner, fixes #667
2016-01-09 09:17:45 -05:00
Joshua Tauberer
07f9228694
Merge branch 'letsencrypt' for automatic provisioning of TLS certificates from Let's Encrypt
2016-01-09 08:58:35 -05:00
Joshua Tauberer
50b5b91216
Merge release branch v0.15a
...
v0.15a
Sending mail through Exchange/ActiveSync (Z-Push) had been broken since v0.14. This is now fixed.
2016-01-09 08:48:37 -05:00
Joshua Tauberer
72bfc0915c
v0.15a (January 9, 2016)
...
Sending mail through Exchange/ActiveSync (Z-Push) had been broken since v0.14. This is now fixed.
2016-01-09 08:44:51 -05:00
Joshua Tauberer
413af1fe67
Merge pull request #668 from guyzmo/z-push-smtp-fix
...
Fixing issue making it impossible to send mail from Z-Push
2016-01-09 08:41:59 -05:00
Joshua Tauberer
5b135738b4
Merge pull request #661 from baltoche/master
...
Gandi tells me that .be TLD only supports algorithms 8 and 10 for DNSSEC
2016-01-05 11:10:21 -05:00
Joshua Tauberer
2b9fb9643d
changelog entries for lets encrypt
2016-01-04 18:43:17 -05:00
Joshua Tauberer
2882e63dd8
second part of provisioning tls certificates from the control panel
2016-01-04 18:43:17 -05:00
Joshua Tauberer
812ef024ef
status checks: check that the non-primary domains also resolve over IPv6, if configured
2016-01-04 18:43:17 -05:00
Joshua Tauberer
40cdc5aa30
status checks: if a domain's DNS isnt working dont check the TLS certificate because we cant automatically provision one now anyway
2016-01-04 18:43:17 -05:00
Joshua Tauberer
b8d6226a9a
when provisioning tls certs from the command line, specify domain names as command line arguments to force getting certs for those domains
2016-01-04 18:43:17 -05:00
Joshua Tauberer
bac15d3919
provision tls certificates from the control panel
2016-01-04 18:43:16 -05:00
Joshua Tauberer
4b4f670adf
s/SSL/TLS/ in user-visible text throughout the project
2016-01-04 18:43:16 -05:00
Joshua Tauberer
b1b57f9bfd
don't try to get certs for IDNA domains and report all reasons for not fetching a certificate
...
fixes #646
2016-01-04 18:43:16 -05:00
Joshua Tauberer
b6933a73fa
provision and install free SSL certificates from Let's Encrypt
2016-01-04 18:43:16 -05:00
Joshua Tauberer
5033042b8c
backups: email the administrator when there's a problem
...
Refactor by moving the email-the-admin code out of the status checks and into a new separate tool.
This is why I suppressed non-error output of the backups last commit - so it doesn't send a daily email.
2016-01-04 18:43:02 -05:00
Joshua Tauberer
89a46089ee
backups: suppress all output except errors
2016-01-04 18:43:02 -05:00
Joshua Tauberer
e288d7730b
backups: trap an error that occurs as early as getting the current backup status
2016-01-04 18:43:02 -05:00
Joshua Tauberer
5ae75e723c
Merge pull request #654 from ChlorideCull/cull-fix-typo
...
Fix miscellaneous typos in comments
2016-01-03 10:53:25 -05:00
Joshua Tauberer
06a0e7f3fe
merge #584 - Add checks to the management interface to report memory usage
2016-01-01 18:13:21 -05:00
Joshua Tauberer
a9cd72bbf9
tighten the status text strings for free memory, add changelog entry
2016-01-01 18:12:36 -05:00
Joshua Tauberer
f184a74fa0
merge #647 - open the port for Sieve
2016-01-01 17:53:40 -05:00
Joshua Tauberer
682b1dea5e
changelog/status checks updated for opening the sieve port
2016-01-01 17:53:05 -05:00
Joshua Tauberer
3fbbf56986
v0.15 (January 1, 2016)
...
-----------------------
Mail:
* Updated Roundcube to version 1.1.3.
* Auto-create aliases for abuse@, as required by RFC2142.
* The DANE TLSA record is changed to use the certificate subject public key rather than the whole certificate, which means the record remains valid after certificate changes (so long as the private key remains the same, which it does for us).
Control panel:
* When IPv6 is enabled, check that system services are accessible over IPv6 too, that the box's hostname resolves over IPv6, and that reverse DNS is setup correctly for IPv6.
* Explanatory text for setting up secondary nameserver is added/fixed.
* DNS checks now have a timeout in case a DNS server is not responding, so the checks don't stall indefinitely.
* Better messages if external DNS is used and, weirdly, custom secondary nameservers are set.
* Add POP to the mail client settings documentation.
* The box's IP address is added to the fail2ban whitelist so that the status checks don't trigger the machine banning itself, which results in the status checks showing services down even though they are running.
* For SSL certificates, rather than asking you what country you are in during setup, ask at the time a CSR is generated. The default system self-signed certificate now omits a country in the subject (it was never needed). The CSR_COUNTRY Mail-in-a-Box setting is dropped entirely.
System:
* Nightly backups and system status checks are now moved to 3am in the system's timezone.
* fail2ban's recidive jail is now active, which guards against persistent brute force login attacks over long periods of time.
* Setup (first run only) now asks for your timezone to set the system time.
* The Exchange/ActiveSync server is now taken offline during nightly backups (along with SMTP and IMAP).
* The machine's random number generator (/dev/urandom) is now seeded with Ubuntu Pollinate and a blocking read on /dev/random.
* DNSSEC key generation during install now uses /dev/urandom (instead of /dev/random), which is faster.
* The $STORAGE_ROOT/ssl directory is flattened by a migration script and the system SSL certificate path is now a symlink to the actual certificate.
* If ownCloud sends out email, it will use the box's administrative address now (admin@yourboxname).
* Z-Push (Exchange/ActiveSync) logs now exclude warnings and are now rotated to save disk space.
* Fix pip command that might have not installed all necessary Python packages.
* The control panel and backup would not work on Google Compute Engine because GCE installs a conflicting boto package.
* Added a new command `management/backup.py --restore` to restore files from a backup to a target directory (command line arguments are passed to `duplicity restore`).
2016-01-01 17:47:18 -05:00
Joshua Tauberer
362bc060f6
fix merge mistake ( 4305a71916)
2015-12-26 14:12:15 -05:00
Joshua Tauberer
c8fef45362
v0.15-rc1
2015-12-26 14:01:00 -05:00
Joshua Tauberer
8d19eade85
clarify the backup days option, fixes #570
2015-12-26 12:04:26 -05:00
Joshua Tauberer
d53332b7cf
drop the CSR_COUNTRY setting and ask within the control panel
2015-12-26 11:48:23 -05:00
Joshua Tauberer
392d33b902
change DANE TLSA record to hash the subject public key rather than the whole certificate, which means it is good for any certificate tied to the same private key
...
Better for short-lived certificates. This is especially in preparation to using certificates from Let's Encrypt.
see #268
2015-12-26 11:01:46 -05:00
Joshua Tauberer
4305a71916
merge #587 - move backup and nightly status checks to 3am in system time
...
previously these were run in a cron.daily script which per crontab is run at 6:25 am local time
2015-12-26 08:42:58 -05:00