1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-27 03:07:04 +00:00
Commit Graph

2013 Commits

Author SHA1 Message Date
Joshua Tauberer
1db0dd3092 system.sh: make apt-get upgrade quieter 2014-05-06 09:57:11 -04:00
Joshua Tauberer
fbd7d731e8 docker: fix startup scripts for nsd and dovecot to run them in the foreground 2014-05-06 09:56:20 -04:00
Joshua Tauberer
0659a0bb16 Merge branch 'better_docker' of https://github.com/pjz/mailinabox into pjz-better_docker
our trees had diverged, various conflicts resolved
2014-05-02 14:54:21 -04:00
Joshua Tauberer
189dd6000e docker: re-run the start script on the container's first run because it won't know its hostname or IP address until then 2014-05-02 14:23:56 -04:00
Joshua Tauberer
3fdcbe542f don't ask the user to create an email account if the shell is non-interactive and provide a better default for the domain name 2014-05-02 14:22:59 -04:00
Joshua Tauberer
89bb5da986 dns: missing dependency on bc 2014-05-02 14:18:26 -04:00
Paul Jimenez
5ceec760b9 Better Dockerfile support 2014-05-02 13:03:37 -04:00
Joshua Tauberer
acec82950b docker: disable the ufw firewall because it is not supported in a docker container and produces a lot of error output (by reverting a510e08f9e and setting an environment variable) 2014-05-01 22:39:45 -04:00
Joshua Tauberer
2f6e0ded7a docker: cleanup comments and make the installation of sshd quieter 2014-05-01 22:36:14 -04:00
Joshua Tauberer
f0afa7e8dc docker: add some example run commands for debugging a container or having it take over host ports 2014-05-01 22:29:00 -04:00
Joshua Tauberer
89240a4fab docker: do ADD container/docker later on so that the Dockerfile can be updated and still reuse a cached image after the major setup steps are done 2014-05-01 22:18:45 -04:00
Joshua Tauberer
16c0a9d342 docker: if container was launched with a tty start bash otherwise loop forever to keep the container going 2014-05-01 22:16:14 -04:00
Joshua Tauberer
7999eae857 Merge pull request #47 from randallsquared/master
don't reject mail to domains that only have aliases and not users
2014-05-01 18:21:19 -04:00
Randall Randall
8fcb10cc0a don't reject alias-only domains 2014-05-01 22:14:04 +00:00
Joshua Tauberer
74ec3d9696 ssl: there is no need to use -des3 in key generation if we're just going to remove the passphrase
thanks @konklone for discussion
2014-05-01 16:47:24 -04:00
Joshua Tauberer
532c9aa7fd move the Dockerfile to the root to allow the working directory of the repo to be pushed inside the image (rather than inside the container getting a fresh mailinabox from github) so changes in the working copy can be tested in Docker quickly / without pushing to github 2014-05-01 16:39:12 -04:00
Joshua Tauberer
19f5f144ae installing roundcube from debian would cause update from ubuntu later, now install from Ubuntu debs
We were installing .deb's from Debian. The next apt-get upgrade would cause roundcube to be upgraded.
Maybe that also triggered the installation of apache. Now install roundcube from Ubuntu. So long as
Ubuntu doesn't post an update to roundcube, at least it won't trigger an upgrade on the next
apt-get upgrade. This should also mean we don't need to purge the installation of apache2.

Also try using apt-mark hold to prevent roundcube from being updated, in case that will trigger
dependencies.
2014-05-01 20:34:41 +00:00
Joshua Tauberer
e413680f62 add a bash function ufw_allow which calls 'ufw allow' but hides its totally useless output 2014-05-01 19:35:18 +00:00
Joshua Tauberer
66269f910f make a bash function to use everywhere we apt-get-install (DEBIAN_FRONTEND=noninteractive apt-get -qq -y )
ensures the output is quiet
2014-05-01 19:24:16 +00:00
Joshua Tauberer
80bf60715e Merge pull request #45 from randallsquared/master
enable roundcube's password-change plugin
2014-04-30 15:11:23 -04:00
Randall Randall
abe277e393 Use STORAGE_ROOT in DSN 2014-04-30 14:52:23 -04:00
Randall Randall
410a91504e Use STORAGE_ROOT where appropriate 2014-04-30 14:50:11 -04:00
Randall Randall
43461fc14b enable and configure password-change plugin for roundcube 2014-04-30 13:07:15 -04:00
Joshua Tauberer
52fe6922ee add warnings about using a fresh machine because I wont support installing this on an existing machine 2014-04-26 12:08:17 +00:00
Joshua Tauberer
ef40f9247d Merge pull request #40 from jmedding/master
List a DKIM and SPF testing tool in the documentation.
2014-04-26 07:50:31 -04:00
Joshua Tauberer
296d2941db 'service nsd rebuild' is no longer a thing
Seems like it was removed in nsd4 (since Ubuntu 14.04). It now
silently does nothing.

Fixes #41.
2014-04-26 11:47:31 +00:00
Jonathan Medding
cfa3e9594e Added additional DNS checker
http://pingability.com/zoneinfo.jsp for checking DNS and MX servers.
2014-04-26 07:28:34 +02:00
Jonathan Medding
d186874ced Added DKIM and SPF testing tool.
Added DKIM and SPF testing tool to 'Checking that it worked' section.
2014-04-26 06:34:24 +02:00
Joshua Tauberer
f713d9232f initial Dockerfile 2014-04-25 13:04:32 -04:00
Joshua Tauberer
7c5c9774ea Merge pull request #34 from daniellawrence/handle_no_sshd
move the ssh PasswordAuthentication check to after installing ssh
2014-04-25 09:23:19 -04:00
Joshua Tauberer
58881f72db instead of installing roundcube from Ubuntu (before replacing it), just install the dependencies we need 2014-04-25 12:40:32 +00:00
Joshua Tauberer
bb62c433fc minor fixes to comments, argument order (consistency?), the github URL changed long ago 2014-04-25 12:25:07 +00:00
Joshua Tauberer
9bab925123 use purge to get rid of apache 2014-04-25 11:41:50 +00:00
Joshua Tauberer
beae591a0e messed up markdown in the README, in 263fdb15f9 2014-04-24 17:15:42 +00:00
Joshua Tauberer
a510e08f9e enable ufw firewall again
I had previously awkwardly disabled it because on my VPS the necessary kernel
module wasn't available. I meant to make it an option, but instead I took
out the apt-get install. Now it works for me so I'm putting everything back.
2014-04-24 17:09:34 +00:00
Joshua Tauberer
263fdb15f9 refine the goals in the README 2014-04-24 10:59:02 -04:00
Daniel Lawrence
63223f6b51 Install openssh-server to ensure that the end result is consistent across all Mail-in-a-Boxes. 2014-04-25 00:31:37 +10:00
Joshua Tauberer
07b43c2bba set dovecot postmaster_address setting, fixes #31 2014-04-24 11:58:53 +00:00
Joshua Tauberer
ac13f7ffca Merge pull request #29 from xLegoz/master
Force the scripts to run in bash
2014-04-23 19:02:09 -04:00
Joey Pereira
7752defaa9 force scripts into bash, only supported shell 2014-04-23 18:54:05 -04:00
Joshua Tauberer
dc996278af nsd doesn't install without creating the nsd user first - merge branch from randallsquared-master, fixes #25 2014-04-23 18:40:43 -04:00
Joshua Tauberer
1c02803b50 tweak @randallsquared's workaround for the nsd package's brokenness 2014-04-23 18:40:33 -04:00
Joshua Tauberer
0be47c414d in the DNS test, use dnspython3 rather than dig 2014-04-23 18:27:50 -04:00
Joshua Tauberer
1b4dd98270 test that the SMTP server's EHLO name matches its reverse DNS name 2014-04-23 18:02:30 -04:00
Randall Randall
c7e1e29ddf Add conditional to avoid errors if nsd exists 2014-04-23 17:53:59 -04:00
Joshua Tauberer
22ad668699 rename test modules to not conflict with global package names (e.g. dns) 2014-04-23 17:43:38 -04:00
Joshua Tauberer
ccbbc930e2 in the mail test script, forgot to remove the dkim import 2014-04-23 17:32:41 -04:00
root
7146a64f95 Merge branch 'master' of https://github.com/JoshData/mailinabox 2014-04-23 15:56:04 -04:00
Joshua Tauberer
6e4670bbd0 adding CONTRIBUTING.md, see #23 2014-04-23 15:52:49 -04:00
Joshua Tauberer
0fb7d02e81 add CC0 1.0 Universal in LICENSE
fixes #23
2014-04-23 15:49:23 -04:00