Commit Graph

56 Commits

Author SHA1 Message Date
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 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
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 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
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
Joey Pereira 7752defaa9 force scripts into bash, only supported shell 2014-04-23 18:54:05 -04:00
Joshua Tauberer 1c02803b50 tweak @randallsquared's workaround for the nsd package's brokenness 2014-04-23 18:40:33 -04:00
Randall Randall c7e1e29ddf Add conditional to avoid errors if nsd exists 2014-04-23 17:53:59 -04:00
root 7146a64f95 Merge branch 'master' of https://github.com/JoshData/mailinabox 2014-04-23 15:56:04 -04:00
Randall Randall 4e6037c0e1 fix nsd package deficiency 2014-04-23 15:41:25 -04:00
Keats 36ccbffddd Fix install on Ubuntu 14.04 2014-04-23 19:58:13 +01:00
Joshua Tauberer fe3485e13a spamassassin: enable pyzor
Not sure if I've tested this. Also because of graylisting there's not much of a need
to do sophisticated spam filtering, at least based on the email I get.
2014-04-23 12:48:04 -04:00
Joshua Tauberer 6fd768d6ee update to @konklone's latest nginx SSL configuration recommendations 2014-04-17 20:27:52 -04:00
Joshua Tauberer 304bf3d360 update for Ubuntu 14.04 2014-04-17 20:17:24 -04:00
Joshua Tauberer 9dc665e7cd remove apache before installing nginx --- it's not needed and will start complaining about the port being in use, or it might interfere with nginx 2014-04-17 18:01:14 -04:00
Joshua Tauberer d5fe5bd2a2 php-fcgid should have been configured in web.sh not webmail.sh
When I re-did this, I left in an old reference to the php-fcgid
script that never made it into the repo. Deleting that and moving
the php-fcgid configuration on top of it.

fixes #9
see 2ebd9706ec
2014-03-17 01:46:47 +00:00
Joshua Tauberer 511453adf7 update how we get the missing roundcube SQL directory: not sure previous URL was correct, should also match the deb version 2014-03-17 01:05:02 +00:00
Joshua Tauberer ebf19c197d bump roundcube version since the Debian ftp site isn't providing the previous version anymore 2014-03-17 00:52:20 +00:00
Joshua Tauberer 97083a1e0c to run webmail.sh directly, it needs to source the global variables 2014-03-17 00:46:59 +00:00
Joshua Tauberer 84e8ac25b8 block users who aren't running the distro that the docs specifically require 2014-03-17 00:42:00 +00:00
Joshua Tauberer 2ebd9706ec add php-fastcgi init script to start the FastCGI process needed to run Roundcube (and any other PHP scripts, really) 2014-03-17 00:03:19 +00:00
Joshua Tauberer 0564136bd7 advertise who we are in the SMTP 220 banner 2014-03-16 22:38:42 +00:00
Joshua Tauberer d4465d7ea3 paste my KNC entry into the README, move docs to a new file 2014-03-16 17:38:05 -04:00
Joshua Tauberer f27ef21f53 install Python 3, fixes #4 2014-03-16 16:50:24 -04:00
Joshua Tauberer 5b4af391d5 set the postfix helo string to the machine's hostname, overriding the Debian default 'localhost', since some MTAs require a hostname there 2014-01-27 15:46:32 +00:00
Joshua Tauberer 08e7c315c9 fix a -z test, quotes needed 2014-01-27 15:46:32 +00:00
Joshua Tauberer 9cd5fc34a9 refactoring dns_update: use global vars stored in /etc/mailinabox.conf 2013-09-08 11:47:27 +00:00
Joshua Tauberer 548cc8a0f6 generate a self-signed certificate for PUBLIC_HOSTNAME and change DNS MX records to PRIMARY_HOSTNAME so it matches 2013-09-08 11:27:25 +00:00
Joshua Tauberer 0403d27712 set the DNS SOA RNAME domain contact email to hostmaster@PRIMARY_HOSTNAME and add an alias when creating the first mail user 2013-09-08 10:16:09 +00:00
Joshua Tauberer b4e7d6ba5e create a basic hello world page on http/https 2013-09-08 09:55:58 +00:00
Joshua Tauberer b770c5370b web and roundcube webmail 2013-09-07 16:53:25 -04:00
Joshua Tauberer 1cc81e480d increase dovecot mx connections per mailbox 2013-09-04 06:53:01 -04:00
Joshua Tauberer 7f63c199a6 move the sieve script configuration to tools/mail.py 2013-09-01 10:40:12 -04:00
Joshua Tauberer 0c199b2e32 improve comments throughout the scripts 2013-09-01 10:40:12 -04:00
Joshua Tauberer 5b82bbb5b3 preliminary script for nginx 2013-09-01 14:24:49 +00:00
Joshua Tauberer 5d26c490af enable postgrey and zen.spamhaus.org RBL blacklisting 2013-09-01 13:12:05 +00:00
Joshua Tauberer cff3d561c2 dovecot antispam was not setup right 2013-08-31 19:46:42 -04:00
Joshua Tauberer 4a06e93b1e put all DKIM on the primary hostname since that's the only one guaranteed to be actually hosted (DNS) here; give new users a Spam folder too 2013-08-31 18:52:13 +00:00
Joshua Tauberer fe02d58b77 when updating DNS, use /etc/mailinabox.conf 2013-08-31 18:18:19 +00:00
Joshua Tauberer f37a508b74 forgot to define ns1, ns2 hostnames 2013-08-31 13:40:25 -04:00
Joshua Tauberer a1260b75fb various fixes; rewrote test scripts 2013-08-31 10:50:27 -04:00
Joshua Tauberer 981d162f19 write configuration info to /etc/mailinabox.conf; other cleanup 2013-08-31 14:46:10 +00:00
Joshua Tauberer 2d8ee99393 stop if the machine permits password login; remove testing code 2013-08-31 13:05:58 +00:00
Joshua Tauberer d307633abb postfix needs to be told to listen on public network interfaces 2013-08-26 21:22:48 +00:00